-
Notifications
You must be signed in to change notification settings - Fork 32
/
package.json
136 lines (136 loc) · 3.86 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "tua-body-scroll-lock",
"version": "1.5.3",
"packageManager": "pnpm@^8",
"description": "🔐Body scroll locking that just works with everything",
"main": "./dist/tua-bsl.umd.js",
"module": "./dist/tua-bsl.mjs",
"unpkg": "./dist/tua-bsl.umd.min.js",
"jsdelivr": "./dist/tua-bsl.umd.min.js",
"typings": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/tua-bsl.mjs",
"require": "./dist/tua-bsl.umd.js"
},
"./dist/*": "./dist/*"
},
"scripts": {
"cov": "open coverage/lcov-report/index.html",
"prepare": "is-ci || husky install",
"clean": "rimraf dist/*",
"type-check": "tsc --noEmit",
"lint": "eslint ./ --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"dev": "rollup -c -w",
"start": "npm run dev",
"play:v": "npm -C examples/vanilla run dev",
"play:vue": "npm -C examples/vue run dev",
"play:react": "npm -C examples/react run dev",
"test": "npm run type-check && cross-env NODE_ENV=test jest",
"test:unit:tdd": "cross-env NODE_ENV=test jest --watch",
"prebuild": "concurrently npm:lint npm:clean npm:test",
"build": "cross-env NODE_ENV=production rollup -c && cp index.html dist/index.html",
"prepublishOnly": "npm run build",
"push:current": "git config --local push.default current",
"pub": "npm run push:current && bumpp && npm publish",
"pub:n": "npm run push:current && bumpp && npm publish --tag next",
"deploy": "npm run build && gh-pages -d dist"
},
"files": [
"src/",
"dist/"
],
"eslintIgnore": [
"dist/"
],
"lint-staged": {
"*.{vue,js,jsx,cjs,mjs,ts,tsx,cts,mts}": [
"eslint --fix"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@babel/preset-typescript": "^7.23.3",
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-eslint": "^9.0.5",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-terser": "^0.4.4",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.25",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vue/eslint-config-typescript": "^11.0.3",
"all-contributors-cli": "^6.26.1",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.7.0",
"bumpp": "^9.4.0",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.22.0",
"gh-pages": "^5.0.0",
"husky": "^8.0.3",
"is-ci": "^3.0.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^13.3.0",
"rimraf": "^5.0.5",
"rollup": "^3.29.4",
"rollup-plugin-typescript2": "^0.35.0",
"typescript": "~5.0.4",
"vue-eslint-parser": "^9.4.2"
},
"repository": {
"type": "git",
"url": "https://github.com/tuax/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",
"pnpm": {
"overrides": {
"postcss@<8.4.31": ">=8.4.31",
"vite@>=4.4.0 <4.4.12": ">=4.4.12",
"@babel/traverse@<7.23.2": ">=7.23.2",
"vite@>=4.0.0 <=4.5.1": ">=4.5.2",
"semver@<5.7.2": ">=5.7.2",
"semver@>=6.0.0 <6.3.1": ">=6.3.1"
}
}
}