-
-
Notifications
You must be signed in to change notification settings - Fork 143
/
package.json
151 lines (151 loc) · 4.54 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
{
"name": "grid-apps",
"version": "4.0.31",
"description": "grid.space 3d slice & modeling tools",
"author": "Stewart Allen <sa@grid.space>",
"license": "MIT",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/gridspace/apps.git"
},
"keywords": [
"grid.space",
"kiri:moto",
"kirimoto",
"kiri",
"3d",
"CAM",
"laser",
"gcode",
"slicer"
],
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^6.1.1",
"@gridspace/app-server": "^0.0.15",
"@gridspace/net-level-client": "^0.2.3",
"@tracespace/parser": "^5.0.0-next.0",
"@tweenjs/tween.js": "^16.6.0",
"base64-js": "^1.5.1",
"bootstrap-icons": "^1.11.3",
"buffer-crc32": "^0.2.13",
"compression": "^1.7.4",
"connect": "^3.7.0",
"earcut": "^2.2.3",
"express-useragent": "^1.0.13",
"jszip": "^3.7.1",
"manifold-3d": "^2.5.1",
"moment": "^2.29.4",
"serve-static": "^1.14.1",
"three": "^0.167.1",
"three-mesh-bvh": "^0.7.6",
"uglify-js": "3.14.5",
"validator": ">=13.7.0",
"ws": "^7.5.5"
},
"devDependencies": {
"@electron/notarize": "latest",
"dotenv": "latest",
"electron": "latest",
"electron-builder": "latest",
"fs-extra": "^11.2.0",
"node-fetch": "^3.3.2",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.92.1",
"webpack-cli": "^5.1.4"
},
"scripts": {
"start": "npm run prebuild && electron .",
"start-dev": "npm run prebuild && electron . --devel",
"start-dbg": "npm run prebuild && electron . --debugg",
"start-ddb": "npm run prebuild && electron . --devel --debugg",
"build": "npm run prebuild && electron-builder",
"build-debug": "npm run prebuild && DEBUG=electron-builder electron-builder",
"build-linux": "npm run build -- --linux --x64",
"build-linux-arm": "npm run build -- --linux --arm64",
"build-win": "npm run build -- --win --x64",
"build-win-arm": "npm run build -- --win --arm64",
"build-mac": "npm run build -- --mac --arm64",
"build-mac-intel": "npm run build -- --mac --x64",
"mklinks": "find src web -type l | xargs -I{} sh -c 'echo \"{},$(readlink {})\"' > links.csv",
"mac-verify": "spctl --assess -vv --type install dist/*/*.app",
"prebuild": "node bin/electron-pre.js",
"postbuild": "node bin/electron-post.js",
"preinstall": "node bin/install-pre.js; npx webpack --config bin/webpack-three.js"
},
"main": "app-el.js",
"build": {
"appId": "space.grid.kiri",
"productName": "KiriMoto",
"artifactName": "KiriMoto-${os}-${arch}.${ext}",
"files": [
{
"from": "tmp/src",
"to": "src",
"filter": [
"**/*"
]
},
{
"from": "tmp/web",
"to": "web",
"filter": [
"**/*"
]
},
{
"from": "tmp/mod",
"to": "mod",
"filter": [
"**/*"
]
},
"bin/*",
"conf/**/*",
"data/**/*",
"dist/**/*",
"app-el.js",
"app.js",
"package.json"
],
"extraFiles": [],
"directories": {
"output": "dist"
},
"win": {
"icon": "bin/GS.ico",
"target": [
"nsis",
"zip"
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"allowElevation": true
},
"mac": {
"icon": "bin/GS.icns",
"category": "public.app-category.utilities",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "bin/electron-entitlements.plist",
"entitlementsInherit": "bin/electron-entitlements.plist",
"target": [
"dmg",
"zip"
]
},
"linux": {
"icon": "bin/GS.png",
"target": [
"AppImage",
"zip"
]
},
"afterSign": "bin/electron-notarize.js"
}
}