-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
40 lines (40 loc) · 1.48 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
{
"name": "gre-js13k-2014",
"version": "0.0.0",
"description": "",
"scripts": {
"clean": "rm -rf build/; mkdir -p build target",
"compileglsl": "./scripts/compileglslfiles.sh src/shaders build",
"concat": "./scripts/concat.sh > build/build.js",
"minify": "uglifyjs build/build.js -c --screw-ie8 -m -o build/build.min.js",
"nominify": "cp build/build.js build/build.min.js",
"gen": "cp src/target.html target/index.html && cp build/build.min.js target/b.js",
"build": "export NODE_ENV=production; npm run clean && npm run compileglsl && npm run concat && npm run minify && npm run gen && npm run zip",
"build-nominify": "npm run clean && npm run compileglsl && npm run concat && npm run nominify && npm run gen",
"watch": "npm run build-nominify; wr 'npm run build-nominify' src/ scripts/",
"liveserver": "mkdir -p target; cd target; live-server --no-browser",
"zip": "cd target; zip -r ../target.zip .; cd ..; wc -c target.zip",
"start": "npm run watch & npm run liveserver"
},
"repository": {
"type": "git",
"url": "git://github.com/gre/js13k-2014.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/gre/js13k-2014/issues"
},
"homepage": "https://github.com/gre/js13k-2014",
"devDependencies": {
"browserify": "^11.0.1",
"eslint": "^1.3.0",
"glslmin": "0.0.0",
"live-server": "^0.8.1",
"uglify-js": "^2.4.24",
"uglifycss": "^0.0.17",
"wr": "^1.3.1"
},
"dependencies": {
}
}