-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
42 lines (42 loc) · 1.63 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
{
"name": "stand-by-me",
"version": "1.2.0",
"description": "entry for JS13KGames 2022 (theme: death)",
"main": "src/js/game.js",
"scripts": {
"clean": "rm -rf dist && mkdir dist",
"build": "run-s clean build:*",
"build:js": "esbuild src/js/game.js --bundle --format=iife --loader:.webp=dataurl | terser --config-file scripts/terser.config.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 dist/game.zip",
"build:zipSize": "node scripts/zipSize.js",
"start": "npm-run-all -s clean -p dev:*",
"dev:js": "esbuild src/js/game.js --bundle --format=iife --loader:.webp=dataurl --sourcemap --outfile=dist/game.js --watch",
"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'"
},
"license": "MIT",
"devDependencies": {
"advzip-bin": "^2.0.0",
"browser-sync": "^2.27.7",
"chokidar-cli": "^3.0.0",
"esbuild": "^0.9.2",
"html-inline": "^1.2.0",
"html-minifier": "^4.0.0",
"npm-run-all": "^4.1.5",
"terser": "^5.6.1",
"tinify": "^1.6.0-beta.2"
},
"dependencies": {
"npm": "^7.20.6"
},
"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"
}