-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
41 lines (41 loc) · 1.6 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
{
"name": "spacewar",
"version": "1.1.2",
"description": "SpaceWar is a game tribute to the 1984 game by the same name. This game has several differences from the original, however.",
"main": "main.js",
"scripts": {
"start": "webpack-dev-server",
"build-web": "webpack --config webpack.webconfig.js && mkdir -p dist/web/assets && cp webindex.html ./dist/web/index.html && cp assets/* ./dist/web/assets",
"build-electron": "webpack --config webpack.config.js && cp build/out.js . && build -w -l -m zip",
"publish-web": "cd dist/web && aws s3 sync . s3://spacewar.pro --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --region us-east-1 && cd ../..",
"publish-itch": "butler push dist/linux-unpacked fritzy/spacewar:linux --userversion `node -pe \"require('./package.json').version\"` && butler push dist/win-unpacked fritzy/spacewar:win --userversion `node -pe \"require('./package.json').version\"` && butler push dist/mac fritzy/spacewar:mac --userversion `node -pe \"require('./package.json').version\"`"
},
"author": "Nathan Fritz",
"license": "MIT",
"private": true,
"dependencies": {
"howler": "^2.0.15",
"matter-js": "^0.14.2",
"pixi.js": "^4.8.2",
"tween.js": "^16.6.0",
"webpack-cli": "^3.1.2"
},
"devDependencies": {
"electron": "^3.0.10",
"electron-builder": "^20.36.2",
"webpack": "^4.26.0",
"webpack-dev-server": "^3.1.10"
},
"build": {
"appId": "pro.spacewar",
"mac": {
"category": "pro.spacewar.game.arcade"
},
"files": [
"main.js",
"index.html",
"out.js",
"assets"
]
}
}