mirror of
https://github.com/wasp-lang/wasp.git
synced 2025-01-08 02:17:07 +03:00
37 lines
1.1 KiB
JSON
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 =}
|
|
}
|