Remove prepublish script. Closes #363

This commit is contained in:
Brian Carlson 2013-06-03 11:42:49 -05:00
parent 9dd02829a0
commit 43a8cd196f
2 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,7 @@ params := $(connectionString)
node-command := xargs -n 1 -I file node file $(params)
.PHONY : test test-connection test-integration bench test-native \
build/default/binding.node jshint upgrade-pg
build/default/binding.node jshint upgrade-pg publish
all:
npm install
@ -64,3 +64,7 @@ prepare-test-db:
jshint:
@echo "***Starting jshint***"
@./node_modules/.bin/jshint lib
publish:
@rm -r build || (exit 0)
@npm publish

View File

@ -27,7 +27,6 @@
},
"scripts": {
"test": "make test-travis connectionString=pg://postgres@localhost:5432/postgres",
"prepublish": "rm -r build || (exit 0)",
"install": "node-gyp rebuild || (exit 0)"
},
"engines": {