wasp/waspc/data/Generator/templates/server/package.json
2023-04-05 11:33:52 +02:00

37 lines
1.1 KiB
JSON

{{={= =}=}}
{
"name": "server",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"build": "npx tsc",
"start": "npm run validate-env && NODE_PATH=dist node -r dotenv/config dist/server.js",
"build-and-start": "npm run build && npm run start",
"watch": "nodemon --exec 'npm run build-and-start || exit 1'",
"validate-env": "node -r dotenv/config ./scripts/validate-env.mjs",
"db-seed": "npm run build && NODE_PATH=dist node -r dotenv/config dist/dbSeed.js",
"db-migrate-prod": "prisma migrate deploy --schema=../db/schema.prisma",
"start-production": "{=& startProductionScript =}",
"standard": "standard",
"postinstall": "patch-package"
},
"nodemonConfig": {
"delay": "1000"
},
"engineStrict": true,
"overrides": {
{=# overrides =}
"{= packageName =}": {
"{= dependencyName =}": "{= dependencyVersion =}"
}{=^ last =},{=/ last =}
{=/ overrides =}
},
"engines": {
"node": "{=& nodeVersionRange =}"
},
"prisma": {=& prisma =},
{=& depsChunk =},
{=& devDepsChunk =}
}