forked from willmcpo/body-scroll-lock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 1.85 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
{
"name": "body-scroll-lock",
"version": "2.3.3",
"description": "Enables body scroll locking (for iOS Mobile and Tablet, Android, desktop Safari/Chrome/Firefox) without breaking scrolling of a target element (eg. modal/lightbox/flyouts/nav-menus)",
"main": "lib/bodyScrollLock.js",
"author": "Will Po",
"repository": "https://github.com/willmcpo/body-scroll-lock.git",
"license": "MIT",
"keywords": [
"body scroll",
"body scroll lock",
"react scroll lock",
"react scroll",
"scroll",
"lock",
"freeze",
"toggle",
"disable",
"overflow",
"modal",
"lightbox",
"react",
"vanilla-js",
"angular",
"ios",
"mobile",
"desktop",
"tablet"
],
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.1",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-stage-0": "^6.24.1",
"eslint": "^4.15.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-config-babel": "^7.0.2",
"eslint-plugin-flowtype": "^2.41.0",
"eslint-plugin-import": "^2.8.0",
"flow-bin": "^0.63.1",
"husky": "^0.14.3",
"jest": "^22.1.2",
"lint-staged": "^6.0.1",
"prettier": "^1.10.2",
"rimraf": "^2.6.2"
},
"scripts": {
"clean": "rimraf lib/",
"release": "npm version",
"postrelease": "yarn publish && git push --follow-tags",
"build": "babel src/ -d lib/",
"lint": "eslint ./src",
"prerelease": "yarn flow && yarn lint && yarn run clean && yarn build",
"flow": "flow",
"prettierAll": "prettier --write --single-quote --trailing-comma es5 --print-width 120 'src/**/*.js'",
"precommit": "lint-staged"
},
"lint-staged": {
"*.js": [
"prettier --write --single-quote --trailing-comma es5 --print-width 120",
"git add"
]
}
}