-
Notifications
You must be signed in to change notification settings - Fork 408
- Added npm and yarn package commands to create distributables (#22) #85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -8,11 +8,14 @@ | |||||
"test": "echo \"No tests defined. Please contribute if you like\" && exit 0", | ||||||
"lint": "npx eslint .", | ||||||
"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 npm run clean && vite build && tsc -p tsconfig.electron.json", | ||||||
< | ||||||
"build": "cross-env NODE_ENV=production rimraf dist dist-electron && vite build && tsc -p tsconfig.electron.json", | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
"run-prod": "cross-env NODE_ENV=production electron ./dist-electron/main.js", | ||||||
"package": "npm run build && electron-builder build", | ||||||
"package-mac": "npm run build && electron-builder build --mac", | ||||||
"package-win": "npm run build && electron-builder build --win" | ||||||
"package": "yarn build && electron-builder build", | ||||||
"package-mac": "yarn build && electron-builder build --mac", | ||||||
"package-win": "yarn build && electron-builder build --win" | ||||||
Comment on lines
+14
to
+16
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Essentially changed npm with yarn. What's the thought here? |
||||||
= | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ?? |
||||||
|
||||||
}, | ||||||
"build": { | ||||||
"appId": "com.chunginlee.interviewcoder", | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo? Not need