generated from nc-minh/template-react-app-ts
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
117 lines (117 loc) · 3.05 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
109
110
111
112
113
114
115
116
117
{
"name": "template-react-app-ts",
"version": "0.1.0",
"private": true,
"dependencies": {
"@emotion/react": "^11.9.3",
"@emotion/styled": "^11.9.3",
"@mui/material": "^5.9.2",
"@reduxjs/toolkit": "^1.8.3",
"@tanstack/react-query": "^4.0.10",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^13.5.0",
"@types/node": "^16.11.45",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"axios": "^0.27.2",
"classnames": "^2.3.1",
"formik": "^2.2.9",
"husky": "^8.0.1",
"i18next": "^21.8.14",
"i18next-browser-languagedetector": "^6.1.4",
"normalize.css": "^8.0.1",
"react": "^18.2.0",
"react-app-polyfill": "^3.0.0",
"react-device-detect": "^2.2.2",
"react-dom": "^18.2.0",
"react-helmet-async": "^1.3.0",
"react-i18next": "^11.18.1",
"react-infinite-scroll-component": "^6.1.0",
"react-query": "^4.0.0",
"react-redux": "^8.0.2",
"react-router-dom": "^6.3.0",
"react-scripts": "^5.0.1",
"sanitize.css": "^13.0.0",
"web-vitals": "^2.1.4",
"yup": "^0.32.11"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"eject": "react-scripts eject",
"start:prod": "npm run build && serve -s build",
"checkTs": "tsc --noEmit",
"eslint": "eslint --ext js,ts,tsx",
"lint": "yarn run eslint src",
"lint:fix": "yarn run eslint --fix src",
"lint:css": "stylelint src/**/*.css",
"prettify": "prettier --write .",
"prepare": "husky install"
},
"engines": {
"node": ">=16.x"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"npm run eslint --fix"
],
"*.{md,json}": [
"prettier --write"
]
},
"devDependencies": {
"@types/react-router-dom": "^5.3.3",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react-hooks": "^4.6.0",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"sass": "^1.54.0",
"stylelint": "^14.9.1",
"stylelint-config-recommended": "^8.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.10.0",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*/*.d.ts",
"!src/**/*/Loadable.{js,jsx,ts,tsx}",
"!src/**/*/messages.ts",
"!src/**/*/types.ts",
"!src/index.tsx"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
}
},
"postinstall": "husky install"
}