Skip to content

Commit

Permalink
update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
WindomZ committed Mar 19, 2017
1 parent f02bc9f commit 97d0d3e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ os:
node_js:
- '6.9.0'
- '6.10.0'
- '7.6.0'
- '7.7.3'
- '7'

cache:
yarn: true
Expand All @@ -18,3 +17,6 @@ cache:

script:
- yarn run test

after_success:
- './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"ua-string": "./bin/ua-string"
},
"scripts": {
"test": "ava"
"test": "nyc --reporter=lcov --reporter=text-lcov ava"
},
"repository": {
"type": "git",
Expand All @@ -37,6 +37,8 @@
"inquirer": "^3.0.6"
},
"devDependencies": {
"ava": "^0.18.2"
"ava": "^0.18.2",
"coveralls": "^2.12.0",
"nyc": "^10.1.2"
}
}

0 comments on commit 97d0d3e

Please sign in to comment.