-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 1.91 KB
/
package.json
File metadata and controls
47 lines (47 loc) · 1.91 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
{
"name": "@scenarist/express-example",
"version": "0.0.0",
"private": true,
"description": "Example Express app demonstrating Scenarist usage",
"type": "module",
"scripts": {
"dev": "tsx watch src/server.ts",
"dev:logs": "SCENARIST_LOG=1 tsx watch src/server.ts",
"start": "NODE_ENV=test tsx src/server.ts",
"test": "vitest run",
"test:watch": "vitest",
"test:logs": "SCENARIST_LOG=1 vitest run",
"test:bruno": "cd bruno && bru run --env local",
"test:bruno:ci": "concurrently --kill-others --success first -n SERVER,TESTS 'pnpm start' 'wait-on http://localhost:3000/health && pnpm test:bruno'",
"test:production": "[ -f dist/server.js ] && echo 'Using cached production build...' || pnpm build:production && vitest run tests/production --config vitest.production.config.ts",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"build:production": "esbuild src/server.ts --bundle --platform=node --format=esm --outfile=dist/server.js --external:express --define:process.env.NODE_ENV='\"production\"' --minify --conditions=production",
"verify:treeshaking": "pnpm build:production && ! grep -rE '(setupWorker|startWorker|http\\.(get|post|put|delete|patch)|HttpResponse\\.json)' dist/"
},
"dependencies": {
"@scenarist/express-adapter": "workspace:*",
"express": "^5.2.1",
"zod": "^4.3.6"
},
"devDependencies": {
"@scenarist/eslint-config": "workspace:*",
"@scenarist/typescript-config": "workspace:*",
"@types/express": "^5.0.6",
"@types/node": "^25.3.0",
"@types/supertest": "^6.0.3",
"@types/wait-on": "^5.3.4",
"@usebruno/cli": "^3.1.3",
"@vitest/coverage-v8": "^4.0.18",
"concurrently": "^9.2.1",
"esbuild": "^0.27.3",
"eslint": "^9.39.3",
"json-server": "^0.17.4",
"msw": "^2.12.10",
"supertest": "^7.2.2",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"vitest": "^4.0.18",
"wait-on": "^9.0.4"
}
}