[minor] Use prebuild

This commit is contained in:
Luigi Pinca
2017-02-07 16:05:26 +01:00
parent dc951cebcb
commit 13d30b511d
3 changed files with 12 additions and 4 deletions
+3 -2
View File
@@ -1,3 +1,4 @@
node_modules/
prebuilds/
build/
npm-debug.log
node_modules
build
+1
View File
@@ -1,3 +1,4 @@
prebuilds/
build/
appveyor.yml
.*
+8 -2
View File
@@ -4,7 +4,8 @@
"description": "WebSocket buffer utils",
"main": "index.js",
"scripts": {
"test": "echo \"Only testing builds, tests have to be extraced from ws\""
"install": "prebuild-install || node-gyp rebuild",
"test": "echo \"Only testing builds, tests have to be extraced from ws\" && prebuild-ci"
},
"repository": {
"type": "git",
@@ -21,6 +22,11 @@
"homepage": "https://github.com/websockets/bufferutil",
"dependencies": {
"bindings": "~1.2.1",
"nan": "~2.5.0"
"nan": "~2.5.0",
"prebuild-install": "~2.1.0"
},
"devDependencies": {
"prebuild": "~6.0.2",
"prebuild-ci": "~2.0.0"
}
}