forked from Rybar/JS13k2021
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
47 lines (47 loc) · 1.73 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
{
"name": "gamejam-boilerplate",
"version": "1.1.0",
"description": "Boilerplate for Game Jams like JS13KGames",
"main": "src/js/game.js",
"scripts": {
"clean": "rm -rf dist && mkdir dist",
"build": "run-s clean build:*",
"build:js": "rollup -c scripts/rollup.config.js --environment MINIFY",
"build:roadroller": "roadroller dist/game-rollup.js -o dist/game.js",
"build:html": "grep -v body src/index.html | html-inline -b dist | html-minifier -c scripts/htmlmin.json -o dist/index.html",
"build:zip": "zip -FS -qjX9 dist/game.zip dist/index.html && advzip -z -4 -i 400 dist/game.zip",
"build:zipSize": "node scripts/zipSize.js",
"start": "npm-run-all -s clean -p dev:*",
"dev:js": "rollup -c scripts/rollup.config.js -w --environment DEBUG",
"dev:serve_watch_html_js": "browser-sync 'dist' 'src' --watch --host 0.0.0.0 --https",
"dev:watch_img": "chokidar src/img -d 0 -c 'npm run dev:js'",
"tinify-pngs": "node scripts/tinify-pngs.js"
},
"license": "MIT",
"devDependencies": {
"browser-sync": "^2.26.7",
"chokidar-cli": "^2.0.0",
"html-inline": "^1.2.0",
"html-minifier": "^4.0.0",
"npm-run-all": "^4.1.5",
"roadroller": "^2.0.0",
"rollup": "^2.23.0",
"rollup-plugin-terser": "^6.1.0",
"terser": "^4.8.0",
"tinify": "^1.6.0-beta.2"
},
"dependencies": {
"npm": "^6.14.7",
"stats": "^1.0.0",
"stats.js": "^0.17.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/herebefrogs/gamejam-boilerplate.git"
},
"author": "Jerome Lecomte <jerome@herebefrogs.com>",
"bugs": {
"url": "https://github.com/herebefrogs/gamejam-boilerplate/issues"
},
"homepage": "https://github.com/herebefrogs/gamejam-boilerplate#readme"
}