Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.07 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "react-scrolling-lock",
"version": "1.3.0",
"description": "Higher order component for preventing page scrolling outside of a given component",
"repository": {
"url": "https://github.com/viralganatra/react-scrolling-lock.git",
"type": "git"
},
"author": "Viral Ganatra <viral@viralganatra.com>",
"license": "MIT",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"scripts": {
"build": "npm run clean && npm run compile",
"compile": "NODE_ENV=production rollup --config ./config/rollup.js",
"clean": "rimraf dist",
"lint": "eslint src",
"test": "NODE_ENV=test jest",
"test:watch": "NODE_ENV=test jest --watch",
"test:ci": "npm run lint && npm run test",
"prepublish": "npm run build"
},
"files": [
"dist"
],
"keywords": [
"react",
"scroll",
"lock",
"react-component",
"hoc"
],
"dependencies": {
"babel-runtime": "^6.26.0",
"invariant": "^2.2.2"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.1",
"babel-jest": "^21.2.0",
"babel-plugin-transform-react-constant-elements": "^6.23.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"enzyme": "^3.1.0",
"enzyme-adapter-react-16": "^1.0.1",
"enzyme-to-json": "^3.1.0",
"eslint": "^4.8.0",
"eslint-config-airbnb": "^15.1.0",
"eslint-plugin-babel": "^4.1.2",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jest": "^21.2.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.4.0",
"jest": "^21.2.1",
"jest-cli": "^21.2.1",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-test-renderer": "^16.0.0",
"rimraf": "^2.6.2",
"rollup": "^0.50.0",
"rollup-plugin-babel": "^3.0.2"
},
"peerDependencies": {
"react": "^0.14 || ^15.0 || ^16.0"
},
"jest": {
"setupFiles": [
"./config/jest.js"
],
"snapshotSerializers": [
"<rootDir>/node_modules/enzyme-to-json/serializer"
]
}
}