[Pkg-javascript-commits] [node-sha.js] 166/237: add prepublish safety script

Bastien Roucariès rouca at moszumanska.debian.org
Fri May 5 09:03:51 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 84bde3cb011f2370034c135727d602522d34e078
Author: Dominic Tarr <dominic.tarr at gmail.com>
Date:   Tue Nov 18 12:11:36 2014 +0100

    add prepublish safety script
---
 package.json | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package.json b/package.json
index 1e5807d..29e0544 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
   },
   "bin": "./bin.js",
   "scripts": {
+    "prepublish": "npm ls && npm test",
     "test": "set -e; for t in test/*.js; do node $t; done;"
   },
   "author": "Dominic Tarr <dominic.tarr at gmail.com> (dominictarr.com)",

-- 
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