-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
48 lines (46 loc) · 2.04 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
{
"name": "js13k2018",
"version": "0.0.1",
"description": "my entry for the #js13k 2018",
"main": "index.js",
"scripts": {
"concat": "./scripts/concat.sh > dist/build.js && cp dist/build.js target/b.js",
"clean": "rm target.zip; rm -rf dist/; rm -rf target/; mkdir -p dist target",
"compileglsl": "./scripts/compileglsfiles.sh src/shaders dist",
"minify": "npx google-closure-compiler --compilation_level=ADVANCED_OPTIMIZATIONS --js=dist/build.js --js_output_file=dist/build.min.js",
"gen": "cp src/index.html target/index.html && cp dist/build.min.js target/b.js",
"zip": "cd target; zip -r ../target.zip .; cd ..; wc -c target.zip",
"nominify": "cp dist/build.js dist/build.min.js",
"build-nominify": "npm run clean && npm run compileglsl && npm run concat && npm run nominify && npm run gen",
"build-nominify-purejs": "npm run clean && npm run concat && npm run nominify && npm run gen",
"build": "export NODE_ENV=production; npm run clean && npm run compileglsl && npm run concat && npm run minify && npm run gen && npm run zip",
"watch": "nodemon -e js,sh --watch src --watch scripts --exec npm run build-nominify;",
"liveserver": "mkdir -p target; cd target; live-server --no-browser",
"start": "npm run watch & npm run liveserver",
"build-sprites": "node ./spriteConverter.js",
"concatlite": "./scripts/concat.sh > dist/build.js && cp dist/build.js target/b.js",
"watchlite": "nodemon -e js,sh,html --watch src --watch scripts --exec npm run concatlite",
"lite": "npm run watchlite & npm run liveserver"
},
"repository": {
"type": "git",
"url": "git+https://github.com/agar3s/js13k2018.git"
},
"keywords": [
"js13k"
],
"author": "agar3s",
"license": "ISC",
"bugs": {
"url": "https://github.com/agar3s/js13k2018/issues"
},
"homepage": "https://github.com/agar3s/js13k2018#readme",
"devDependencies": {
"glslmin": "0.0.0",
"live-server": "^1.2.0",
"nodemon": "^1.18.3"
},
"dependencies": {
"google-closure-compiler": "^20180805.0.0"
}
}