-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.02 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.02 KB
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
{
"name": "whaler-ui",
"homepage": ".",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/color-hash": "^1.0.0",
"@types/d3": "^6.2.0",
"@types/d3-dsv": "^2.0.0",
"@types/d3-hierarchy": "^2.0.0",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^16.9.53",
"@types/react-dom": "^16.9.8",
"@types/react-virtualized-auto-sizer": "^1.0.0",
"axios": "^0.21.1",
"color-hash": "^1.0.3",
"d3": "^6.3.1",
"d3-dsv": "^2.0.0",
"d3-hierarchy": "^2.0.0",
"filesize": "^6.1.0",
"husky": "^4.3.6",
"lint-staged": "^10.5.3",
"onchange": "^7.1.0",
"prettier": "^2.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "4.0.1",
"react-virtualized-auto-sizer": "^1.0.3",
"react-vtree": "^3.0.0-beta.0",
"react-window": "^1.8.6",
"typescript": "^4.0.3",
"web-vitals": "^0.2.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint:fix": "yarn prettier --write .",
"lint": "yarn prettier --check .",
"clean": "rm -rf dist build",
"dist": "yarn clean && yarn build && mkdir -p dist/html && cp -R build/* dist/html && cd dist && tar -czvf html.tgz html",
"fix": "yarn lint:fix && tsc",
"prettier-watch": "onchange \"**/*\" -- prettier --write --ignore-unknown {{changed}}"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"yarn lint"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && tsc"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}