1
1
mirror of https://github.com/wasp-lang/wasp.git synced 2024-12-26 02:23:21 +03:00
wasp/waspc/data/Generator/templates/server/package.json
Filip Sodić 8a3fba8831
Require LTS version of Node for Wasp ()
* Require LTS node and npm on client and server

* Update node and npm versions in the docs

* Add npmrc and nvmrc to WebAppGenerator

* Change function name in test

* Add newline to nvmrc

* Add newline to Common.hs

* Remove extra empty line in nvmrc

* Remove extra empty line in Common.hs

* Update end to end tests for node LTS

* Add newline at the end of server/nvmrc

* Ensure Node version 16 in CI

* Fix broken ci file

* Change how Wasp specifies required versions

* Fix formatting

* Use type alias for semantic versions

* Remove incorrect comment on Prisma LTS

* Update e2e checksums

* Fix typo in gitignore

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Sort e2e checksums

* Extract semantic version to its module

* Fix formatting

* Fix formatting again

* Add comment explaining nvmrc

* Add tests and change semver naming

* Add natural numbers and formatting to semver

* Add newline at the end of semver module

* Add missing space to node mismatch message

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-03-21 15:00:19 +01:00

25 lines
631 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": "{= nodeVersionBounds =}",
"npm": "{= npmVersionBounds =}"
},
{=& depsChunk =},
{=& devDepsChunk =}
}