Skip to content

Commit a234c92

Browse files
committed
make npm script clear
1 parent 6d541f9 commit a234c92

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@ before_install:
55
- npm i -g npm@5.6.0
66
script:
77
- npm run test
8-
- npm run-script test-report
9-
- npm run-script test-coverage
108
after_script:
119
- npm run coverage

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
"description": "Randomly select elements in a collection.",
55
"main": "src/index.js",
66
"scripts": {
7-
"test": "nyc --reporter=html mocha",
8-
"test-report": "nyc --reporter=text-lcov mocha",
9-
"test-coverage": "nyc report --reporter=text-lcov mocha",
7+
"test": "nyc --reporter=text-lcov mocha",
8+
"test-clear": "nyc --reporter=html mocha",
109
"coverage": "nyc report --reporter=text-lcov | coveralls",
1110
"start": "node src/demo.js",
1211
"istanbul": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"

0 commit comments

Comments
 (0)