From a033f3478f2197e7799409caa0b461f8f1f1b9d2 Mon Sep 17 00:00:00 2001 From: Lars-Magnus Skog Date: Mon, 18 Jan 2016 00:15:48 +0100 Subject: [PATCH] add prebuild --- .gitignore | 1 + package.json | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 9985de0..092fcb6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ node_modules build deps/ npm-debug.log +prebuilds/ diff --git a/package.json b/package.json index 97a4c81..3c186b5 100644 --- a/package.json +++ b/package.json @@ -4,12 +4,16 @@ "description": "Fully maintained fuse bindings for Node that aims to cover the entire FUSE api", "main": "index.js", "scripts": { - "test": "standard && tape test/*.js" + "install": "prebuild --install", + "test": "standard && tape test/*.js", + "rebuild": "prebuild --compile", + "prebuild": "prebuild --all --strip --verbose" }, "gypfile": true, "dependencies": { "bindings": "^1.2.1", "nan": "^2.0.9", + "prebuild": "^2.8.1", "xtend": "^4.0.0" }, "devDependencies": {