-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
86 lines (86 loc) · 2.4 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
{
"name": "vite-mokey",
"version": "0.1.5",
"license": "MIT",
"homepage": "https://yaolx.github.io/react-boat",
"engines": {
"yarn": ">=1.22.10",
"node": ">=14.18.0"
},
"scripts": {
"dev": "vite -m test",
"serve": "concurrently \"yarn json-server\" \"yarn vite preview\"",
"mock": "concurrently \"yarn json-server\" \"yarn start:mock\"",
"start:mock": "vite -m mock",
"start:test": "vite -m test",
"start:production": "vite -m production",
"build": "tsc && vite build",
"build:test": "tsc && vite build -m test",
"build:production": "tsc && vite build -m production",
"json-server": "json-server json_server_mock/db.json --watch --port 3001",
"lint": "tsc && eslint src/",
"test": "vitest",
"coverage": "vitest run --coverage"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint --cache --fix",
"git add"
],
"src/**/*.{js,jsx}": [
"eslint --cache --fix",
"git add"
]
},
"dependencies": {
"@ant-design/icons": "^4.7.0",
"@yaolx/utils": "^1.0.1",
"antd": "^4.24.2",
"axios": "^0.23.0",
"classnames": "^2.3.2",
"lodash": "^4.17.21",
"mobx": "^6.7.0",
"mobx-react": "^7.6.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.4.3",
"vite-plugin-monkey": "^2.9.2"
},
"devDependencies": {
"@rollup/plugin-eslint": "^8.0.5",
"@rollup/plugin-typescript": "^8.5.0",
"@types/lodash": "^4.14.189",
"@types/node": "^16.18.3",
"@types/react-dom": "^18.0.9",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"@vitejs/plugin-legacy": "^2.3.1",
"@vitejs/plugin-react": "^2.2.0",
"c8": "^7.12.0",
"concurrently": "^7.5.0",
"dotenv": "^10.0.0",
"eslint": "^7.32.0",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-react": "^7.31.10",
"husky": "^4.3.8",
"json-server": "^0.17.1",
"less": "^4.1.3",
"lint-staged": "^11.2.6",
"prettier": "^2.7.1",
"react-test-renderer": "^18.2.0",
"rollup": "^2.79.1",
"rollup-plugin-visualizer": "^5.8.3",
"terser": "^5.15.1",
"typescript": "^4.8.4",
"vite": "^3.2.3",
"vite-plugin-compression": "^0.3.6",
"vite-plugin-style-import": "^1.4.1",
"vitest": "^0.21.1"
}
}