Skip to content
This repository was archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
update test script config
Browse files Browse the repository at this point in the history
  • Loading branch information
keppel committed Sep 3, 2019
1 parent 36abcdb commit 67c1125
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
.nyc_output
coverage/
coverage.lcov
src/*.js
dist/
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use strict'

module.exports = require('./src/index.js')
module.exports.createDepositOutput = require('./src/reserve.js').createOutput
module.exports.relay = require('./src/relay.js')
Expand Down
104 changes: 102 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
},
"scripts": {
"pretest": "tsc",
"test": "nyc ava dist/test/*.js",
"posttest": "nyc report --reporter=json"
"test": "nyc ava dist/test/*.js && nyc report > coverage.lcov"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 67c1125

Please sign in to comment.