registry-sync
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "registry-sync", | ||
"version": "1.0.0", | ||
"description": "Synchronizes selected packages and their transitive dependencies from a remote NPM registry to a local folder.", | ||
"version": "1.0.1", | ||
"repository": "https://github.com/heikkipora/registry-sync", | ||
"bin": { | ||
"registry-serve": "bin/server", | ||
"registry-serve": "bin/serve", | ||
"registry-sync": "bin/sync" | ||
@@ -20,3 +19,10 @@ }, | ||
"semver": "5.3.0" | ||
} | ||
}, | ||
"keywords": [ | ||
"registry", | ||
"synchronize", | ||
"mirror", | ||
"private", | ||
"offline" | ||
] | ||
} |
@@ -6,2 +6,8 @@ # registry-sync | ||
Inspired by https://www.npmjs.com/package/npm-mirror, which unfortunately seems to be in hibernation and not compatible with the current registry.npmjs.org | ||
## Installation | ||
npm install -g npm-mirror | ||
## Usage | ||
@@ -21,3 +27,3 @@ | ||
Usage: bin/server [options] | ||
Usage: bin/serve [options] | ||
@@ -30,1 +36,5 @@ Options: | ||
--port [number] Local HTTP port to bind the server to (defaults to 3000) | ||
## Using a proper web server instead of bin/serve (recommended) | ||
Configure your web server to use `index.json` as index file name instead of `index.html`. |
10450
38