-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
39 lines (38 loc) · 992 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"name": "fabulous-flying-machine",
"version": "0.2.0",
"description": "",
"main": "index.js",
"scripts": {
"post-set-shell": "npm config set script-shell bash",
"post-install": "npm install [email protected] $(if [ $(uname -m) = arm64 ]; then echo --arch=x64; fi) --save-dev",
"post-rebuild": "electron-rebuild",
"dev": "electron ./",
"pack": "electron-builder --dir",
"build": "npm run post-set-shell && electron-builder $(if [ $(uname -m) = arm64 ]; then echo --mac --x64; fi)",
"postinstall": "npm run post-set-shell && npm run post-install && npm run post-rebuild"
},
"devDependencies": {
"electron": "^8.5.5",
"electron-builder": "^22.3.2",
"electron-rebuild": "^1.10.0"
},
"build": {
"artifactName": "${productName}-${os}_${arch}.${ext}",
"mac":{
"target": "zip"
},
"win":{
"target": "zip"
},
"linux":{
"target": "zip"
}
},
"author": "",
"license": "ISC",
"dependencies": {
"mkdirp": "^1.0.3",
"serialport": "^8.0.7"
}
}