Skip to content

Commit

Permalink
🔍 test: Update scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed Sep 2, 2020
1 parent 11cfa0a commit 595bf9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ before_script:
- ./cc-test-reporter before-build

script:
- npm run cover
- npm run travis

after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,14 @@
"url": "https://github.com/aureooms/js-compare.git"
},
"scripts": {
"build": "rm -rf lib && babel src -d lib",
"build": "babel --delete-dir-on-start --env-name production src -d lib",
"cover": "nyc --reporter=lcov npm test",
"dev": "npm run cover -- -- -st --fail-fast",
"esdoc": "esdoc",
"prepare": "npm run build",
"release": "np",
"test": "ava"
"test": "ava",
"travis": "npm run cover"
},
"sideEffects": false
}

0 comments on commit 595bf9f

Please sign in to comment.