2
0
Эх сурвалжийг харах

Add NPM command to watch and rebuild tests.

Don McCurdy 8 жил өмнө
parent
commit
551fba8438
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -33,7 +33,7 @@
     "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 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",
     "dev": "rollup -c -w",
     "dev": "rollup -c -w",
     "lint": "eslint src",
     "lint": "eslint src",
-    "test": "echo \"Error: no test specified\" && exit 1"
+    "test": "rollup -c test/rollup.unit.config.js -w"
   },
   },
   "keywords": [
   "keywords": [
     "three",
     "three",