diff --git a/package.json b/package.json index 53f86b93..710794eb 100644 --- a/package.json +++ b/package.json @@ -18,9 +18,10 @@ "build:clean": "rimraf dist", "build:webpack": "webpack --progress --colors --config build/webpack.dist.babel.js", "build:watch": "webpack --progress --colors --config build/webpack.dist.babel.js --watch", - "test": "npm run karma", - "karma": "cross-env NODE_ENV=test babel-node node_modules/karma/bin/karma start build/karma.conf.js --reporters nyan,coverage --single-run", - "karma:watch": "cross-env NODE_ENV=test BABEL_ENV=test node -r babel-register node_modules/karma/bin/karma start build/karma.conf.js --watch" + "test": "npm run unit:ci", + "unit": "cross-env NODE_ENV=test babel-node node_modules/karma/bin/karma start build/karma.conf.js --reporters nyan,coverage --single-run", + "unit:ci": "cross-env NODE_ENV=test babel-node node_modules/karma/bin/karma start build/karma.conf.js --reporters spec,coverage --single-run", + "unit:watch": "cross-env NODE_ENV=test BABEL_ENV=test node -r babel-register node_modules/karma/bin/karma start build/karma.conf.js --watch" }, "dependencies": { "popper.js": "^1.12.9"