forked from OpenBuilds/OpenBuilds-CONTROL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
163 lines (163 loc) · 3.97 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"name": "OpenBuildsCONTROL",
"version": "1.0.370",
"license": "AGPL-3.0",
"description": "OpenBuildsCONTROL CNC Machine Host Software",
"author": "github.com/openbuilds <[email protected]>",
"devDependencies": {
"electron": "^23.1.1",
"electron-builder": "^24.0.0",
"electron-builder-notarize": "^1.5.1",
"electron-rebuild": "^3.2.9",
"ncp": "^2.0.0"
},
"dependencies": {
"avrgirl-arduino": "^5.0.1",
"detect-rpi": "^1.4.0",
"electron-updater": "^5.2.1",
"evilscan": "^1.9.1",
"express": "^4.18.1",
"formidable": "^2.1.1",
"https": "^1.0.0",
"ip": "^1.1.8",
"lodash": "^4.17.21",
"md5": "^2.3.0",
"mkdirp": "^2.1.3",
"multer": "^1.4.5-lts.1",
"ncp": "^2.0.0",
"node-abi": "^3.33.0",
"node-gyp": "^9.3.1",
"serialport": "^10.4.0",
"socket.io": "^4.6.1",
"xmodem.js": "^0.1.0"
},
"main": "index.js",
"scripts": {
"start": "echo \"Error: no start script specified\" && exit 0",
"test": "echo \"Error: no test specified\" && exit 0",
"release": "echo \"When you want to create a new release, follow these steps:\" && echo \"1) Update the version in your project's package.json file (e.g. 1.0.3xx)\" && echo \"2) Commit that change (git commit -am v1.0.3xx)\" && echo \"3) Push your changes to GitHub (git push)\"",
"run-local": "electron .",
"postinstall": "electron-builder install-app-deps"
},
"keywords": [
"usb"
],
"repository": "https://github.com/OpenBuilds/OpenBuilds-CONTROL",
"build": {
"publish": [
{
"provider": "github",
"vPrefixedTagName": true
}
],
"afterSign": "electron-builder-notarize",
"mac": {
"icon": "build/icon.icns",
"category": "public.app-category.graphics-design",
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist"
},
"icon": "build/icon.icns",
"appId": "openbuilds.control",
"productName": "OpenBuildsCONTROL",
"asar": true,
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"allowElevation": true,
"license": "build/licence.txt",
"installerIcon": "build/icon.ico",
"installerSidebar": "build/installerSidebar.bmp",
"artifactName": "${productName}-Setup-${version}.${ext}"
},
"fileAssociations": [
{
"ext": "obc",
"name": "OpenBuilds CAM Workspace",
"description": "OpenBuilds CAM Workspace",
"role": "Viewer"
},
{
"ext": "gcode",
"name": "GCODE File",
"description": "GCODE File",
"role": "Viewer"
},
{
"ext": "gc",
"name": "GCODE File",
"description": "GCODE File",
"role": "Viewer"
},
{
"ext": "tap",
"name": "GCODE File",
"description": "GCODE File",
"role": "Viewer"
},
{
"ext": "nc",
"name": "GCODE File",
"description": "GCODE File",
"role": "Viewer"
},
{
"ext": "cnc",
"name": "GCODE File",
"description": "GCODE File",
"role": "Viewer"
}
],
"files": [
"**/*",
"ssl/**/*",
"firmware/**/*",
""
],
"extraFiles": [
"ssl"
],
"asarUnpack": [
"esptool.exe",
"esptool-mac",
"esptool.py",
"*.bin"
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
}
],
"icon": "build/icon.ico"
},
"linux": {
"icon": "build/",
"target": [
"deb",
"AppImage"
]
},
"dmg": {
"icon": "build/icon.icns",
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
}
}
}