-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
108 lines (108 loc) · 3.08 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "pizza-shop",
"version": "0.1.0",
"private": true,
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"analyze": "source-map-explorer 'build/static/js/*.js'",
"check": "npm run eslint:check && npm run prettier:check && npm run stylelint:check",
"prepare": "husky install",
"precommit": "lint-staged",
"prettier:check": "prettier --check \"src/**/*.{ts,tsx}\"",
"prettier:fix": "prettier --write \"src/**/*.{ts,tsx}\"",
"prettier:check:json": "prettier --check \"*.json\"",
"prettier:fix:json": "prettier --write \"*.json\"",
"stylelint:check": "stylelint \"src/**/*.scss\" --custom-syntax postcss-scss",
"stylelint:fix": "stylelint --fix \"src/**/*.scss\" --custom-syntax postcss-scss",
"eslint:check": "eslint ./src --ext \"src/**/*.{js,jsx,ts,tsx}\"",
"eslint:fix": "eslint ./src --fix \"src/**/*.{js,jsx,ts,tsx}\""
},
"dependencies": {
"@reduxjs/toolkit": "^1.8.2",
"react": "^18.1.0",
"react-content-loader": "^6.2.0",
"react-dom": "^18.1.0",
"react-hot-toast": "^2.2.0",
"react-paginate": "^8.1.3",
"react-redux": "^8.0.2",
"react-router-dom": "^6.3.0",
"react-scripts": "5.0.1",
"sass": "^1.52.1",
"source-map-explorer": "^2.5.2",
"stream": "^0.0.2",
"web-vitals": "^2.1.4"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.15.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.1",
"@types/lodash.debounce": "^4.0.7",
"@types/node": "17.0.35",
"@types/react": "18.0.9",
"@types/react-dom": "18.0.5",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"eslint": "^8.16.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-no-floating-promise": "^1.0.2",
"eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^7.0.4",
"lint-staged": "12.4.2",
"postcss": "^8.4.14",
"postcss-scss": "^4.0.4",
"prettier": "2.6.2",
"stylelint": "14.8.4",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^24.0.0",
"typescript": "^4.7.2"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"settings": {
"import/resolver": {
"node": {
"paths": [
"src"
]
}
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint",
"prettier --check"
],
"*src/*.json": [
"prettier --check"
],
"*.css": [
"stylelint"
],
"*.html": [
"prettier --check"
]
}
}