Skip to content

Commit

Permalink
Integrate with coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
miqmago committed Feb 8, 2017
1 parent 65b1fed commit ebc9e89
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion .coveralls.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
language: node_js
node_js:
- "node"
after_success:
- npm run coveralls
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"email": "info@appfeel.com"
},
"scripts": {
"test": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- test/ --compilers jsx:babel-core/register --recursive",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"test-cover": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- test/ --compilers jsx:babel-core/register --recursive; opn ./coverage/lcov-report/index.html",
"test": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- test/ --compilers jsx:babel-core/register --recursive --report lcovonly",
"build": "./node_modules/.bin/babel src -d lib",
"prepublish": "npm run lint && npm test && npm run build",
"lint": "eslint src/**/*.js",
Expand Down Expand Up @@ -61,13 +63,15 @@
"babel-core": "^6.17.0",
"babel-preset-es2015": "^6.16.0",
"chai": "^3.5.0",
"coveralls": "^2.11.16",
"eslint": "^3.8.0",
"eslint-config-airbnb": "^12.0.0",
"eslint-plugin-import": "^1.16.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.4.1",
"istanbul": "^1.1.0-alpha.1",
"mocha": "^3.1.2",
"opn-cli": "^3.1.0",
"sinon": "^1.17.6"
},
"license": "MIT"
Expand Down

0 comments on commit ebc9e89

Please sign in to comment.