Add production server start scripts
This commit is contained in:
@@ -13,8 +13,10 @@
|
||||
"type": "module",
|
||||
"main": "electron/main.cjs",
|
||||
"scripts": {
|
||||
"dev": "vite dev --port 3000",
|
||||
"dev": "NODE_OPTIONS=\"--max-old-space-size=2048\" vite dev --port 3000",
|
||||
"build": "vite build",
|
||||
"start": "NODE_OPTIONS=\"--max-old-space-size=2048\" node .output/server/index.mjs",
|
||||
"start:dev": "NODE_OPTIONS=\"--max-old-space-size=2048\" vite dev --port 3000",
|
||||
"preview": "vite preview",
|
||||
"test": "vitest run",
|
||||
"lint": "eslint",
|
||||
|
||||
Reference in New Issue
Block a user