forked from whylisa/vite-react-template-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 2.01 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",
"build": "tsc && vite build",
"serve": "vite preview",
"mock": "json-server mock/db.json --port 3008",
"lint": "npm run lint:js && npm run lint:style && npm run lint:prettier",
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
"lint:prettier": "prettier --check \"**/*\" --end-of-line auto",
"lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
"lint-staged": "lint-staged",
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx "
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.less": "stylelint --syntax less",
"*.{js,jsx,ts,tsx}": "npm run lint-staged:js",
"*.{js,jsx,tsx,ts,less,md,json}": [
"prettier --write"
]
},
"dependencies": {
"@types/node": "^16.4.10",
"ahooks": "^2.9.6",
"antd": "^4.16.1",
"classnames": "^2.3.1",
"heo": "^1.2.0",
"immer": "^8.0.1",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"moment": "^2.29.1",
"query-string": "^6.14.1",
"react": "^17.0.0",
"react-activation": "^0.9.4",
"react-dom": "^17.0.0",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-sortable-hoc": "^2.0.0",
"rediaox": "^1.0.1",
"umi-request": "^1.3.9"
},
"devDependencies": {
"@types/lodash": "^4.14.172",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-router-dom": "^5.1.8",
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
"@vitejs/plugin-react-refresh": "^1.3.1",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-plugin-react": "^7.24.0",
"json-server": "^0.16.3",
"less": "^4.1.1",
"lint-staged": "^11.1.1",
"prettier": "^2.3.2",
"react-intl": "^5.20.7",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^22.0.0",
"typescript": "^4.3.2",
"vite": "^2.4.4",
"yorkie": "^2.0.0"
}
}