forked from JannisX11/blockbench
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
125 lines (125 loc) · 2.78 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
{
"name": "Blockbench",
"description": "Low-poly modeling and animation software",
"version": "4.10.4",
"license": "GPL-3.0-or-later",
"author": {
"name": "JannisX11",
"email": "[email protected]"
},
"homepage": "https://blockbench.net",
"repository": {
"type": "git",
"url": "https://github.com/JannisX11/blockbench"
},
"main": "main.js",
"build": {
"afterSign": "scripts/notarize.js",
"appId": "blockbench",
"productName": "Blockbench",
"artifactName": "${productName}_${version}.${ext}",
"publish": [
{
"provider": "github"
}
],
"mac": {
"target": {
"target": "default",
"arch": [
"arm64",
"x64"
]
},
"artifactName": "${productName}_${arch}_${version}.${ext}",
"category": "macOS.application",
"hardenedRuntime": true,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist"
},
"files": [
"assets/",
"build/",
"css/",
"js/",
"lib/",
"font/",
"main.js",
"bundle.js",
"index.html",
"package.json",
"favicon.png",
"icon.icns",
"icon.ico",
"icon.png"
],
"dmg": {
"artifactName": "${productName}_${arch}_${version}.${ext}",
"window": {
"x": 200,
"y": 100,
"width": 440,
"height": 220
},
"contents": [
{
"x": 130,
"y": 120
},
{
"x": 360,
"y": 120,
"type": "link",
"path": "/Applications"
}
]
},
"win": {
"certificateSubjectName": "Jannis Tobias Petersen",
"target": "nsis"
},
"linux": {
"artifactName": "${productName}_${version}.${ext}",
"target": [
"deb",
"rpm",
"appImage"
],
"category": "3DGraphics",
"icon": "build/icon.icns"
},
"fileAssociations": [
{
"ext": "bbmodel",
"name": "Blockbench Project",
"role": "Editor"
}
]
},
"scripts": {
"bundle": "webpack --config webpack.config.js",
"bundle-watch": "webpack --config webpack.config.js --watch",
"dev": "electron .",
"dist": "electron-builder",
"beta": "electron-builder --windows portable",
"publish-windows": "npm run bundle && electron-builder -w --publish=onTagOrDraft && node ./scripts/rename_portable.js && electron-builder --windows portable --publish=onTagOrDraft",
"pwa": "node ./scripts/generate_pwa.js",
"prepublish": "npm run bundle && npm run pwa",
"webapp": "git checkout gh-pages && git pull && git merge master && git push && git checkout master"
},
"devDependencies": {
"@electron/notarize": "^2.3.0",
"blockbench-types": "^4.6.1",
"electron": "^30.0.3",
"electron-builder": "^24.13.3",
"webpack": "^5.74.0",
"webpack-cli": "^4.5.0",
"workbox-build": "^6.5.3"
},
"dependencies": {
"@electron/remote": "^2.1.2",
"electron-color-picker": "^0.2.0",
"electron-updater": "^6.1.8",
"gifenc": "^1.0.3"
}
}