-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 5.54 KB
/
Copy pathpackage.json
File metadata and controls
119 lines (119 loc) · 5.54 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "hrm",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "cross-env NODE_ENV=development HOST=127.0.0.1 TS_NODE_TRANSPILE_ONLY=true node --env-file=.env.local --loader ts-node/esm server.ts | pnpm exec pino-pretty",
"seed": "ts-node --esm scripts/seed-dev-data.ts",
"build": "npm run build:server && next build",
"build:server": "pnpm exec tsc -p tsconfig.build.json && cp dist/server.js dist/server.mjs",
"analyze": "cross-env ANALYZE=true npm run build:server && cross-env ANALYZE=true next build --webpack",
"start": "pm2 start ecosystem.config.cjs --env production",
"pm2:logs": "pm2 logs hrm-server",
"pm2:stop": "pm2 stop hrm-server",
"pm2:restart": "pm2 restart hrm-server",
"pm2:delete": "pm2 delete hrm-server",
"lint": "eslint app/ components/ hooks/ lib/ services/ tests/ types/ utils/ server.ts",
"lint:fix": "eslint app/ components/ hooks/ lib/ services/ tests/ types/ utils/ server.ts --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "jest",
"test:unit": "jest",
"test:unit:watch": "jest --watch",
"test:unit:coverage": "jest --coverage",
"test:json": "pnpm exec cross-env TESTING=true bash start-production.sh > /tmp/hrm-server.log 2>&1 & echo $! > /tmp/hrm-server.pid && npx wait-on http://127.0.0.1:$npm_package_config_port/api/debug/ping --timeout 20000 && npx playwright test --reporter=json > playwright-report.json; kill $(cat /tmp/hrm-server.pid) 2>/dev/null || true",
"test:visual": "pnpm exec cross-env TESTING=true bash start-production.sh > /tmp/hrm-server.log 2>&1 & echo $! > /tmp/hrm-server.pid && npx wait-on http://127.0.0.1:3000/api/debug/ping --timeout 20000 && playwright test; kill $(cat /tmp/hrm-server.pid) 2>/dev/null || true",
"test:all": "pnpm run test:visual && pnpm run test:unit",
"test:quick": "pnpm run build && pnpm exec cross-env TESTING=true bash start-production.sh > /tmp/hrm-server.log 2>&1 & echo $! > /tmp/hrm-server.pid && npx wait-on http://127.0.0.1:3000/api/debug/ping --timeout 20000 && playwright test --reporter=dot; kill $(cat /tmp/hrm-server.pid) 2>/dev/null || true",
"test:visual:ui": "playwright test --ui",
"test:visual:update": "pnpm run build && pnpm exec cross-env TESTING=true bash start-production.sh > /tmp/hrm-server.log 2>&1 & echo $! > /tmp/hrm-server.pid && npx wait-on http://127.0.0.1:3000/api/debug/ping --timeout 20000 && playwright test --update-snapshots --reporter=dot; kill $(cat /tmp/hrm-server.pid) 2>/dev/null || true",
"test:visual:headed": "playwright test --project=chromium --headed",
"test:visual:report": "playwright show-report",
"test:oauth:local": "python3 scripts/verify_oauth_local.py",
"test:oauth:playwright": "playwright test --config=playwright.oauth.config.ts",
"verify:spotify": "bash scripts/verify-spotify.sh",
"kill-all": "./scripts/kill-all.sh",
"test:clean": "pnpm run kill-all && pnpm run dev & sleep 5 && pnpm run test:visual",
"test:clean:update": "pnpm run kill-all && pnpm run dev & sleep 5 && pnpm run test:visual:update",
"mcp:chrome-devtools": "npx -y chrome-devtools-mcp@latest --isolated --browser-url=http://1.0.0.1:9222",
"release:patch": "pnpm version patch -m \"release: patch %s\"",
"release:minor": "pnpm version minor -m \"release: minor %s\"",
"release:major": "pnpm version major -m \"release: major %s\"",
"test:infra": "playwright test tests/playwright/infrastructure.spec.ts",
"verify": "node scripts/verify-and-publish.cjs",
"commit:verified": "npm run verify",
"depcheck": "depcheck"
},
"dependencies": {
"@emotion/cache": "^11.14.0",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@mui/icons-material": "^5.15.0",
"@mui/material": "^5.18.0",
"@react-spring/web": "^10.0.3",
"@spotify/web-api-ts-sdk": "^1.2.0",
"express": "^5.1.0",
"framer-motion": "^12.23.24",
"lodash": "^4.17.21",
"next": "16.0.1",
"next-auth": "^4.24.13",
"pino": "^10.1.0",
"react": "19.2.0",
"react-dom": "19.2.0",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"uuid": "^13.0.0",
"ws": "^8.18.3",
"zod": "^4.1.13"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@jest/globals": "^30.2.0",
"@next/bundle-analyzer": "^16.0.5",
"@playwright/test": "^1.57.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/express": "^5.0.5",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.17.21",
"@types/next": "^8.0.7",
"@types/node": "^24.10.1",
"@types/react": "^19.2.6",
"@types/react-dom": "^19.2.2",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.8",
"@types/web-bluetooth": "^0.0.21",
"@types/ws": "^8.18.1",
"babel-plugin-react-compiler": "1.0.0",
"cross-env": "^10.1.0",
"depcheck": "^1.4.7",
"eslint": "9.39.1",
"eslint-config-next": "16.0.1",
"eslint-config-prettier": "^10.1.8",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"pino-pretty": "^13.1.2",
"playwright": "^1.57.0",
"pm2": "^5.2.0",
"prettier": "^3.6.2",
"ts-jest": "^29.4.5",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.48.0",
"wait-on": "^9.0.3"
},
"engines": {
"node": ">=20.0.0",
"pnpm": ">=8.0.0"
},
"packageManager": "pnpm@9.0.0",
"depcheck": {
"ignores": [
"@types/web-bluetooth",
"cross-env",
"jest-environment-jsdom"
]
}
}