mirror of
https://github.com/harish2704/npm-offline-registry.git
synced 2026-09-10 06:21:09 +00:00
added Command line wrapper which will use local regisry to install packages
This commit is contained in:
Executable
+3
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
npm i --registry http://localhost:8234/ $@
|
||||||
+2
-1
@@ -18,7 +18,8 @@
|
|||||||
"start": "node ./bin/www"
|
"start": "node ./bin/www"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"npm-offline-registry": "./bin/www"
|
"npm-offline-registry": "./bin/www",
|
||||||
|
"npm-offline-install": "./bin/npm-offline-install"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user