We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dd0282 commit 43a8cd1Copy full SHA for 43a8cd1
Makefile
@@ -7,7 +7,7 @@ params := $(connectionString)
7
node-command := xargs -n 1 -I file node file $(params)
8
9
.PHONY : test test-connection test-integration bench test-native \
10
- build/default/binding.node jshint upgrade-pg
+ build/default/binding.node jshint upgrade-pg publish
11
12
all:
13
npm install
@@ -64,3 +64,7 @@ prepare-test-db:
64
jshint:
65
@echo "***Starting jshint***"
66
@./node_modules/.bin/jshint lib
67
+
68
+publish:
69
+ @rm -r build || (exit 0)
70
+ @npm publish
package.json
@@ -27,7 +27,6 @@
27
},
28
"scripts": {
29
"test": "make test-travis connectionString=pg://postgres@localhost:5432/postgres",
30
- "prepublish": "rm -r build || (exit 0)",
31
"install": "node-gyp rebuild || (exit 0)"
32
33
"engines": {
0 commit comments