We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/mafintosh/prebuild/blob/master/util.js#L37
Take leveldown for example:
leveldown's package.json
"scripts": { "install": "prebuild --install", "test": "mocha --expose-gc --slow 2000 --timeout 600000" },
$ npminstall -c
/path/to/prebuild-mirror-config.json example:
/path/to/prebuild-mirror-config.json
{ "leveldown": { "binary": { "host": "https://npm.taobao.org/mirrors/leveldown" } }, "couchbase": { "binary": { "host": "https://npm.taobao.org/mirrors/couchbase" } }, ... }
The text was updated successfully, but these errors were encountered:
cnpm/mirrors#91
Sorry, something went wrong.
This can also work for node-pre-gyp https://github.com/mapbox/node-pre-gyp/blob/master/lib/util/versioning.js#L277
https://github.com/mapbox/node-sqlite3/blob/master/package.json#L52
"scripts": { "prepublish":"npm ls", "install": "node-pre-gyp install --fallback-to-build", "pretest": "node test/support/createdb.js", "test": "mocha -R spec --timeout 480000" },
feat: Auto set China mirror for prebuild binary packages
a79db16
closes #45
4d75ee3
fengmk2
Successfully merging a pull request may close this issue.
https://github.com/mafintosh/prebuild/blob/master/util.js#L37
Take leveldown for example:
leveldown's package.json
/path/to/prebuild-mirror-config.json
example:The text was updated successfully, but these errors were encountered: