-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 1.78 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
{
"name": "template-react",
"private": true,
"scripts": {
"analyze": "ANALYZE=1 max build",
"build": "max build",
"build:pre": "cross-env UMI_ENV=pre max build",
"build:production": "cross-env UMI_ENV=production max build",
"build:release": "cross-env UMI_ENV=release max build",
"build:test": "cross-env UMI_ENV=test max build",
"lint": "tsc --noemit && eslint 'src/**/*.{js,jsx,tsx,ts}' --quiet",
"lint:fix": "tsc --noemit && eslint 'src/**/*.{js,jsx,tsx,ts}' --fix --quiet",
"prepare": "husky install",
"prettier": "prettier --write '**/*.{less,css,md,json}'",
"start": "max dev",
"test": "umi-test",
"test:coverage": "umi-test --coverage"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"npm run lint --",
"git add ."
],
"*.{less,css,md,json}": [
"npm run prettier --",
"git add ."
]
},
"dependencies": {
"@pangu/icons-react": "^1.2.0",
"@pangu/materials": "^1.8.2",
"@pangu/utils": "^2.1.0",
"ahooks": "^3.7.8",
"antd": "^5.12.1",
"classnames": "^2.3.2",
"crypto-js": "^4.1.1",
"dayjs": "^1.11.10",
"js-cookie": "^3.0.5",
"lodash": "^4.17.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"umi-request": "^1.4.0"
},
"devDependencies": {
"@pangu/end-type-to-front-type": "^1.0.0",
"@pangu/lint": "^2.0.0",
"@types/classnames": "^2.3.1",
"@types/crypto-js": "^4.1.1",
"@types/js-cookie": "^3.0.5",
"@types/lodash": "^4.14.200",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@umijs/max": "^4.0.87",
"babel-plugin-transform-remove-console": "^6.9.4",
"cross-env": "^7.0.3",
"eslint": "^8.51.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.0",
"prettier": "^3.0.3",
"typescript": "^5.2.2"
}
}