diff --git a/application-templates/starter/package.json b/application-templates/starter/package.json index 0334069dfc..2ef7b8f8bb 100644 --- a/application-templates/starter/package.json +++ b/application-templates/starter/package.json @@ -7,7 +7,7 @@ "build": "mc-scripts build", "start": "dotenv -- mc-scripts start", "compile-html": "NODE_ENV=production dotenv -- mc-scripts compile-html", - "start:prod:local": "NODE_ENV=production MC_APP_ENV=development dotenv -- mc-scripts compile-html && NODE_ENV=production npx serve public", + "start:prod:local": "NODE_ENV=production MC_APP_ENV=development dotenv -- mc-scripts compile-html && NODE_ENV=production npx serve -l 3001 public", "i18n:build": "mc-scripts extract-intl --output-path=$(pwd)/src/i18n/data 'src/**/!(*.spec).js' --build-translations", "test": "jest --config jest.test.config.js", "test:watch": "jest --config jest.test.config.js --watch", diff --git a/playground/package.json b/playground/package.json index 93d864ab76..95d1ffca3b 100644 --- a/playground/package.json +++ b/playground/package.json @@ -9,7 +9,7 @@ "compile-html": "NODE_ENV=production dotenv -- mc-scripts compile-html", "compile-html:gcp-eu": "dotenv -e vercel-deployments/state-machines-gcp-eu/.env -- mc-scripts compile-html --transformer $(pwd)/vercel-deployments/transformer-vercel.js", "compile-html:gcp-us": "dotenv -e vercel-deployments/state-machines-gcp-us/.env -- mc-scripts compile-html --transformer $(pwd)/vercel-deployments/transformer-vercel.js", - "start:prod:local": "NODE_ENV=production MC_APP_ENV=development dotenv -- mc-scripts compile-html && NODE_ENV=production serve public", + "start:prod:local": "NODE_ENV=production MC_APP_ENV=development dotenv -- mc-scripts compile-html && NODE_ENV=production npx serve -l 3001 public", "i18n:build": "mc-scripts extract-intl --output-path=$(pwd)/src/i18n/data 'src/**/!(*.spec).js' --build-translations" }, "dependencies": {