-
-
Notifications
You must be signed in to change notification settings - Fork 360
/
package.json
82 lines (82 loc) · 2.15 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
{
"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,
"packageManager": "[email protected]",
"dependencies": {
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.0.0",
"react": "^18.2.0",
"react-confetti": "^6.1.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.24.0",
"web-vitals": "^4.0.0"
},
"type": "module",
"scripts": {
"start": "vite",
"preview": "vite preview",
"start:local-docker": "docker container run --rm -it -p 3000:3000 developer-quiz-site",
"build": "vite build",
"test": "vitest",
"e2e:ui": "playwright test --ui",
"e2e:ci": "playwright test",
"lint": "eslint .",
"pretty-quick": "pretty-quick",
"fix-style": "pnpm 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": {
"@playwright/test": "^1.45.3",
"@types/node": "^20.0.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.0.4",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.16.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-react": "^7.34.3",
"happy-dom": "^14.12.3",
"husky": "^9.0.0",
"lint-staged": "^15.0.0",
"prettier": "^3.0.0",
"pretty-quick": "^4.0.0",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vite-tsconfig-paths": "^4.2.2",
"vitest": "^2.0.0"
},
"lint-staged": {
"*.ts": "eslint",
"*.tsx": "eslint"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && pretty-quick --staged"
}
}
}