forked from tuax/tua-body-scroll-lock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 3.3 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "tua-body-scroll-lock",
"version": "1.2.1",
"description": "🔐Body scroll locking that just works with everything",
"main": "dist/tua-bsl.umd.js",
"module": "dist/tua-bsl.esm.js",
"unpkg": "dist/tua-bsl.umd.js",
"jsdelivr": "dist/tua-bsl.umd.js",
"typings": "dist/index.d.ts",
"scripts": {
"cov": "open coverage/lcov-report/index.html",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"lint": "eslint --fix ./",
"start": "rollup -c -w",
"test": "npm run type-check && cross-env NODE_ENV=test jest",
"test:tdd": "cross-env NODE_ENV=test jest --watch",
"prebuild": "rimraf dist/* & npm test",
"build": "npm run lint && cross-env NODE_ENV=production rollup -c && cp index.html dist/index.html",
"next": "npm --no-git-tag-version version prerelease",
"next:m": "npm --no-git-tag-version version preminor",
"pub": "npm run build && npm publish",
"pub:n": "npm run build && npm publish --tag next",
"deploy": "npm run build && gh-pages -d dist"
},
"files": [
"src/",
"dist/"
],
"eslintIgnore": [
"dist/"
],
"husky": {
"hooks": {
"pre-push": "npm run build",
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"{src,test}/**/*.js": [
"eslint --fix",
"git add"
]
},
"devDependencies": {
"@babel/core": "^7.3.3",
"@babel/preset-env": "^7.3.1",
"@babel/preset-typescript": "^7.3.3",
"@commitlint/cli": "^7.5.2",
"@commitlint/config-conventional": "^7.5.0",
"@types/jest": "^24.0.17",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"all-contributors-cli": "^6.3.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.8.0",
"cross-env": "^5.2.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"gh-pages": "^2.0.1",
"husky": "^1.3.1",
"jest": "^24.8.0",
"jest-environment-jsdom-thirteen": "^1.0.1",
"lint-staged": "^8.1.4",
"rollup": "^1.2.2",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-eslint": "^5.0.0",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-terser": "^5.0.0",
"rollup-plugin-typescript2": "^0.22.1",
"typescript": "^3.5.3"
},
"repository": {
"type": "git",
"url": "https://github.com/tuateam/tua-body-scroll-lock.git"
},
"keywords": [
"body scroll",
"body scroll lock",
"react scroll lock",
"react scroll",
"scroll",
"lock",
"freeze",
"toggle",
"disable",
"overflow",
"modal",
"lightbox",
"react",
"vanilla-js",
"angular",
"vue",
"ios",
"mobile",
"desktop",
"tablet",
"bsl"
],
"author": "Evinma, BuptStEve",
"license": "MIT"
}