Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.43 KB
/
Copy pathpackage.json
File metadata and controls
62 lines (62 loc) · 1.43 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
57
58
59
60
61
62
{
"name": "plathott",
"version": "1.0.0",
"description": "A GB Studio platformer game - Desktop Edition",
"author": "Plathott Team <plathott@example.com>",
"maintainer": "Plathott Team <plathott@example.com>",
"main": "main.js",
"homepage": "./",
"scripts": {
"start": "electron .",
"dev": "electron . --dev",
"build": "npm run build:web && npm run build:electron",
"build:web": "echo 'Build your web game here'",
"build:electron": "electron-builder",
"build:win": "electron-builder --win",
"build:linux": "electron-builder --linux",
"pack": "electron-builder --dir"
},
"dependencies": {},
"devDependencies": {
"electron": "27.0.0",
"electron-builder": "^24.6.4"
},
"build": {
"appId": "com.plathott.game",
"productName": "Plathott",
"files": [
"main.js",
"preload.js",
"public/**/*",
"node_modules/**/*"
],
"directories": {
"buildResources": "assets"
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "assets/icon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true
},
"linux": {
"target": [
"AppImage",
"deb"
],
"icon": "assets/icon.png",
"category": "Game"
}
}
}