--- a/package.json +++ b/package.json @@ -8,13 +8,16 @@ "publishConfig": { "access": "public" }, + "files": [ + "index.js", + "index.d.ts", + "build/Release/queryparser.node" + ], "scripts": { "configure": "node-gyp configure", "build": "node-gyp configure build", "rebuild": "node-gyp configure rebuild", - "test": "mocha --timeout 5000", - "preinstall": "script/buildAddon.sh", - "postinstall": "node-gyp rebuild" + "test": "mocha --timeout 5000" }, "author": "Dan Lynch (http://github.com/pyramation)", "license": "LICENSE IN LICENSE", @@ -25,9 +28,7 @@ "devDependencies": { "chai": "^3.5.0", "lodash": "^4.17.15", - "mocha": "^5.2.0" - }, - "dependencies": { + "mocha": "^5.2.0", "node-addon-api": "^1.6.3", "node-gyp": "^8.0.0" },