-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
64 lines (64 loc) · 2.66 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
{
"name": "react-mobx-use-cases",
"version": "0.4.1",
"private": true,
"dependencies": {
"@babel/plugin-proposal-private-property-in-object": "7.21.11",
"@esfx/canceltoken": "1.0.0",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "13.4.0",
"@testing-library/user-event": "13.5.0",
"@tsconfig/strictest": "1.0.2",
"@types/jest": "27.5.2",
"@types/node": "16.18.16",
"@types/react": "18.0.28",
"@types/react-dom": "18.0.11",
"@types/testing-library__jest-dom": "5.14.9",
"dependency-cruiser": "12.11.1",
"eslint-formatter-codeframe": "7.32.1",
"factory-t": "0.3.1",
"husky": "8.0.3",
"mobx": "6.8.0",
"mobx-react-lite": "3.4.3",
"npm-check-updates": "16.14.4",
"prettier": "3.0.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-scripts": "5.0.1",
"test-http-client": "1.0.2",
"typescript": "4.9.5",
"web-vitals": "3.5.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "npm run prettier:check && npm run types:check && npm run eslint:check && npm run deps:check && npm run jest:check",
"eject": "react-scripts eject",
"jest:watch": "react-scripts test",
"jest:check": "react-scripts test --watchAll=false",
"types:check": "tsc --project ./tsconfig.json",
"eslint:check": "eslint --format=codeframe --max-warnings=0 --ext=js,jsx,ts,tsx ./src",
"deps:check": "depcruise --config ./.dependency-cruiser.config.js ./src",
"deps:graph": "depcruise --config ./.dependency-cruiser.config.js ./src --include-only '^src' --output-type dot | dot -T svg > ./dependency-graph.svg",
"deps:graph:overview:0": "depcruise --config ./.dependency-cruiser.config.js ./src/modules/orders --include-only '^src/modules/orders' --exclude '(.factory|test(s?)|spec(s?))' --collapse 'orders/[^/]+' --output-type dot | dot -T svg > ./dependency-graph-overview-0.svg",
"deps:graph:overview:1": "depcruise --config ./.dependency-cruiser.config.js ./src/modules/orders --include-only '^src/modules/orders' --exclude '(.factory|test(s?)|spec(s?))' --collapse 5 --output-type dot | dot -T svg > ./dependency-graph-overview-1.svg",
"prettier:check": "prettier --check ./",
"prettier:format": "prettier --write ./",
"packages:upgrade": "ncu --interactive --upgrade",
"git:hooks:pre-commit": "npm run prettier:check",
"git:hooks:pre-push": "npm run test",
"prepare": "husky install"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}