[Pkg-javascript-commits] [node-expat] 74/371: package.json: scripts

Jonas Smedegaard dr at jones.dk
Sun Feb 28 09:59:46 UTC 2016


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

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

commit 9f7fc98365154c0aac0e10a0ad676ff189001e9c
Author: Astro <astro at spaceboyz.net>
Date:   Mon Jun 13 17:04:43 2011 +0200

    package.json: scripts
    
    thx to dodo
---
 install.sh   | 4 ----
 package.json | 5 ++++-
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/install.sh b/install.sh
deleted file mode 100755
index 8c8a895..0000000
--- a/install.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-node-waf configure
-node-waf build
diff --git a/package.json b/package.json
index da81d1e..325619e 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,10 @@
 ,"version": "1.3.1"
 ,"main": "./build/default/node-expat"
 ,"description": "NodeJS binding for fast XML parsing."
-,"scripts" : { "install" : "./install.sh" }
+,"scripts" : { "install": "node-waf configure build"
+	      ,"update": "node-waf build"
+	      ,"test": "node test.js"
+	     }
 ,"dependencies": []
 ,"repositories": [{ "type": "git"
 		   ,"path": "git://github.com/astro/node-expat.git"

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



More information about the Pkg-javascript-commits mailing list