wip: packaging
This commit is contained in:
parent
85ac6ad45d
commit
4b6e141c3b
3 changed files with 1124 additions and 9 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
/node_modules
|
||||
/dist
|
||||
/dsr-win32-x64
|
||||
|
|
1122
package-lock.json
generated
1122
package-lock.json
generated
File diff suppressed because it is too large
Load diff
10
package.json
10
package.json
|
@ -2,10 +2,11 @@
|
|||
"name": "dsr",
|
||||
"version": "1.0.0",
|
||||
"description": "Discord share",
|
||||
"main": "main.js",
|
||||
"main": "./dist/main.js",
|
||||
"scripts": {
|
||||
"build": "npx tsc",
|
||||
"start": "npm run build && electron ./dist/main.js"
|
||||
"build": "rm -rf ./dist 2> /dev/null; npx tsc",
|
||||
"start": "npm run build && electron ./dist/main.js",
|
||||
"package": "npm run build && npx electron-packager . --platform=win32 --arch=x64"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -20,6 +21,7 @@
|
|||
"typescript": "^5.1.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"electron": "^25.3.2"
|
||||
"electron": "^25.3.2",
|
||||
"electron-packager": "^17.1.1"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue