diff --git a/.npmignore b/.npmignore index 05b181283..9416cb350 100644 --- a/.npmignore +++ b/.npmignore @@ -1,7 +1,7 @@ .gitignore .npmignore node_modules -lib/binding +#lib/binding build test benchmark @@ -17,4 +17,12 @@ local.env setup.sh cloudformation/ci.template.js appveyor.yml -.vscode \ No newline at end of file +.vscode +#ark +build-tmp-napi-v3 +build-tmp-napi-v6 +deps +scripts +tools +Dockerfile +src \ No newline at end of file diff --git a/package.json b/package.json index 083cd6f7c..26e870cd4 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,8 @@ "binary": { "module_name": "node_sqlite3", "module_path": "./lib/binding/napi-v{napi_build_version}-{platform}-{arch}", - "host": "https://mapbox-node-binary.s3.amazonaws.com", - "remote_path": "./{name}/v{version}/{toolset}/", + "host": "https://github.com/ark76r/node-sqlite3/releases/download", + "remote_path": "./v{version}", "package_name": "napi-v{napi_build_version}-{platform}-{arch}.tar.gz", "napi_versions": [ 3, @@ -38,10 +38,11 @@ ], "repository": { "type": "git", - "url": "git://github.com/mapbox/node-sqlite3.git" + "url": "https://github.com/ark76r/node-sqlite3.git" }, "dependencies": { "node-addon-api": "^3.0.0", + "node-gyp": "3.x", "node-pre-gyp": "^0.11.0" }, "devDependencies": { @@ -65,6 +66,7 @@ "install": "node-pre-gyp install --fallback-to-build", "pretest": "node test/support/createdb.js", "test": "mocha -R spec --timeout 480000", + "rebuild": "node-pre-gyp rebuild", "pack": "node-pre-gyp package" }, "license": "BSD-3-Clause",