| 1 | |
| 2 | |
| 3 | @@ -8,13 +8,16 @@
|
| 4 | "publishConfig": {
|
| 5 | "access": "public"
|
| 6 | },
|
| 7 | + "files": [
|
| 8 | + "index.js",
|
| 9 | + "index.d.ts",
|
| 10 | + "build/Release/queryparser.node"
|
| 11 | + ],
|
| 12 | "scripts": {
|
| 13 | "configure": "node-gyp configure",
|
| 14 | "build": "node-gyp configure build",
|
| 15 | "rebuild": "node-gyp configure rebuild",
|
| 16 | - "test": "mocha --timeout 5000",
|
| 17 | - "preinstall": "script/buildAddon.sh",
|
| 18 | - "postinstall": "node-gyp rebuild"
|
| 19 | + "test": "mocha --timeout 5000"
|
| 20 | },
|
| 21 | "author": "Dan Lynch <[email protected]> (http://github.com/pyramation)",
|
| 22 | "license": "LICENSE IN LICENSE",
|
| 23 | @@ -25,9 +28,7 @@
|
| 24 | "devDependencies": {
|
| 25 | "chai": "^3.5.0",
|
| 26 | "lodash": "^4.17.15",
|
| 27 | - "mocha": "^5.2.0"
|
| 28 | - },
|
| 29 | - "dependencies": {
|
| 30 | + "mocha": "^5.2.0",
|
| 31 | "node-addon-api": "^1.6.3",
|
| 32 | "node-gyp": "^8.0.0"
|
| 33 | },
|