forked from yancharkin/SpelunkyClassicHDhtml5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
97 lines (97 loc) · 2.5 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
{
"name": "SpelunkyClassicHDhtml5",
"version": "1.1.7",
"description": "Platform video game. HTML5 version.",
"main": "www/index.js",
"repository": "https://github.com/yancharkin/${name}",
"author": "Ivan Yancharkin <yancharkin@gmail.com>",
"license": "Custom",
"private": true,
"build": {
"appId": "com.github.yancharkin.${name}",
"productName": "Spelunky Classic HD HTML5",
"artifactName": "spelunky_classic_hd_html5-${os}-${arch}.${ext}",
"directories": {
"buildResources": "resources"
},
"asar": true,
"asarUnpack": "assets/locale",
"mac": {
"category": "public.app-category.games",
"target": [
{
"target": "zip",
"arch": [
"arm64",
"x64"
]
}
]
},
"linux": {
"executableName": "spelunky_classic_hd_html5",
"icon": "linux-icons",
"category": "Game",
"target": [
{
"target": "AppImage",
"arch": [
"x64",
"ia32",
"armv7l",
"arm64"
]
},
{
"target": "deb",
"arch": [
"x64",
"ia32",
"armv7l",
"arm64"
]
}
]
},
"win": {
"target": [
{
"target": "zip",
"arch": [
"x64",
"ia32"
]
}
]
}
},
"devDependencies": {
"copy-webpack-plugin": "^9.1.0",
"cordova": "^10.0.0",
"cordova-android": "^9.1.0",
"cordova-plugin-whitelist": "^1.3.5",
"electron": "^13.6.9",
"electron-builder": "22.10.4",
"webpack": "^5.91.0",
"webpack-cli": "^4.10.0"
},
"scripts": {
"start": "webpack && electron www",
"build": "webpack",
"build-all": "webpack && electron-builder -mlw && yarn build-android",
"build-android": "webpack && cordova build android && mkdir -p ./dist && cp ./platforms/android/app/build/outputs/apk/debug/app-debug.apk ./dist/spelunky_classic_hd_html5-android.apk",
"build-linux-all": "webpack && electron-builder -l",
"build-linux-appimage": "webpack && electron-builder -l AppImage --x64 --ia32 --armv7l --arm64",
"build-linux-deb": "webpack && electron-builder -l deb --x64 --ia32 --armv7l --arm64",
"build-macos": "webpack && electron-builder -m",
"build-win": "webpack && electron-builder -w"
},
"cordova": {
"plugins": {
"cordova-plugin-whitelist": {}
},
"platforms": [
"android"
]
}
}