Skip to content

Commit c824719

Browse files
committed
feat(next): add script for local prod start
Because: - Easily start payments-next in a prod like fashion. This commit: - Add a script to payments-next to start the application in a similar fashion to how it would be run in a deployed environment. Closes #PAY-3489
1 parent db526d5 commit c824719

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

apps/payments/next/project.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
},
3434
"dependsOn": ["glean-lint"]
3535
},
36+
"start-prod-local": {
37+
"command": "npm start --prefix apps/payments/next -- -p 3035",
38+
"dependsOn": ["build", "delete"]
39+
},
3640
"start": {
3741
"command": "pm2 start apps/payments/next/pm2.config.js && yarn check:url localhost:3035/__heartbeat__",
3842
"dependsOn": ["l10n-bundle", "glean-generate"]

0 commit comments

Comments
 (0)