From bc207adde8a365f2a1ca2c36710f454c22c92d9f Mon Sep 17 00:00:00 2001 From: Michael Krotscheck Date: Fri, 5 Jun 2015 11:45:04 -0700 Subject: [PATCH] Bound karma execution to `npm run test` This is in anticipation of moving this project to using the javascript-jobs group, rather than explicitly declaring jobs. Change-Id: I2f77f92745849f742290a3877fe78cc2e39b13b9 --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e01f90d..a6d256f 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "jasmine-core": "^2.2.0", "karma": "^0.12.31", "karma-chrome-launcher": "^0.1.7", + "karma-cli": "0.0.4", "karma-jasmine": "^0.3.5", "karma-phantomjs-launcher": "^0.1.4", "karma-ng-html2js-preprocessor": "~0.1" @@ -35,6 +36,7 @@ }, "scripts": { "postinstall": "bower install", - "test-unit": "grunt test:unit" + "test-unit": "grunt test:unit", + "test": "karma start ./karma-unit.conf.js" } }