-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 1.54 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
{
"name": "vite-react-template",
"private": true,
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "npm run lint:script && npm run lint:style",
"lint:script": "eslint --fix --ext .js,.jsx,.ts,.tsx --quiet ./",
"lint:style": "stylelint --fix --custom-syntax postcss-less \"src/**/*.{css,less}\"",
"prepare": "husky install"
},
"dependencies": {
"path": "^0.12.7",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@types/node": "^18.11.8",
"@types/react": "^18.0.22",
"@types/react-dom": "^18.0.7",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.41.0",
"@vitejs/plugin-react": "^2.2.0",
"commitlint": "^17.1.2",
"eslint": "^8.26.0",
"eslint-plugin-react": "^7.31.10",
"husky": "^8.0.1",
"install": "^0.13.0",
"less": "^4.1.3",
"lint-staged": "^13.0.3",
"postcss": "^8.4.18",
"postcss-less": "^6.0.0",
"stylelint": "^14.14.0",
"stylelint-config-recess-order": "^3.0.0",
"stylelint-config-standard": "^29.0.0",
"stylelint-less": "^1.0.6",
"typescript": "^4.6.4",
"vite": "^3.2.0",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-stylelint": "^3.0.8"
},
"lint-staged": {
"**/*.{js,jsx,tsx,ts}": [
"npm run lint:script",
"git add ."
],
"**/*.{less}": [
"npm run lint:style",
"git add ."
]
}
}