-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 3.32 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 3.32 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "poker-trainer",
"version": "0.3.0",
"private": true,
"homepage": "https://brightlikethelight.github.io/PokerTrainer",
"dependencies": {
"react": "^19.2.3",
"react-dom": "^19.2.3",
"react-router-dom": "^6.30.3",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "vite",
"build": "vite build",
"preview": "vite preview",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:ci": "vitest run --coverage --bail=1",
"test:integration": "vitest run --dir src/tests/integration --bail=1",
"test:e2e": "jest --config=jest-e2e.config.js --detectOpenHandles",
"test:e2e:serve": "start-server-and-test start http://localhost:3000 test:e2e",
"test:e2e:ci": "jest --config=jest-e2e.config.js --detectOpenHandles --forceExit",
"test:e2e:performance": "echo '{\"results\":[{\"name\":\"placeholder\",\"duration\":0,\"memory\":0}]}' > performance-results.json && echo 'Performance E2E tests not yet implemented'",
"test:performance": "npm run build && npm run test:e2e:performance -- --json --outputFile=performance-results.json || echo '{}' > performance-results.json",
"test:all": "npm run test:coverage && npm run test:integration && npm run test:e2e:ci",
"lint": "eslint src --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint src --ext .js,.jsx,.ts,.tsx --fix",
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,md}\"",
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"format:check": "prettier --check \"src/**/*.{js,jsx,ts,tsx,json,css,md}\"",
"typecheck": "tsc --noEmit",
"validate": "npm run lint && npm run format:check && npm run typecheck && npm run test:coverage",
"precommit": "npm run validate",
"security:check": "npm audit --audit-level=moderate",
"security:fix": "npm audit fix",
"analyze": "npm run build && npx serve -s build",
"performance:test": "npm run build && npx lighthouse http://localhost:3000 --output=json --output-path=./performance-report.json",
"prepare": "husky"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,css,md}": [
"prettier --write"
]
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@size-limit/preset-app": "^11.1.2",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^13.5.0",
"@types/node": "^24.10.9",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vitejs/plugin-react": "^4.7.0",
"@vitest/coverage-v8": "^4.1.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"gh-pages": "^6.3.0",
"husky": "^9.1.7",
"jest-puppeteer": "^11.0.0",
"jsdom": "^29.0.0",
"lint-staged": "^16.1.2",
"prettier": "^3.6.2",
"puppeteer": "^24.11.2",
"size-limit": "^11.1.2",
"start-server-and-test": "^2.1.3",
"typescript": "^4.9.5",
"vite": "^6.4.1",
"vitest": "^4.1.0"
}
}