forked from freeCodeCamp/Developer_Quiz_Site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.12 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
{
"name": "rpg_quiz_site",
"homepage": "https://developerquiz.org",
"description": "This is a free quiz site made for developers by freeCodeCamp",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"bootstrap": "^5.1.3",
"gh-pages": "^3.2.3",
"react": "^17.0.2",
"react-bootstrap": "^2.0.3",
"react-confetti": "^6.1.0",
"react-dom": "^17.0.2",
"react-router-dom": "^6.3.0",
"react-scripts": "5.0.0",
"web-vitals": "^2.1.2"
},
"scripts": {
"predeploy": "npm run build && cp CNAME build/CNAME",
"deploy": "gh-pages -d build",
"start": "react-scripts start",
"start:local-docker": "docker container run --rm -it -p 3000:3000 developer-quiz-site",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint .",
"pretty-quick": "pretty-quick",
"fix-style": "npm run lint -- --fix",
"lint-style": "prettier --list-different .",
"format": "prettier --write \"**/*.{ts,tsx,json}\"",
"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": {
"@types/jest": "^27.5.1",
"@types/node": "^17.0.35",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.4",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-react": "^7.30.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.6.2",
"pretty-quick": "^3.1.3",
"typescript": "^4.7.2"
},
"lint-staged": {
"*.ts": "eslint",
"*.tsx": "eslint"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && pretty-quick --staged"
}
}
}