Commit 35184bfb authored by Rais Aryaguna's avatar Rais Aryaguna

fix: update build and serve:web scripts for consistency in command usage

parent 7b748cff
......@@ -8,7 +8,7 @@
"scripts": {
"dev": "vite",
"start": "vite preview",
"build": "dotenv -e .env.development -- cross-env GENERATE_SOURCEMAP=false tsc && vite build --base=./",
"build": "dotenv -e .env -- cross-env GENERATE_SOURCEMAP=false tsc && vite build",
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
"lint:fix": "eslint --fix \"src/**/*.{js,jsx,ts,tsx}\"",
"lint:print": "npx eslint --print-config eslint.config.mjs > eslint-show-config.json",
......@@ -22,7 +22,7 @@
"tsc:dev": "yarn dev & yarn tsc:watch",
"tsc:watch": "tsc --noEmit --watch",
"tsc:print": "npx tsc --showConfig",
"serve:web": "yarn install && yarn run build && pm2 startOrRestart ecosystem.config.js --env production"
"serve:web": "npm install && npm run build && pm2 startOrRestart ecosystem.config.js --env production"
},
"engines": {
"node": ">=20"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment