generated from KATITB22/Template-FE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.68 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
{
"name": "template-fe",
"private": true,
"version": "0.0.0",
"scripts": {
"preinstall": "npx only-allow yarn",
"dev": "vite",
"build": "yarn lint && tsc && vite build",
"preview": "vite preview",
"prepare": "husky install",
"lint": "yarn eslint ./src/**.{ts,js,tsx,jsx} --fix && yarn prettier --write .",
"lint:auto": "yarn eslint ./src/**.{ts,js,tsx,jsx} --fix --no-color && yarn prettier --write --no-color ."
},
"dependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.3.0"
},
"devDependencies": {
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.27.1",
"@typescript-eslint/parser": "^5.27.1",
"@vitejs/plugin-react": "^1.3.0",
"autoprefixer": "^10.4.7",
"eslint": "^7.32.0 || ^8.2.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"git-format-staged": "^3.0.0",
"husky": "^8.0.0",
"lint-staged": "^13.0.1",
"postcss": "^8.4.14",
"prettier": "2.6.2",
"tailwindcss": "^3.1.2",
"typescript": "^4.6.3",
"vite": "^2.9.9"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"yarn lint:auto",
"git add ."
]
},
"husky": {
"hooks": {
"pre-commit": "yarn lint:auto",
"pre-push": "yarn lint:auto"
}
}
}