add standard test target

This commit is contained in:
Daniel Cousens 2016-10-06 00:07:18 +11:00
parent 3d9d09d27a
commit c3d45e9000
1 changed files with 4 additions and 2 deletions

View File

@ -4,8 +4,10 @@
"description": "Bitcoin BIP39: Mnemonic code for generating deterministic keys", "description": "Bitcoin BIP39: Mnemonic code for generating deterministic keys",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "mocha --reporter list test/*.js", "compile": "browserify index.js -s bip39 > bip39.js",
"compile": "browserify index.js -s bip39 > bip39.js" "test": "npm run standard && npm run unit",
"unit": "mocha --reporter list test/*.js",
"standard": "standard"
}, },
"author": "Wei Lu", "author": "Wei Lu",
"contributors": [ "contributors": [