diff options
author | Raphael <mail@raphaelkabo.com> | 2023-10-08 19:12:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-08 19:12:44 +0100 |
commit | 9ef8e220b4fb582d620016d293b340a63ec97cff (patch) | |
tree | 15fd6a9ce4921d88c262fbcdfa7c5a67c6be71c4 /package.json | |
parent | a14afed944e5f0b87af96cc5c6a262d246b88d1d (diff) | |
parent | ad1ca77aaf9b8700f3341cab1d177e7ab7643048 (diff) |
Merge pull request #103 from lowercasename/pm2-ci
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" |