forked from herebefrogs/highway-404
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
44 lines (44 loc) · 1.56 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
{
"name": "highway-404",
"version": "0.1.0",
"description": "entry for JS13KGames 2019 (theme: 404)",
"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: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",
"build:zip2": "advzip -z -4 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"
},
"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",
"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"
},
"repository": {
"type": "git",
"url": "git+https://github.com/herebefrogs/highway-404.git"
},
"author": "Jerome Lecomte <jerome@herebefrogs.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/herebefrogs/highway-404/issues"
},
"homepage": "https://github.com/herebefrogs/highway-404#readme"
}