Permalink
Browse files

Added support for 'npm test'.

  • Loading branch information...
1 parent d078e83 commit 812e38255d0a66d94b3751537b56e066c5bdbbea @brianmcd committed Jan 6, 2012
Showing with 4 additions and 1 deletion.
  1. +1 −1 Makefile
  2. +3 −0 package.json
View
@@ -9,4 +9,4 @@ build: src/contextify.cc
node-waf distclean && node-waf configure build
test:
- node_modules/.bin/nodeunit test/
+ npm test
View
@@ -12,6 +12,9 @@
"url": "https://github.com/brianmcd/contextify.git"
},
"main": "./lib/contextify",
+ "scripts": {
+ "test": "nodeunit test/"
+ },
"engines": {
"node": ">=0.4.0"
},

0 comments on commit 812e382

Please sign in to comment.