Skip to content

Commit 73334d8

Browse files
committed
Use dot reporter for ci:test so travis log is not too long.
1 parent a4910ff commit 73334d8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@
1818
"main": "lib/index.js",
1919
"scripts": {
2020
"build": "rimraf lib && babel src --out-dir lib",
21-
"prepublish": "npm run lint && npm run test && npm run build",
21+
"prepublish": "npm run lint && npm run ci:test && npm run build",
2222
"coveralls": "cat ./reports/coverage/lcov.info | coveralls",
2323
"lint": "eslint --config .eslintrc.js src tests",
2424
"pretest": "npm run lint",
25-
"test": "istanbul cover --dir reports/coverage node_modules/mocha/bin/_mocha tests/**/*.js -- --compilers js:babel-core/register --reporter nyan"
25+
"test": "istanbul cover --dir reports/coverage node_modules/mocha/bin/_mocha tests/**/*.js -- --compilers js:babel-core/register --reporter nyan",
26+
"ci:test": "istanbul cover --dir reports/coverage node_modules/mocha/bin/_mocha tests/**/*.js -- --compilers js:babel-core/register --reporter dot"
2627
},
2728
"devDependencies": {
2829
"babel-cli": "^6.6.0",

0 commit comments

Comments
 (0)