diff options
author | Raphael <raphaelkabo@gmail.com> | 2023-07-10 11:56:24 +0000 |
---|---|---|
committer | Raphael Kabo <raphaelkabo@hey.com> | 2023-10-08 14:56:37 +0100 |
commit | a35e7f7be0e41ca0488a854cfd23c9dcfeec9167 (patch) | |
tree | 512d1eee5cb1fb9adafb2a7e928cb2f5bd9adbc6 /package.json | |
parent | a14afed944e5f0b87af96cc5c6a262d246b88d1d (diff) |
Add PM2 deployment config
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index bacccca..59f461f 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "start": "node dist/start.js", "dev": "nodemon -e ts,js --watch src --exec \"pnpm run build ; pnpm run start\"", "test:dev": "pnpm run dev & wait-on http://localhost:3000 && cypress open --e2e --browser chrome", - "test": "pnpm run build || true && pnpm run start & wait-on http://localhost:3000 && cypress run --e2e --browser chrome" + "test": "pnpm run build || true && pnpm run start & wait-on http://localhost:3000 && cypress run --e2e --browser chrome", + "deploy": "pm2 deploy ecosystem.config.cjs production" }, "engines": { "node": ">=16.16.0" |