fix: replace react-router-serve with node dist/server.js in start script (#133)
The project uses a custom Express server (built to dist/server.js) rather than the react-router-serve CLI, which was never installed. Also adds the start:production alias referenced in CLAUDE.md. https://claude.ai/code/session_011hnBY83ui5P5MzWt3iYppc Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
35a3b71579
commit
cbae4cc0c4
1 changed files with 2 additions and 1 deletions
|
|
@ -9,7 +9,8 @@
|
|||
"db:generate": "dotenv -- drizzle-kit generate",
|
||||
"db:migrate": "dotenv -- drizzle-kit migrate",
|
||||
"dev": "NODE_OPTIONS='--import ./instrument.server.mjs' dotenv -- tsx watch server.ts",
|
||||
"start": "NODE_ENV=production NODE_OPTIONS='--import ./instrument.server.mjs' react-router-serve ./build/server/index.js",
|
||||
"start": "NODE_ENV=production NODE_OPTIONS='--import ./instrument.server.mjs' node dist/server.js",
|
||||
"start:production": "NODE_ENV=production NODE_OPTIONS='--import ./instrument.server.mjs' node dist/server.js",
|
||||
"test": "vitest",
|
||||
"test:ui": "vitest --ui",
|
||||
"test:coverage": "vitest --coverage",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue