Skip to content

Commit

Permalink
add coveralls config
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 committed Oct 3, 2016
1 parent 2eb9fd4 commit f86fc87
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ node_js:
- "6"
before_install:
- npm config set progress false
script:
- npm run coverage
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ This is my personal skeleton for creating an ES2015 library npm package. You ar
* eslint-watch
* flow
* flow-watch
* Travis CI
* Coveralls

The `prepublish` script checks the output of `eslint` and `flow` and runs tests.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"babel-preset-stage-1": "^6.16.0",
"babel-runtime": "^6.11.6",
"chai": "^3.5.0",
"coveralls": "^2.11.14",
"eslint": "^3.7.0",
"eslint-config-andy": "github:jedwards1211/eslint-config-andy#2.0.0-beta7",
"eslint-watch": "^2.1.14",
Expand Down
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/* @flow */

process.stdout.write('Hello world!')
7 changes: 7 additions & 0 deletions test/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import '../src/index'

describe('test setup', () => {
it('works', () => {

})
})

0 comments on commit f86fc87

Please sign in to comment.