-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.73 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 1.73 KB
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
{
"name": "minesweeper-react-typescript",
"version": "1.1.2",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"@types/jest": "^26.0.24",
"@types/node": "^12.20.25",
"@types/react": "^17.0.21",
"@types/react-dom": "^17.0.9",
"classnames": "^2.3.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"typescript": "^4.4.3",
"web-vitals": "^1.1.2"
},
"scripts": {
"app:start": "react-scripts start",
"app:build": "react-scripts build",
"app:test": "react-scripts test",
"app:eject": "react-scripts eject",
"prettier:inspect": "prettier --check \"./**/*.{js,jsx,ts,tsx,json,css}\" --ignore-path .gitignore",
"prettier:fix": "prettier --write \"./**/*.{js,jsx,ts,tsx,json,css}\" --ignore-path .gitignore",
"eslint:inspect": "eslint \"./**/*.{js,jsx,ts,tsx}\" --ignore-path .gitignore .",
"eslint:fix": "npm run eslint:inspect -- --fix",
"linters:fix": "npm-run-all -p prettier:fix eslint:fix",
"prepare": "husky install"
},
"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"
]
},
"devDependencies": {
"husky": "^7.0.2",
"lint-staged": "^11.1.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.1"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,css}": "prettier --write --ignore-path .gitignore",
"*.{js,jsx,ts,tsx}": "eslint --ignore-path .gitignore --fix"
}
}