-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
222 lines (222 loc) · 7.35 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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
{
"name": "selflessheroes",
"version": "1.2.8",
"description": "Selfless Heroes is a game that will teach you how to program without you noticing. Solve puzzles and help your heroes emerge victorious from the dungeon!",
"keywords": [
"puzzle game",
"video game",
"serious game",
"programming",
"development",
"puzzle",
"education",
"fun",
"logic",
"algorithm"
],
"author": "Félicien Brochu <felicien.brochu@gmail.com>",
"homepage": "https://selflessheroes.fr",
"repository": {
"type": "git",
"url": "git+https://github.com/felicien-brochu/selflessheroes.git"
},
"license": "CC-BY-NC-ND-4.0",
"main": "src/electron.js",
"scripts": {
"init-env": "node ./scripts/init.js",
"start": "yarn serve:dev",
"build-dev": "cross-env NODE_ENV=development TARGET_PLATFORM=web env-cmd -f ./deploy.dev.env webpack --progress",
"build": "cross-env NODE_ENV=production TARGET_PLATFORM=web env-cmd -f ./deploy.env webpack --progress",
"serve:level-dev": "cross-env NODE_ENV=development TARGET_PLATFORM=web LEVEL_DEV=true env-cmd -f ./deploy.dev.env webpack-dev-server --progress --colors --host 0.0.0.0",
"serve:dev": "cross-env NODE_ENV=development TARGET_PLATFORM=web env-cmd -f ./deploy.dev.env webpack-dev-server --progress --colors --host 0.0.0.0",
"serve:prod": "cross-env NODE_ENV=production TARGET_PLATFORM=web env-cmd -f ./deploy.env webpack-dev-server --progress --colors --host 0.0.0.0",
"serve:electron-dev": "cross-env NODE_ENV=development TARGET_PLATFORM=electron env-cmd -f ./deploy.dev.env webpack-dev-server --progress --colors --host 0.0.0.0",
"serve:electron": "cross-env NODE_ENV=production TARGET_PLATFORM=electron env-cmd -f ./deploy.env webpack-dev-server --progress --colors --host 0.0.0.0",
"build-tests": "cross-env NODE_ENV=development webpack --config ./tests/webpack.config.js --progress",
"test": "yarn build-tests && node ./tests/test_levels.js",
"electron:dist": "yarn electron:build && yarn electron:pack",
"electron:publish": "env-cmd -f ./publish.env yarn electron:pack --publish always",
"electron:build": "cross-env NODE_ENV=production TARGET_PLATFORM=electron env-cmd -f ./deploy.env webpack --progress",
"electron:build-dev": "cross-env NODE_ENV=development TARGET_PLATFORM=electron env-cmd -f ./deploy.dev.env webpack --progress",
"electron:pack": "cross-env ELECTRON_BUILDER_CACHE=./.cache/electron-builder/ electron-builder",
"electron:pack-dir": "yarn electron:pack --dir",
"electron": "electron ./src/electron.js",
"editor:dist": "yarn build-tests && yarn editor:pack",
"editor:pack": "pkg leveleditor/utils/main.js --output leveleditor-dist/shutils/shutils && node ./leveleditor/scripts/pack-release.js",
"editor:publish": "yarn editor:dist && env-cmd -f ./publish.env node ./leveleditor/scripts/publish-release.js"
},
"build": {
"appId": "fr.felicienbrochu.selflessheroes",
"productName": "Selfless Heroes",
"copyright": "Copyright © 2019 Félicien Brochu",
"directories": {
"output": "electron-dist",
"buildResources": "dist"
},
"files": [
"src/electron.js",
"dist/index.html",
"dist/app.js",
"dist/vendors~app.js",
"dist/phaser.js",
"dist/vendors~app~phaser.js",
"dist/app.css",
"dist/assets/**/*",
"dist/workers/**/*"
],
"fileAssociations": [{
"ext": "shsv",
"name": "SHSV",
"description": "Selfless Heroes saved game",
"mimeType": "application/x-shsv",
"role": "Viewer"
}],
"compression": "maximum",
"win": {
"target": [
"portable",
"nsis"
],
"icon": "dist/icons/icon.ico"
},
"nsis": {
"oneClick": false,
"perMachine": true,
"allowToChangeInstallationDirectory": true,
"installerSidebar": "icons/electron/nsis/installer_sidebar.bmp",
"publish": {
"provider": "github"
}
},
"portable": {
"publish": []
},
"appx": {
"applicationId": "selflessheroes",
"displayName": "Selfless Heroes",
"identityName": "selflessheroes",
"languages": [
"FR-FR",
"EN-US"
],
"backgroundColor": "#282C34"
},
"mac": {
"target": [
"dmg",
"zip"
],
"icon": "dist/icons/icon.icns",
"category": "public.app-category.puzzle-games"
},
"dmg": {
"publish": {
"provider": "github"
}
},
"linux": {
"target": [
"AppImage",
"snap"
],
"synopsis": "Selfless Heroes is a puzzle game that will teach you how to program without you noticing",
"category": "LogicGame;Game",
"packageCategory": "LogicGame;Game"
},
"appImage": {
"publish": {
"provider": "github"
}
},
"snap": {
"summary": "Selfless Heroes is a puzzle game that will teach you how to program without you noticing",
"plugs": [
"default",
"audio-playback"
],
"publish": {
"provider": "snapStore",
"channels": [
"edge"
]
}
}
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"babel-eslint": "^9.0.0",
"babel-loader": "^8.0.6",
"base-href-webpack-plugin": "^2.0.0",
"chalk": "^2.4.2",
"clean-webpack-plugin": "^2.0.2",
"cli-progress": "^3.8.2",
"copy-webpack-plugin": "^5.0.3",
"cross-env": "^5.2.0",
"css-loader": "^2.1.1",
"deep-equal": "^2.0.1",
"electron": "8.2.3",
"electron-builder": "^21.2.0",
"env-cmd": "^10.0.1",
"eslint": "^5.16.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-standard": "^4.0.0",
"expose-loader": "^0.7.3",
"file-loader": "^3.0.1",
"html-webpack-plugin": "^3.2.0",
"jszip": "^3.4.0",
"log-symbols": "^4.0.0",
"mini-css-extract-plugin": "^0.6.0",
"minimist": "^1.2.3",
"node-sass": "^4.12.0",
"node-sass-magic-importer": "^5.3.2",
"pkg": "^4.4.8",
"preload-webpack-plugin": "^3.0.0-beta.3",
"prompt-sync": "^4.1.7",
"publish-release": "^1.6.1",
"raw-loader": "^4.0.1",
"resolve-url-loader": "^3.0.0-beta.1",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"terser-webpack-plugin": "^1.3.0",
"vue-loader": "^15.7.0",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.6.10",
"webpack": "^4.33.0",
"webpack-cli": "^3.3.2",
"webpack-dev-server": "^3.7.0",
"webpack-node-externals": "^1.7.2",
"worker-loader": "^2.0.0"
},
"dependencies": {
"@mdi/font": "^3.6.95",
"axios": "^0.19.2",
"codemirror": "^5.47.0",
"electron-log": "^4.1.1",
"electron-updater": "^4.2.5",
"escape-string-regexp": "^1.0.5",
"events": "^3.0.0",
"file-saver": "^2.0.2",
"form-data": "^3.0.0",
"get-browser": "^1.0.2",
"get-user-locale": "^1.3.0",
"jszip-sync": "^3.2.1-sync",
"lodash.debounce": "^4.0.8",
"lodash.throttle": "^4.1.1",
"open": "^7.0.0",
"pathfinding": "^0.4.18",
"phaser": "3.19.0",
"prompts": "^2.3.2",
"resize-observer-polyfill": "^1.5.1",
"seedrandom": "^3.0.1",
"slash": "^3.0.0",
"string-template": "^1.0.0",
"v-hotkey": "^0.3.1",
"vue": "^2.6.10",
"vue-meta": "^2.3.3",
"vue-router": "^3.0.6"
}
}