From f6110012f78b6314eb49f8f526987448d16295c3 Mon Sep 17 00:00:00 2001 From: azu Date: Sat, 19 Dec 2015 23:41:53 +0900 Subject: [PATCH] perf(test): speeeed up testing --- package.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f7d4bd0..eee7e13 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,11 @@ "lib" ], "scripts": { - "test": "mocha --require './guess' test/**/*.js && mocha --require './test_loader/espower-traceur-loader' test/**/*.js && mocha test/issues/17 --compilers es6:./guess && mocha test/issues/24 --compilers js:./guess --timeout 15000" + "test:guess": "mocha --require './guess' test/**/*.js", + "test:loader": "mocha --require './test_loader/espower-traceur-loader' test/**/*.js", + "test:extension": "mocha test/issues/17 --compilers es6:./guess", + "test:gulp": "mocha test/issues/24 --compilers js:./guess --timeout 15000", + "test": "npm-run-all --parallel test:*" }, "directories": { "test": "test/" @@ -48,6 +52,7 @@ "gulp": "^3.9.0", "gulp-mocha": "^2.2.0", "mocha": "^2.1.0", + "npm-run-all": "^1.4.0", "power-assert": "^1.1.0" } }