forked from zhixiangyao/vite-react-ts-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.61 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) · 2.61 KB
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
69
70
71
72
73
74
75
76
{
"name": "vite-react-ts-starter",
"version": "0.1.0",
"author": "zhixiangyao <blueskyzx@icloud.com> <https://github.com/zhixiangyao>",
"repository": {
"type": "git",
"url": "git+https://github.com/zhixiangyao/vite-react-ts-starter.git"
},
"homepage": "https://github.com/zhixiangyao/vite-react-ts-starter",
"scripts": {
"dev": "vite --host",
"build": "tsc && vite build",
"preview": "npm run build && vite preview",
"preview:dist": "vite preview",
"lint:all": "npm run lint:eslint && npm run lint:prettier && npm run lint:stylelint",
"lint:prettier": "prettier --cache --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,html,md}\"",
"lint:eslint": "eslint --fix \"{src,mock}/**/*.{ts,tsx}\" --cache --cache-location node_modules/.cache/eslint/",
"lint:stylelint": "stylelint --fix \"**/*.{less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
"lint-staged": "lint-staged",
"prepare": "husky install"
},
"lint-staged": {
"src/**/*.{js,json,tsx,css,less,scss,html,md}": [
"npx prettier --cache --write --loglevel warn"
],
"src/**/*.{js,ts,tsx}": [
"npx eslint --fix --cache --cache-location node_modules/.cache/eslint/"
],
"src/**/*.{jsx,tsx,less,postcss,css,scss}": [
"npx stylelint --fix --cache --cache-location node_modules/.cache/stylelint/"
]
},
"dependencies": {
"history": "^5.3.0",
"mobx": "^6.8.0",
"mobx-react-lite": "^3.4.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"react-router": "^6.8.2",
"react-router-dom": "^6.8.2",
"react-window": "^1.8.8",
"styled-components": "^5.3.6"
},
"devDependencies": {
"@types/node": "^18.14.2",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@types/react-router-dom": "^5.3.3",
"@types/react-window": "^1.8.5",
"@types/styled-components": "^5.1.26",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"@vitejs/plugin-react": "^3.1.0",
"dotenv": "^16.0.3",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
"prettier": "^2.8.4",
"stylelint": "^15.2.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-standard": "^30.0.1",
"stylelint-order": "^6.0.2",
"typescript": "^4.9.5",
"vite": "^4.1.4",
"vite-plugin-windicss": "^1.8.10",
"windicss": "^3.5.6"
},
"license": "MIT",
"engines": {
"node": ">=16.0.0"
}
}