Skip to content

Commit ed32e88

Browse files
pktikkaniclaude
andcommitted
chore: Add Railway deployment scripts
- postinstall: prisma generate (runs after npm install) - build:railway: includes db push for auto-migration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent bfd6a2d commit ed32e88

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"type": "module",
66
"main": "dist/src/server.js",
77
"scripts": {
8+
"postinstall": "prisma generate",
89
"build": "prisma generate && tsc && tsc-alias",
10+
"build:railway": "prisma generate && tsc && tsc-alias && prisma db push",
911
"watch": "tsc -w",
1012
"clean": "rimraf dist",
1113
"start": "node dist/src/server.js",

0 commit comments

Comments
 (0)