From c3d45e9000ca6d8249b1f749f9269d2c4d1b65dc Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Thu, 6 Oct 2016 00:07:18 +1100 Subject: [PATCH] add standard test target --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 340d616..f9f7555 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,10 @@ "description": "Bitcoin BIP39: Mnemonic code for generating deterministic keys", "main": "index.js", "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", "contributors": [