-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 1.54 KB
/
package.json
File metadata and controls
56 lines (56 loc) · 1.54 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "scale-serialreader",
"productName": "ScaleSerialReader",
"version": "1.0.5",
"description": "An Electron application with node serialport that streams data from a serial-usb to a website.",
"author": "Steven Hawley",
"main": "main.js",
"module": "CommonJS",
"scripts": {
"postinstall-mac": "sudo npm rebuild --runtime=electron --target=1.8.8 --disturl=https://atom.io/download/atom-shell --build-from-source",
"start": "electron .",
"test-mac": "NODE_ENV=DEV electron .",
"test-win": "SET NODE_ENV=WINDEV electron .",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"build-mac": "npm install && npm run postinstall-mac && npm run rebuild",
"publish": "electron-builder -p always",
"postinstall": "electron-builder install-app-deps"
},
"keywords": [
"Electron",
"start",
"serial"
],
"build": {
"appId": "com.twistedst.scaleserialreader",
"productName": "Weigh Station",
"publish": [
{
"provider": "github"
}
],
"win": {
"target": [
"nsis"
],
"icon": "assets/icons/windows/scale.ico"
},
"buildDependenciesFromSource": true
},
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.20.2",
"@babel/preset-env": "^7.20.2",
"electron": "^17.4.11",
"electron-builder": "^23.6.0",
"electron-rebuild": "^3.2.9"
},
"dependencies": {
"electron-log": "^4.4.8",
"electron-updater": "^5.3.0",
"is-online": "^9.0.0",
"serialport": "^10.4.0"
},
"license": "mit"
}