Merge pull request #11265 from Mugen87/npm
Build: Added google-closure-compiler to dev dependencies
Showing
... | ... | @@ -30,7 +30,7 @@ |
"build": "rollup -c", | ||
"build-test": "rollup -c test/rollup.unit.config.js", | ||
"build-uglify": "rollup -c && uglifyjs build/three.js -cm --preamble \"// threejs.org/license\" > build/three.min.js", | ||
"build-closure": "rollup -c && java -jar utils/build/compiler/closure-compiler-v20160713.jar --warning_level=VERBOSE --jscomp_off=globalThis --jscomp_off=checkTypes --externs utils/build/externs.js --language_in=ECMASCRIPT5_STRICT --js build/three.js --js_output_file build/three.min.js", | ||
"build-closure": "rollup -c && java -jar node_modules/google-closure-compiler/compiler.jar --warning_level=VERBOSE --jscomp_off=globalThis --jscomp_off=checkTypes --externs utils/build/externs.js --language_in=ECMASCRIPT5_STRICT --js build/three.js --js_output_file build/three.min.js", | ||
"dev": "rollup -c -w -m inline", | ||
"lint": "eslint src", | ||
"test": "rollup -c test/rollup.unit.config.js -w", | ||
... | ... | @@ -51,6 +51,7 @@ |
"devDependencies": { | ||
"eslint": "^3.10.1", | ||
"eslint-config-mdcs": "^4.2.2", | ||
"google-closure-compiler": "^20160713.0.0", | ||
"qunitjs": "^2.1.1", | ||
"rollup": "^0.41.4", | ||
"rollup-watch": "^3.2.2", | ||
... | ... |
utils/build/compiler/COPYING
已删除
100644 → 0
文件已删除
想要评论请 注册 或 登录