wasp/waspc/data/Generator/templates/server/package.json
tolarianwiz 2d54d005e5
refactor: extract server npm dev dependencies
Now dev dependencies in package.json are no more hardcoded, instead they are generated (like dependencies) from ServerGenerator.hs and inserted as devDepsChunk.
2021-05-31 20:30:08 +02:00

24 lines
590 B
JSON

{{={= =}=}}
{
"name": "server",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"start": "nodemon -r dotenv/config ./src/server.js",
"debug": "DEBUG=server:* npm start",
"db-migrate-prod": "prisma migrate deploy --schema=../db/schema.prisma",
"db-migrate-dev": "prisma migrate dev --schema=../db/schema.prisma",
"start-production": "{=& startProductionScript =}",
"standard": "standard"
},
"nodemonConfig": {
"delay": "1000"
},
"engines": {
"node": ">={= nodeVersion =}"
},
{=& depsChunk =},
{=& devDepsChunk =}
}