diff --git a/package.json b/package.json index 43a59997..78cb6eb4 100644 --- a/package.json +++ b/package.json @@ -64,8 +64,8 @@ "lint": "eslint . && remark .", "install": "npm run rebuild-node", "build": "npm run build-node && npm run build-browser", - "build-node": "node build-native", - "rebuild-node": "node build-native --rebuild", + "build-node": "node tools/build-native", + "rebuild-node": "node tools/build-native --rebuild", "build-browser": "webpack --progress --colors", "prepublish": "npm run build-browser", "pretest": "npm run build-node" diff --git a/build-native.js b/tools/build-native.js old mode 100644 new mode 100755 similarity index 98% rename from build-native.js rename to tools/build-native.js index 1f20b7b5..765739db --- a/build-native.js +++ b/tools/build-native.js @@ -1,3 +1,5 @@ +#!/usr/bin/env node + 'use strict'; const fs = require('fs');