-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 2.27 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
{
"name": "countries-quiz",
"version": "0.1.0",
"private": true,
"homepage": "https://mikesaelim.github.io/countries-quiz",
"dependencies": {
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.4.0",
"@types/jest": "^29.2.5",
"@types/leaflet": "^1.9.0",
"@types/node": "^18.11.18",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"bootstrap": "^5.1.3",
"easytimer-react-hook": "^2.0.0",
"easytimer.js": "^4.5.0",
"leaflet": "^1.9.0",
"react": "^18.1.0",
"react-bootstrap": "^2.4.0",
"react-dom": "^18.1.0",
"react-leaflet": "^4.1.0",
"react-scripts": "5.0.1",
"typescript": "^4.9.4",
"web-vitals": "^2.1.4"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2"
},
"scripts": {
"start": "react-scripts start",
"build": "BUILD_PATH=docs react-scripts build",
"test": "react-scripts test",
"lint": "eslint --ext js,ts,tsx src",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"rules": {
"arrow-spacing": "error",
"brace-style": "error",
"comma-spacing": "error",
"comma-style": "error",
"eol-last": "error",
"func-call-spacing": "error",
"indent": [
"error",
2
],
"jsx-quotes": "error",
"key-spacing": "error",
"keyword-spacing": "error",
"linebreak-style": "error",
"no-multi-spaces": "error",
"no-multiple-empty-lines": "error",
"no-tabs": "error",
"no-trailing-spaces": "error",
"nonblock-statement-body-position": "error",
"quotes": "error",
"semi": "error",
"semi-spacing": "error",
"semi-style": "error",
"space-before-blocks": "error",
"space-infix-ops": "error",
"space-unary-ops": "error"
}
},
"jest": {
"transformIgnorePatterns": [
"node_modules/(?!react-leaflet)/"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}