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

Merge pull request #10860 from donmccurdy/feat-test-cmd

Add NPM command to watch and rebuild tests.
Mr.doob 8 жил өмнө
parent
commit
be088e1b72
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",
     "dev": "rollup -c -w",
     "lint": "eslint src",
-    "test": "echo \"Error: no test specified\" && exit 1"
+    "test": "rollup -c test/rollup.unit.config.js -w"
   },
   "keywords": [
     "three",