Skip to content

Commit 37b736a

Browse files
fix(chore): keep start/dev scripts without .env, add separate billing scripts
start/dev remain unchanged so the app works without Stripe. start:billing/dev:billing load .env for Stripe testing.
1 parent 2f1de7d commit 37b736a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@
2323
"node": ">=22.0.0"
2424
},
2525
"scripts": {
26-
"start": "node --env-file-if-exists=.env server.js",
27-
"dev": "node --env-file-if-exists=.env --watch server.js",
26+
"start": "node server.js",
27+
"start:billing": "node --env-file-if-exists=.env server.js",
28+
"dev": "node --watch server.js",
29+
"dev:billing": "node --env-file-if-exists=.env --watch server.js",
2830
"debug": "nodemon --inspect server.js",
2931
"prod": "cross-env NODE_ENV=production node server.js --name=node",
3032
"test": "cross-env NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest --runInBand --testPathPatterns='unit'",

0 commit comments

Comments
 (0)