-
Notifications
You must be signed in to change notification settings - Fork 53
/
package.json
68 lines (68 loc) · 2.03 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
{
"name": "vite-react-template-typescript",
"version": "1.0.0",
"scripts": {
"dev": "vite --force --host",
"build": "vite build",
"preview": "vite preview",
"lint-staged": "lint-staged",
"prepare": "husky install",
"compile": "lingui compile",
"extract": "lingui extract",
"lingui": "lingui extract --clean && lingui compile",
"lint": "npm run lint:js && npm run lint:style && npm run lint:prettier",
"lint:js": "eslint --cache --ext .ts,.tsx --format=pretty */src/ --fix",
"lint:prettier": "prettier --check \"**/*\" --end-of-line auto --write --plugin-search-dir",
"lint:style": "stylelint --fix \"**/*.less\""
},
"lint-staged": {
"**/*.less": "stylelint --fix",
"**/*.{js,jsx,ts,tsx}": "eslint --fix --ext .js,.jsx,.ts,.tsx",
"**/*.{js,jsx,tsx,ts,less,md,json}": [
"prettier --write"
]
},
"dependencies": {
"@ant-design/icons": "^5.2.6",
"@lingui/core": "^4.5.0",
"@lingui/macro": "^4.5.0",
"@lingui/react": "^4.5.0",
"ahooks": "^3.7.8",
"antd": "^4.24.14",
"classnames": "^2.3.2",
"dayjs": "^1.11.10",
"heo": "^2.0.1",
"immer": "^9.0.21",
"immot": "^0.3.4",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"query-string": "^8.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.17.0",
"react-sortable-hoc": "^2.0.0",
"rediaox": "^1.0.1",
"umi-request": "^1.4.0"
},
"devDependencies": {
"@lingui/cli": "^4.5.0",
"@lingui/conf": "^4.5.0",
"@lingui/format-json": "^4.5.0",
"@lingui/swc-plugin": "^4.0.4",
"@lingui/vite-plugin": "^4.5.0",
"@micro-web/standard": "^1.0.1",
"@types/lodash": "^4.14.172",
"@types/lodash-es": "^4.17.7",
"@types/node": "^18.18.5",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@vitejs/plugin-react-swc": "^3.4.0",
"cross-env": "^7.0.3",
"husky": "^8.0.1",
"json-server": "^0.17.4",
"less": "^4.1.3",
"lint-staged": "^11.1.1",
"typescript": "^4.9.5",
"vite": "^4.4.11"
}
}