-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·79 lines (79 loc) · 1.91 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
{
"name": "react-updates",
"version": "0.3.1",
"description": "React tool for debugging redundant re-renders",
"keywords": [
"react",
"update",
"render",
"debug"
],
"homepage": "https://github.com/multum/react-updates",
"bugs": "https://github.com/multum/react-updates/issues",
"repository": {
"type": "git",
"url": "https://github.com/multum/react-updates.git"
},
"license": "MIT",
"author": {
"name": "Andrew Vereshchak",
"email": "andrew.vereshchak@gmail.com"
},
"main": "dist/react-updates.cjs.js",
"module": "dist/react-updates.esm.js",
"types": "types/index.d.ts",
"files": [
"dist",
"types"
],
"scripts": {
"build": "yarn build:clean && yarn build:dist",
"build:clean": "rimraf dist",
"build:dist": "rollup -c",
"format": "prettier --write .",
"lint": "eslint --max-warnings=0 .",
"prepublishOnly": "yarn test && yarn build",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "yarn test && lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"eslint",
"git add"
],
"*.{ts,md,html,json}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.0.1",
"@testing-library/react": "^11.2.2",
"babel-jest": "^26.6.3",
"eslint": "^7.16.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-prettier": "^3.3.0",
"eslint-plugin-react": "^7.21.5",
"husky": "^4.3.6",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"rimraf": "^3.0.2",
"rollup": "^2.35.1",
"rollup-plugin-terser": "^7.0.2"
},
"peerDependencies": {
"react": "^16.8.0"
}
}