-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.13 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
{
"name": "restaurant_app",
"version": "0.0.0",
"scripts": {
"start": "react-scripts start",
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"eslint-check": "eslint --print-config path/to/main.js | eslint-config-prettier-check"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"dependencies": {
"eslint-config-react-app": "^7.0.0",
"node-fetch": "^2.6.7",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-icons": "^4.3.1",
"react-scripts": "^5.0.0"
},
"devDependencies": {
"@vitejs/plugin-react": "^1.0.7",
"babel-eslint": "^10.1.0",
"eslint": "^8.7.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"prettier": "^2.5.1",
"pretty-quick": "^3.1.3",
"vite": "^2.7.2"
},
"husk": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx}": [
"eslint",
"pretty-quick -- staged",
"git add"
]
}
}