Skip to content

Commit

Permalink
fix travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadarif-lab committed Mar 5, 2018
1 parent 63dcbdd commit 81a0445
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ node_js:
sudo: false
install:
- npm install
script:
- npm run coverage
deploy:
provider: npm
email: [email protected]
Expand Down
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
"main": "index.js",
"scripts": {
"test": "./node_modules/.bin/japa",
"posttest": "npm run coverage",
"pretest": "npm run lint",
"coverage": "nyc report --reporter=html --reporter=lcov --reporter=text --reporter=text-summary",
"coverage": "nyc npm run test",
"lint": "standard",
"lint:fix": "standard --fix"
},
Expand All @@ -34,6 +33,14 @@
"nyc": "^11.4.1",
"standard": "^11.0.0"
},
"nyc": {
"reporter": [
"html",
"lcov",
"text",
"text-summary"
]
},
"standard": {
"ignore": [
"/templates/"
Expand Down

0 comments on commit 81a0445

Please sign in to comment.