-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
47 lines (47 loc) · 1.16 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
{
"private": true,
"scripts": {
"start": "UMI_ENV=local umi dev",
"build": "UMI_ENV=prod umi build",
"build:dev": "UMI_ENV=local umi build",
"postinstall": "umi generate tmp",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"test": "umi-test",
"test:coverage": "umi-test --coverage"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"dependencies": {
"@ant-design/pro-layout": "^6.5.0",
"@reduxjs/toolkit": "^2.3.0",
"antd-mobile": "^5.28.0",
"antd-mobile-icons": "^0.3.0",
"axios": "^1.3.1",
"dayjs": "^1.11.7",
"react": "17.x",
"react-dom": "17.x",
"react-redux": "^8.0.5",
"redux": "^4.2.1",
"umi": "^3.5.36"
},
"devDependencies": {
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@umijs/preset-react": "^2.1.6",
"@umijs/test": "^3.5.36",
"lint-staged": "^10.0.7",
"postcss-px-to-viewport": "^1.1.1",
"prettier": "^2.2.0",
"typescript": "^4.1.2",
"yorkie": "^2.0.0"
}
}