-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
82 lines (82 loc) · 2.29 KB
/
package.json
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
77
78
79
80
81
82
{
"name": "react-scrolllock",
"description": "Prevent scroll on the body when component is mounted.",
"version": "5.0.1",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
"scripts": {
"test": "jest",
"lint": "eslint .",
"start": "webpack-dev-server --mode development",
"build": "babel src -d dist --copy-files",
"prepublishOnly": "npm run build",
"build:examples": "webpack --mode production",
"deploy:examples": "gh-pages -d examples/dist",
"publish:examples": "npm run build:examples && npm run deploy:examples",
"precommit": "flow check && lint-staged"
},
"jest": {
"setupFiles": [
"<rootDir>/config/setupPolyfills.js"
],
"setupTestFrameworkScriptFile": "<rootDir>/config/setupFramework.js"
},
"repository": {
"type": "git",
"url": "https://github.com/jossmac/react-scrolllock.git"
},
"author": "Joss Mackison (https://github.com/jossmac)",
"bugs": {
"url": "https://github.com/jossmac/react-scrolllock/issues"
},
"homepage": "https://jossmac.github.io/react-scrolllock",
"keywords": [
"react",
"scroll",
"scroll-lock",
"disable-scroll"
],
"dependencies": {
"exenv": "^1.2.2"
},
"peerDependencies": {
"react": "^16.3.0"
},
"devDependencies": {
"@changesets/cli": "^2.6.1",
"@types/react": "^16.8.20",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^9.0.0",
"babel-loader": "^7.1.4",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"css-loader": "^0.28.11",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.0",
"eslint": "^5.4.0",
"eslint-plugin-react": "^7.11.1",
"flow-bin": "^0.61.0",
"gh-pages": "^1.1.0",
"glam": "^5.0.1",
"html-webpack-plugin": "^3.2.0",
"jest": "^21.2.1",
"jest-cli": "^21.2.1",
"prop-types": "^15.6.0",
"raf": "^3.4.0",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"react-prop-toggle": "^1.0.2",
"style-loader": "^0.21.0",
"webpack": "^4.5.0",
"webpack-cli": "^2.0.14",
"webpack-dev-server": "^3.1.3"
},
"lint-staged": {
"*.js": "eslint"
}
}