added Command line wrapper which will use local regisry to install packages

This commit is contained in:
2016-05-04 10:23:37 +05:30
parent 8327d070dc
commit 4770262171
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
npm i --registry http://localhost:8234/ $@
+2 -1
View File
@@ -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",