Adding pm2

This commit is contained in:
2026-02-15 11:49:24 -05:00
parent 7b9a79d09e
commit 03b6b61929

View File

@@ -10,7 +10,7 @@
"scripts": {
"dev": "vite",
"build": "vite build",
"start:build": "npm run build && NODE_ENV=production pm2 start dist/index.html --name \"endorsment\" --env production",
"start:build": "npm run build && pm2 serve dist 5173 --name \"endorsment\" --spa",
"preview": "vite preview",
"type-check": "tsc --noEmit",
"prettier": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",