diff --git a/api/package.json b/api/package.json index 73d922b..804da61 100644 --- a/api/package.json +++ b/api/package.json @@ -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", diff --git a/www/package.json b/www/package.json index da9ce9c..8d8d3f3 100755 --- a/www/package.json +++ b/www/package.json @@ -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" },