Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Switch 'isparta' for 'nyc' #499

Merged
merged 1 commit into from
May 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ before_install:
- npm config set spin false --global

script:
- if [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then npm run lint && npm run check && npm run cover:lcov; else npm run testonly; fi
- if [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then npm run lint && npm run check && npm run cover; else npm run testonly; fi

after_failure:
- (cd resources; python travis_after_all.py)
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
"build": "rm -rf dist/* && babel src --ignore __tests__ --out-dir dist && npm run build:flow",
"build:flow": "find ./src -name '*.js' -not -path '*/__tests__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/dist\\//g'`.flow; done",
"watch": "node resources/watch.js",
"cover": "babel-node node_modules/.bin/isparta cover --root src --report html node_modules/.bin/_mocha -- $npm_package_options_mocha",
"cover:lcov": "babel-node node_modules/.bin/isparta cover --root src --report lcovonly node_modules/.bin/_mocha -- $npm_package_options_mocha",
"cover": "nyc npm run testonly",
"preversion": "npm test",
"start": "node -r babel-register examples/index.js"
},
Expand All @@ -78,9 +77,9 @@
"express": "4.16.4",
"flow-bin": "0.96.0",
"graphql": "14.3.0",
"isparta": "4.1.1",
"mocha": "6.1.4",
"multer": "1.4.1",
"nyc": "14.1.1",
"prettier": "1.17.1",
"restify": "4.3.2",
"sane": "4.1.0",
Expand Down
Loading