build script

This commit is contained in:
cupcakearmy 2019-05-23 09:36:26 +02:00
parent f6a99d702f
commit 0b0177d089
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,8 @@
"pkg": "tsc && pkg --targets latest-alpine-x64 --output ./server dist/server.js",
"pkg:mac": "tsc && pkg --targets latest-macos-x64 --output ./server-macos dist/server.js",
"prod": "NODE_ENV=production node dist/server.js",
"dev": "tsnd --no-notify src/server.ts"
"build": "tsc",
"dev": "npm i && tsnd --no-notify src/server.ts"
},
"devDependencies": {
"@types/jsonwebtoken": "^8.3.2",

View File

@ -4,7 +4,7 @@
".next/**/*"
],
"scripts": {
"dev": "node server.js",
"dev": "npm i && node server.js",
"prod": "NODE_ENV=production node server.js",
"build": "next build"
},