-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
190 lines (190 loc) · 7.98 KB
/
Copy pathpackage.json
File metadata and controls
190 lines (190 loc) · 7.98 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"name": "hrm",
"version": "0.30.0",
"private": true,
"type": "module",
"scripts": {
"clean": "bash scripts/cleanup.sh",
"clean:global": "bash scripts/cleanup.sh --global --pnpm-cache",
"prebuild": "pnpm run clean",
"dev": "cross-env NODE_ENV=development tsx --env-file=.env.local server.ts | pnpm exec pino-pretty",
"seed": "tsx scripts/seed-dev-data.ts",
"deploy": "bash scripts/deploy.sh",
"build": "pnpm run build:server && next build --webpack",
"build:server": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json -f -fe .js",
"analyze": "cross-env ANALYZE=true pnpm run build:server && cross-env ANALYZE=true next build --webpack",
"start": "pm2 start ecosystem.config.cjs --env production",
"profile:server": "bash scripts/profile-server.sh",
"profile:frontend": "bash scripts/profile-frontend.sh",
"profile:all": "pnpm run profile:server && pnpm run profile:frontend",
"pm2:logs": "pm2 logs hrm-server",
"pm2:stop": "pm2 stop hrm-server",
"pm2:restart": "pm2 restart hrm-server",
"pm2:delete": "pm2 stop hrm-server && pm2 delete hrm-server",
"lint": "eslint app/ components/ constants/ context/ hooks/ lib/ services/ tests/ types/ utils/ server.ts middleware.ts --cache",
"lint:fix": "eslint app/ components/ constants/ context/ hooks/ lib/ services/ tests/ types/ utils/ server.ts middleware.ts --fix --cache",
"type-check": "tsc -p tsconfig.type-check.json --noEmit",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "pnpm run test:all",
"test:unit": "cross-env NEXTAUTH_SECRET=test-secret-unit jest tests/unit --coverage",
"test:integration": "pnpm run build && cross-env NEXTAUTH_SECRET=test-secret-integration jest --config jest.config.integration.cjs --runInBand",
"test:components": "cross-env NEXTAUTH_SECRET=test-secret-unit jest --config jest.config.components.cjs",
"test:unit:watch": "jest tests/unit --watch",
"test:json": "scripts/test-json-with-server.sh",
"test:visual": "playwright test --project=chromium tests/playwright/vrt-*.spec.ts tests/playwright/remote-capabilities.spec.ts tests/playwright/simple-smoke.spec.ts",
"test:all": "pnpm run test:visual && pnpm run test:unit",
"test:slop": "./scripts/run_slop_tests.sh",
"lint:slop": "./scripts/find_slop.sh -w ai_slop_words.txt",
"test:backend:port": "pnpm run build && PORT=3003 playwright test",
"test:websocket:port": "pnpm run build && PORT=3004 playwright test",
"test:quick": "pnpm run build && playwright test --reporter=dot",
"test:visual:ui": "playwright test --ui",
"test:visual:update": "playwright test --update-snapshots --reporter=dot",
"test:visual:headed": "playwright test --project=chromium --headed",
"test:visual:report": "playwright show-report",
"test:vrt:check-orphans": "bash scripts/check-orphaned-snapshots.sh",
"test:oauth:local": "python3 scripts/verify_oauth_local.py",
"test:oauth:playwright": "playwright test --config=playwright.oauth.config.ts",
"test:remote": "pnpm run build && playwright test remote-capabilities --project=chromium",
"test:perf": "playwright test tests/playwright/perf-*.spec.ts --project=chromium --workers=1",
"test:perf:debug": "cross-env PWDEBUG=1 pnpm run test:perf",
"verify:spotify": "bash scripts/verify-spotify.sh",
"kill-all": "./scripts/kill-all.sh",
"mcp:chrome-devtools": "npx -y chrome-devtools-mcp@latest --isolated --browser-url=http://1.0.0.1:9222",
"test:infra": "cross-env SKIP_WEBSERVER=true playwright test tests/playwright/infrastructure.spec.ts",
"test:infra:dev": "cross-env SKIP_WEBSERVER=true playwright test tests/playwright/infrastructure.spec.ts --grep \"pnpm run dev should start and listen\"",
"test:infra:prod": "cross-env SKIP_WEBSERVER=true playwright test tests/playwright/infrastructure.spec.ts --grep \"start-production.sh should start successfully\"",
"verify": "node scripts/verify-and-publish.cjs",
"commit:verified": "pnpm run verify",
"knip": "knip",
"storybook": "storybook dev -p 6006 --open",
"build-storybook": "storybook build",
"verify:storybook": "pnpm exec ts-node --esm scripts/verify-storybook-setup.ts",
"generate:openapi": "ts-node --esm scripts/generate-openapi.ts",
"prepare": "husky"
},
"dependencies": {
"@asteasolutions/zod-to-openapi": "^8.4.2",
"@emotion/cache": "^11.14.0",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@garmin/fitsdk": "^21.194.0",
"@mui/icons-material": "^7.3.8",
"@mui/material": "^7.3.8",
"@mui/material-nextjs": "^7.3.8",
"@spotify/web-api-ts-sdk": "^1.2.0",
"@types/lodash": "^4.17.24",
"express": "^5.2.1",
"express-rate-limit": "^8.2.1",
"framer-motion": "^12.38.0",
"he": "^1.2.0",
"idb": "^8.0.3",
"js-cookie": "^3.0.5",
"lodash": "^4.17.23",
"lodash.throttle": "^4.1.1",
"next": "16.1.6",
"next-auth": "^4.24.13",
"node-html-parser": "^7.0.2",
"notistack": "^3.0.2",
"pino": "^10.3.1",
"pino-http": "^11.0.0",
"react": "19.2.4",
"react-dom": "19.2.4",
"react-infinite-scroll-component": "^6.1.1",
"recharts": "^3.7.0",
"ws": "^8.19.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@axe-core/playwright": "^4.11.1",
"@commitlint/cli": "^20.4.2",
"@commitlint/config-conventional": "^20.5.0",
"@eslint/js": "^9.39.2",
"@google/generative-ai": "0.24.1",
"@jest/globals": "^30.2.0",
"@next/bundle-analyzer": "^16.2.9",
"@playwright/test": "^1.57.0",
"@storybook/addon-a11y": "^10.1.11",
"@storybook/addon-actions": "^8.6.14",
"@storybook/addon-docs": "^10.1.11",
"@storybook/addon-essentials": "^8.6.14",
"@storybook/addon-interactions": "^8.6.14",
"@storybook/nextjs": "^8.6.14",
"@storybook/react": "^8.6.14",
"@storybook/test": "^8.6.14",
"@storybook/testing-library": "^0.2.2",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.1",
"@testing-library/user-event": "^14.6.1",
"@types/express": "^5.0.6",
"@types/he": "^1.2.3",
"@types/jest": "^30.0.0",
"@types/js-cookie": "^3.0.6",
"@types/lodash.throttle": "^4.1.9",
"@types/node": "^25.0.10",
"@types/react": "^19.2.9",
"@types/react-dom": "^19.2.3",
"@types/uuid": "^9.0.8",
"@types/web-bluetooth": "^0.0.21",
"@types/ws": "^8.18.1",
"babel-jest": "^30.2.0",
"babel-plugin-react-compiler": "1.0.0",
"bats": "^1.13.0",
"core-js": "^3.48.0",
"cross-env": "^10.1.0",
"dotenv": "^17.2.3",
"eslint": "9.39.2",
"eslint-config-next": "16.1.6",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-storybook": "^10.2.0",
"eslint-plugin-unused-imports": "^4.3.0",
"fake-indexeddb": "^6.2.5",
"husky": "^9.1.7",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"jest-junit": "^16.0.0",
"jest-mock": "^30.2.0",
"jsdom": "^28.1.0",
"knip": "^5.80.2",
"lint-staged": "^16.3.1",
"msw": "^2.12.10",
"msw-storybook-addon": "^2.0.6",
"pino-pretty": "^13.1.3",
"playwright": "^1.57.0",
"pm2": "^6.0.14",
"prettier": "^3.8.1",
"storybook": "^8.6.15",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.16",
"tsx": "4.21.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1",
"uuid": "^9.0.1",
"wait-on": "^9.0.4"
},
"engines": {
"node": ">=20.0.0",
"pnpm": ">=8.0.0"
},
"packageManager": "pnpm@9.15.9",
"pnpm": {
"neverBuiltDependencies": [
"pm2-sysmonit"
],
"overrides": {
"@testing-library/dom": "^10.4.0",
"loader-utils@<1.4.1": ">=1.4.1",
"loader-utils@>=1.0.0 <1.4.2": ">=1.4.2",
"node-fetch@<2.6.7": ">=2.6.7",
"node-fetch@>=2.0.0 <2.6.1": ">=2.6.1",
"path-to-regexp@>=2.0.0 <3.3.0": ">=3.3.0",
"cookie@<0.7.0": ">=0.7.0",
"on-headers@<1.1.0": ">=1.1.0",
"send@<0.19.0": ">=0.19.0",
"next@>=16.0.0-canary.0 <16.0.7": ">=16.0.7"
}
}
}