Skip to content

Commit

Permalink
(improvement) nyc config
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Stremedlovskyi authored and Roman Stremedlovskyi committed Aug 31, 2016
1 parent e74cea4 commit e8b5f9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ script:
- npm run build
after_success:
- npm run test:coverage
- npm run test:report
- npm run coverage
branches:
only:
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@
"build": "npm run build:commonjs && npm run build:umd && npm run build:umd:min",
"test:watch": "npm test -- --watch",
"test:coverage": "nyc npm test",
"test:report": "nyc report --reporter=lcov",
"pretest": "rimraf coverage",
"test": "mocha --require test/setup.js --compilers js:babel-register --recursive",
"check:src": "npm run lint && npm run test",
"coverage": "cat ./coverage/lcov.info | coveralls",
"coverage": "cat coverage/lcov.info | coveralls",
"prepublish": "npm run clean && npm run check:src && npm run build"
},
"repository": {
Expand All @@ -34,6 +33,10 @@
"url": "https://github.com/stremann/react-flypro/issues"
},
"homepage": "https://github.com/stremann/react-flypro#readme",
"nyc": {
"reporter": "lcov",
"report-dir": "coverage"
},
"dependencies": {
"react": "^15.3.1",
"react-dom": "^15.3.1"
Expand Down

0 comments on commit e8b5f9e

Please sign in to comment.