-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathpackage.json
43 lines (43 loc) · 1.69 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
{
"name": "devil-glitches",
"version": "0.0.1",
"description": "glitches are invading our world, help the guardian to keep it free",
"main": "index.js",
"scripts": {
"clean": "rm -rf build/; mkdir -p build target",
"compileglsl": "./scripts/compileglsfiles.sh src/shaders build",
"concat": "./scripts/concat.sh > build/build.js",
"uglify": "uglifyjs build/build.js -c --screw-ie8 -m -o build/build.min.js",
"minify": "ccjs build/build.js --compilation_level=ADVANCED_OPTIMIZATIONS > build/build.min.js",
"nominify": "cp build/build.js build/build.min.js",
"gen": "cp src/index.html target/index.html && cp build/build.min.js target/b.js",
"build-nominify": "npm run clean && npm run compileglsl && npm run concat && npm run nominify && npm run gen",
"zip": "cd target; zip -r ../target.zip .; cd ..; wc -c target.zip",
"build": "export NODE_ENV=production; npm run clean && npm run compileglsl && npm run concat && npm run minify && npm run gen && npm run zip",
"watch": "npm run build-nominify; wr 'npm run build-nominify' src/ scripts/",
"liveserver": "mkdir -p target; cd target; live-server --no-browser",
"start": "npm run watch & npm run liveserver"
},
"repository": {
"type": "git",
"url": "git+https://github.com/agar3s/devil-glitches.git"
},
"keywords": [
"js13k"
],
"author": "Agar3s",
"license": "ISC",
"bugs": {
"url": "https://github.com/agar3s/devil-glitches/issues"
},
"homepage": "https://github.com/agar3s/devil-glitches#readme",
"devDependencies": {
"glslmin": "0.0.0",
"nodemon": "^1.10.0",
"uglifyjs": "^2.4.10",
"wr": "^1.3.1"
},
"dependencies": {
"closurecompiler": "^1.6.0"
}
}