-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
58 lines (58 loc) · 1.52 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
{
"name": "my-game",
"productName": "My Game",
"version": "0.1.0",
"main": "engine/electron/index.js",
"description": "A description of your game",
"author": "Your Name",
"license": "MIT",
"homepage": "https://example.com",
"build": {
"appId": "com.example.mygame",
"win": {
"target": [
"nsis"
],
"icon": "assets/icons/icon.ico"
},
"mac": {
"category": "public.app-category.games",
"target": [
"zip"
],
"type": "distribution",
"icon": "assets/icons/icon.icns",
"entitlements": "engine/electron/entitlements.mac.plist",
"entitlementsInherit": "engine/electron/entitlements.mac.plist",
"hardenedRuntime": true,
"gatekeeperAssess": false
},
"linux": {
"category": "Game",
"target": [
"AppImage"
],
"synopsis": "A small synopsis of your game",
"description": "A more detailed description of your game"
},
"icon": "assets/icons/512x512.png",
"afterSign": "engine/electron/notarize.js"
},
"scripts": {
"serve": "parcel index.html",
"start": "yarn electron . --enable-logging",
"build": "yarn electron-builder -mwl",
"build:windows": "yarn electron-builder -w",
"build:mac": "yarn electron-builder -m",
"build:linux": "yarn electron-builder -l"
},
"devDependencies": {
"@electron/notarize": "^2.4.0",
"electron": "^32.0.2",
"electron-builder": "^25.0.5"
},
"staticFiles": {
"staticPath": "assets",
"staticOutPath": "assets"
}
}