-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 2.01 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 2.01 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
{
"name": "the-human-pattern-lab-api",
"version": "0.9.0",
"type": "module",
"private": true,
"description": "API backend for The Human Pattern Lab",
"main": "dist/index.js",
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/express-session": "^1.18.2",
"@types/jest": "^30.0.0",
"@types/markdown-it": "^14.1.2",
"@types/node": "^25.0.3",
"@types/passport": "^1.0.17",
"@types/passport-github2": "^1.2.9",
"@types/supertest": "^6.0.3",
"@types/swagger-ui-express": "^4.1.8",
"cross-env": "^10.1.0",
"jest": "^30.2.0",
"supertest": "^7.1.4",
"ts-jest": "^29.4.6",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
},
"dependencies": {
"axios": "^1.13.2",
"better-sqlite3": "^12.5.0",
"cors": "^2.8.5",
"dotenv": "^17.2.3",
"express": "^5.2.1",
"express-openapi-validator": "^5.6.0",
"express-session": "^1.18.2",
"gray-matter": "^4.0.3",
"marked": "^17.0.1",
"passport": "^0.7.0",
"passport-github2": "^0.1.12"
},
"scripts": {
"dev": "cross-env NODE_ENV=development tsx watch src/index.ts & tsx scripts/openDevHealth.ts",
"build": "tsc && node scripts/copy-openapi.js",
"start": "cross-env NODE_ENV=production node dist/index.js",
"test": "cross-env NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest --config jest.config.mjs",
"test:authed": "cross-env NODE_ENV=test ADMIN_DEV_BYPASS=true NODE_OPTIONS=--experimental-vm-modules jest --config jest.config.mjs",
"test:api": "cross-env API_PREFIX=/api NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest --config jest.config.mjs",
"test:cov": "cross-env NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest --config jest.config.mjs --coverage",
"pm2:start": "pm2 start ecosystem.config.cjs --env production",
"pm2:stop": "pm2 stop lab-api",
"pm2:restart": "pm2 restart lab-api",
"pm2:logs": "pm2 logs lab-api",
"seed": "tsx src/seed/seed.ts"
}
}