Skip to content

Commit ec147dd

Browse files
committed
chore: Added start / stop commands to package.json
1 parent a36efa3 commit ec147dd

File tree

2 files changed

+571
-36
lines changed

2 files changed

+571
-36
lines changed

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
"nx": "nx",
2424
"start": "nx serve",
2525
"start:graphql": "nx serve graphql-api",
26+
"start:prod": "pm2 start ecosystem.config.js",
27+
"stop:prod": "pm2 stop ecosystem.config.js",
2628
"test": "nx test",
2729
"update": "nx migrate latest",
2830
"workspace-schematic": "nx workspace-schematic"
@@ -48,6 +50,7 @@
4850
"mongoose": "5.9.12",
4951
"opensubtitles-api": "^5.1.2",
5052
"p-map": "4.0.0",
53+
"pm2": "^4.4.1",
5154
"reflect-metadata": "^0.1.12",
5255
"rimraf": "3.0.2",
5356
"rxjs": "6.5.5",

0 commit comments

Comments
 (0)