fix package.json scripts

This commit is contained in:
Guillaume Dorce 2022-10-28 10:21:57 +02:00
parent b9d2f0a156
commit bc1f1731d2
1 changed files with 4 additions and 2 deletions

View File

@ -5,10 +5,12 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "nodemon --watch src -e js,ts,json --exec 'ts-node src/index.ts'", "dev": "nodemon --watch src -e js,ts,json --exec 'ts-node src/index.ts'",
"build": "cd client && pnpm build", "build": "cd client && npm run build",
"start": "ts-node src/index.ts", "start": "ts-node src/index.ts",
"db": "prisma studio", "db": "prisma studio",
"db-build": "prisma generate; prisma db push" "db:build": "prisma generate",
"db:push": "prisma db push",
"postinstall": "cd client && npm install"
}, },
"keywords": [], "keywords": [],
"author": "", "author": "",