|
|
|
|
@ -7,7 +7,10 @@
|
|
|
|
|
"dev": "cross-env NODE_ENV=development npm run clean && concurrently \"tsc -w -p tsconfig.electron.json\" \"vite\" \"wait-on -t 30000 http://localhost:54321 && electron ./dist-electron/main.js\"",
|
|
|
|
|
"start": "cross-env NODE_ENV=development concurrently \"tsc -p tsconfig.electron.json\" \"vite\" \"wait-on -t 30000 http://localhost:54321 && electron ./dist-electron/main.js\"",
|
|
|
|
|
"build": "cross-env NODE_ENV=production rimraf dist dist-electron && vite build && tsc -p tsconfig.electron.json",
|
|
|
|
|
"run-prod": "cross-env NODE_ENV=production electron ./dist-electron/main.js"
|
|
|
|
|
"run-prod": "cross-env NODE_ENV=production electron ./dist-electron/main.js",
|
|
|
|
|
"package": "yarn build && electron-builder build",
|
|
|
|
|
"package-mac": "yarn build && electron-builder build --mac",
|
|
|
|
|
"package-win": "yarn build && electron-builder build --win"
|
|
|
|
|
},
|
|
|
|
|
"build": {
|
|
|
|
|
"appId": "com.chunginlee.interviewcoder",
|
|
|
|
|
|