-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
66 lines (66 loc) · 1.96 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
{
"private": true,
"scripts": {
"start": "umi dev",
"build": "cross-env UMI_ENV=prod umi build",
"postinstall": "umi generate tmp",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"test": "umi-test",
"test:coverage": "umi-test --coverage",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.tsx\"",
"lint": "eslint --ext .js,.jsx,.ts,.tsx --fix src/",
"lint-style": "stylelint \"src/**/*.less\" --fix",
"tsc": "tsc --noEmit --skipLibCheck",
"prepare": "husky install"
},
"dependencies": {
"@ant-design/icons": "^4.7.0",
"@formily/reactive": "^2.0.9",
"@formily/reactive-react": "^2.0.9",
"antd": "^4.18.6",
"hox": "^1.1.6",
"immer": "^9.0.15",
"jotai": "^1.6.6",
"mitt": "^3.0.0",
"mobx": "^6.3.12",
"mobx-react-lite": "^3.2.3",
"react": "17.x",
"react-dom": "17.x",
"umi": "^3.5.20",
"use-immer": "0.5.2",
"use-sync-external-store": "^1.2.0"
},
"devDependencies": {
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/use-sync-external-store": "^0.0.3",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"@umijs/preset-react": "1.x",
"@umijs/test": "^3.5.20",
"cross-env": "^7.0.3",
"eslint": "^8.6.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"prettier": "^2.2.0",
"typescript": "^4.1.2",
"husky": "^7.0.4",
"lint-staged": "^12.0.0",
"stylelint": "^13.2.1",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^20.0.0",
"stylelint-prettier": "^1.1.2"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"*.less": "stylelint --fix"
}
}