[Pkg-javascript-commits] [node-sha.js] 197/237: adds standard

Bastien Roucariès rouca at moszumanska.debian.org
Fri May 5 09:03:59 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-sha.js.

commit 0041dbbd440c0f2e279c6a965485d1d841db3e9e
Author: Daniel Cousens <github at dcousens.com>
Date:   Fri May 29 23:06:08 2015 +1000

    adds standard
---
 .travis.yml  | 6 ++++++
 package.json | 7 +++++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 7a589da..1500ada 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,10 @@
 language: node_js
 node_js:
   - "0.10"
+  - "0.12"
+  - "iojs"
+env:
+  - TEST_SUITE=lint
+  - TEST_SUITE=unit
+script: "npm run-script $TEST_SUITE"
 
diff --git a/package.json b/package.json
index 395017e..0ef3ed8 100644
--- a/package.json
+++ b/package.json
@@ -13,13 +13,16 @@
   "devDependencies": {
     "buffer": "~2.3.2",
     "hash-test-vectors": "^1.3.1",
+    "standard": "^3.11.1",
     "tape": "~2.3.2",
     "typedarray": "0.0.6"
   },
   "bin": "./bin.js",
   "scripts": {
-    "prepublish": "npm ls && npm test",
-    "test": "set -e; for t in test/*.js; do node $t; done;"
+    "prepublish": "npm ls && npm run unit",
+    "lint": "standard",
+    "test": "npm run lint && npm run unit",
+    "unit": "set -e; for t in test/*.js; do node $t; done;"
   },
   "author": "Dominic Tarr <dominic.tarr at gmail.com> (dominictarr.com)",
   "license": "MIT"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-sha.js.git



More information about the Pkg-javascript-commits mailing list