-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
88 lines (88 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
83
84
85
86
87
88
{
"name": "disable-scroll",
"version": "0.6.0",
"description": "Prevent page scroll",
"author": "Gil Barbara <[email protected]>",
"repository": {
"type": "git",
"url": "git+https://github.com/gilbarbara/disable-scroll.git"
},
"bugs": {
"url": "https://github.com/gilbarbara/disable-scroll/issues"
},
"main": "lib/index.js",
"module": "esm/index.js",
"files": [
"esm",
"lib",
"src"
],
"types": "esm",
"sideEffects": true,
"license": "MIT",
"keywords": [
"scroll"
],
"dependencies": {},
"devDependencies": {
"@gilbarbara/tsconfig": "^0.1.0",
"@size-limit/preset-small-lib": "^4.9.1",
"@types/jest": "^26.0.16",
"@types/node": "^14.14.10",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"del-cli": "^3.0.1",
"eslint": "^7.14.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"jest": "^26.6.3",
"jest-extended": "^0.11.5",
"jest-watch-typeahead": "^0.6.1",
"prettier": "^2.2.1",
"repo-tools": "^0.2.0",
"size-limit": "^4.9.1",
"ts-jest": "^26.4.4",
"ts-node": "^9.1.0",
"typescript": "^4.1.2"
},
"scripts": {
"build": "npm run clean && npm run build:cjs && npm run build:esm",
"build:cjs": "tsc",
"build:esm": "tsc -m es6 --outDir esm",
"clean": "del lib/* && del esm/*",
"watch:cjs": "npm run build:cjs -- -w",
"watch:esm": "npm run build:esm -- -w",
"lint": "eslint --ext .ts src test",
"test": "jest --bail --coverage",
"test:watch": "jest --watchAll --verbose",
"validate": "npm run lint && npm test && npm run build && npm run size",
"size": "size-limit",
"prepublishOnly": "npm run validate"
},
"prettier": {
"jsxBracketSameLine": false,
"printWidth": 100,
"singleQuote": true,
"trailingComma": "all"
},
"size-limit": [
{
"path": "./esm/index.js",
"limit": "1 kB"
},
{
"path": "./lib/index.js",
"limit": "1 kB"
}
],
"husky": {
"hooks": {
"post-merge": "repo-tools install-packages",
"pre-commit": "repo-tools check-remote && npm run validate"
}
}
}