{"_id":"smart-npm","_rev":"34-2a8962e95729f2b9cafc31778682893a","name":"smart-npm","description":"Auto switch registry according your npm command.","dist-tags":{"latest":"3.0.2","next":"1.0.1"},"versions":{"0.0.3":{"name":"smart-npm","description":"Auto switch registry according your npm command.","version":"0.0.3","homepage":"https://github.com/qiu8310/smart-npm","bugs":{"url":"https://github.com/qiu8310/smart-npm/issues"},"license":"MIT","main":"bin/cli.js","preferGlobal":true,"author":{"name":"Zhonglei Qiu","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","url":"https://github.com/qiu8310/smart-npm"},"keywords":["smart-npm","npm","cnpm","registry","china","proxy","taobao"],"dependencies":{"cnpm":"^3.0.1","cross-spawn":"^0.2.8","npm":"^2.7.5"},"devDependencies":{"gulp":"^3.8.8","gulp-util":"^3.0.1","gulp-bump":"^0.3.0","gulp-jscs":"^1.4.0","gulp-jshint":"^1.9.4","gulp-mocha":"^1.1.0","gulp-istanbul":"^0.5.0","coveralls":"^2.11.1","should":"^5.2.0","jshint-stylish":"^1.0.1","gulp-load-plugins":"^0.9.0","gulp-plumber":"^0.6.5"},"bin":{"npm":"bin/cli.js"},"scripts":{"docs":"jsdoc -c ./jsdoc.json ./README.md && echo 'code{padding: 2px 4px;font-size: 90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;}' >> ./docs/styles/jsdoc-default.css","coveralls":"gulp test && cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","test":"gulp test"},"gitHead":"ec44d0df3ff27b1c68de119ef257ca8d31e6714b","_id":"smart-npm@0.0.3","_shasum":"138f0c2830a805ee933bd8713a650dec1c14da3c","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.10.26","_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"dist":{"shasum":"138f0c2830a805ee933bd8713a650dec1c14da3c","tarball":"https://registry.npmjs.org/smart-npm/-/smart-npm-0.0.3.tgz","integrity":"sha512-cxL+46S9d2YYC/solWDv60S23A3ElTE2fb3ZAxDgQPLF/6nAgs5s5gN+Ni7JMTYwUDqBn5QrAr8hKSIb+2M1NA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDNs3WI7FcWgF3cAlh5iJkjgRJVxrDeif7svL/25MJjuAiEA9R/Yzafzih53SkZIvcUnSa8atOeCoxZyvVVNHeRXkuM="}]}},"0.0.4":{"name":"smart-npm","description":"Auto switch registry according your npm command.","version":"0.0.4","homepage":"https://github.com/qiu8310/smart-npm","bugs":{"url":"https://github.com/qiu8310/smart-npm/issues"},"license":"MIT","main":"bin/cli.js","preferGlobal":true,"author":{"name":"Zhonglei Qiu","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","url":"https://github.com/qiu8310/smart-npm"},"keywords":["smart-npm","npm","cnpm","registry","china","proxy","taobao"],"dependencies":{"cnpm":"^3.0.1","cross-spawn":"^0.2.8","npm":"^2.7.5"},"devDependencies":{"gulp":"^3.8.8","gulp-util":"^3.0.1","gulp-bump":"^0.3.0","gulp-jscs":"^1.4.0","gulp-jshint":"^1.9.4","gulp-mocha":"^1.1.0","gulp-istanbul":"^0.5.0","coveralls":"^2.11.1","should":"^5.2.0","jshint-stylish":"^1.0.1","gulp-load-plugins":"^0.9.0","gulp-plumber":"^0.6.5"},"bin":{"npm":"bin/cli.js"},"scripts":{"docs":"jsdoc -c ./jsdoc.json ./README.md && echo 'code{padding: 2px 4px;font-size: 90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;}' >> ./docs/styles/jsdoc-default.css","coveralls":"gulp test && cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","test":"gulp test"},"gitHead":"d77694165f4dd476806146e96513b4d478d968fe","_id":"smart-npm@0.0.4","_shasum":"6beaeab1a1f28aa5a045df3273bf55ed961b1dbf","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.10.26","_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"dist":{"shasum":"6beaeab1a1f28aa5a045df3273bf55ed961b1dbf","tarball":"https://registry.npmjs.org/smart-npm/-/smart-npm-0.0.4.tgz","integrity":"sha512-MlbCYMRggWbDydcgVtdGYlYegEk6KgVG42XaoekJ7ikRhCK0c6mr248kKY+1E2aS13/yTLb5aWivxDWrpqf7bw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDdv5mBpSIKdNxI13OCtGP2120oufDsyRf/meJX5Jh1nAiAmqx1HSszSp8JnMeFb3KpAIGOWpgPorLPwWA+C7ueCZQ=="}]}},"0.0.6":{"name":"smart-npm","description":"Auto switch registry according your npm command.","version":"0.0.6","homepage":"https://github.com/qiu8310/smart-npm","bugs":{"url":"https://github.com/qiu8310/smart-npm/issues"},"license":"MIT","main":"bin/cli.js","preferGlobal":true,"author":{"name":"Zhonglei Qiu","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","url":"https://github.com/qiu8310/smart-npm"},"keywords":["smart-npm","npm","cnpm","registry","china","proxy","taobao"],"dependencies":{"cnpm":"^3.0.1","cross-spawn":"^0.2.8","npm":"^2.7.5"},"devDependencies":{"gulp":"^3.8.8","gulp-util":"^3.0.1","gulp-bump":"^0.3.0","gulp-jscs":"^1.4.0","gulp-jshint":"^1.9.4","gulp-mocha":"^1.1.0","gulp-istanbul":"^0.5.0","coveralls":"^2.11.1","should":"^5.2.0","jshint-stylish":"^1.0.1","gulp-load-plugins":"^0.9.0","gulp-plumber":"^0.6.5"},"bin":{"npm":"bin/cli.js"},"scripts":{"docs":"jsdoc -c ./jsdoc.json ./README.md && echo 'code{padding: 2px 4px;font-size: 90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;}' >> ./docs/styles/jsdoc-default.css","coveralls":"gulp test && cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","test":"gulp test"},"gitHead":"72d59274e23a17c1f181ed2dd5a26affd9fd3e7a","_id":"smart-npm@0.0.6","_shasum":"3e10e14169561f316298fae032e5a730e34b4879","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.10.26","_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"dist":{"shasum":"3e10e14169561f316298fae032e5a730e34b4879","tarball":"https://registry.npmjs.org/smart-npm/-/smart-npm-0.0.6.tgz","integrity":"sha512-rxY51+a3pFQgKzqOvUGmosWki0K5vVektA5xpgpT8X4mgxM8nYWY7Xbd1xfS1zUhg2k2fH3qunAHBXwDdKaWBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICIaspD4Sfz/cxaCWXumdmnUADixGk1q/WpWMdDWsfzDAiEA0/apbl5vp+lYIaEp4NeW2lIhpl80EFWEd91g4OIUC2U="}]}},"0.0.7":{"name":"smart-npm","description":"Auto switch registry according your npm command.","version":"0.0.7","homepage":"https://github.com/qiu8310/smart-npm","bugs":{"url":"https://github.com/qiu8310/smart-npm/issues"},"license":"MIT","main":"bin/cli.js","preferGlobal":true,"author":{"name":"Zhonglei Qiu","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","url":"https://github.com/qiu8310/smart-npm"},"keywords":["smart-npm","npm","cnpm","registry","china","proxy","taobao"],"dependencies":{"cnpm":"^3.0.1","cross-spawn":"^0.2.8","npm":"^2.7.5"},"devDependencies":{"gulp":"^3.8.8","gulp-util":"^3.0.1","gulp-bump":"^0.3.0","gulp-jscs":"^1.4.0","gulp-jshint":"^1.9.4","gulp-mocha":"^1.1.0","gulp-istanbul":"^0.5.0","coveralls":"^2.11.1","should":"^5.2.0","jshint-stylish":"^1.0.1","gulp-load-plugins":"^0.9.0","gulp-plumber":"^0.6.5"},"bin":{"npm":"bin/cli.js","npm-original":"./node_modules/.bin/npm"},"scripts":{"install":"node ./node_modules/.bin/npm config set registry http://registry.npm.taobao.org/","postuninstall":"node ./node_modules/.bin/npm config delete registry","docs":"jsdoc -c ./jsdoc.json ./README.md && echo 'code{padding: 2px 4px;font-size: 90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;}' >> ./docs/styles/jsdoc-default.css","coveralls":"gulp test && cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","test":"gulp test"},"gitHead":"18233c9e449933df9b4bc9b829fecd5b9a6199c4","_id":"smart-npm@0.0.7","_shasum":"b6dc4c45a2945e9ab7b885e1488e65f269829749","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.10.26","_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"dist":{"shasum":"b6dc4c45a2945e9ab7b885e1488e65f269829749","tarball":"https://registry.npmjs.org/smart-npm/-/smart-npm-0.0.7.tgz","integrity":"sha512-ogsMnTho0QThtqg3JLDHLCnET+b6njVe2bQLF9D4xU8XqyrlkBNdSDYqkXjyAZDZ6opvUs5oK9RWSvJkkrAbmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDS8wPFf9YUbmFRxWGE43bOdZn9DSdfxu9aaDpwjN2gBAiEAiCpwFyUbLdHsCjYADRFpdI17GdbmxKS0unAhrtY38HY="}]}},"0.1.0":{"name":"smart-npm","description":"Auto switch registry according your npm command.","version":"0.1.0","homepage":"https://github.com/qiu8310/smart-npm","bugs":{"url":"https://github.com/qiu8310/smart-npm/issues"},"license":"MIT","main":"bin/cli.js","preferGlobal":true,"author":{"name":"Zhonglei Qiu","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","url":"https://github.com/qiu8310/smart-npm"},"keywords":["smart-npm","npm","cnpm","registry","china","proxy","taobao"],"dependencies":{"cnpm":"^3.0.1","cross-spawn":"^0.2.8","npm":"^2.7.5"},"devDependencies":{"gulp":"^3.8.8","gulp-util":"^3.0.1","gulp-bump":"^0.3.0","gulp-jscs":"^1.4.0","gulp-jshint":"^1.9.4","gulp-mocha":"^1.1.0","gulp-istanbul":"^0.5.0","coveralls":"^2.11.1","should":"^5.2.0","jshint-stylish":"^1.0.1","gulp-load-plugins":"^0.9.0","gulp-plumber":"^0.6.5"},"bin":{"npm":"bin/cli.js"},"scripts":{"preinstall":"npm config set registry http://registry.npm.taobao.org/ && node ./scripts/install.js","postuninstall":"node ./scripts/uninstall.js && npm config delete registry","docs":"jsdoc -c ./jsdoc.json ./README.md && echo 'code{padding: 2px 4px;font-size: 90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;}' >> ./docs/styles/jsdoc-default.css","coveralls":"gulp test && cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","test":"gulp test"},"gitHead":"fde84bef8f18194fe7a91b5e285b8802fd9129c4","_id":"smart-npm@0.1.0","_shasum":"fc87196a69650f4a8bcaf499d8c806faf650ec64","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.10.26","_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"dist":{"shasum":"fc87196a69650f4a8bcaf499d8c806faf650ec64","tarball":"https://registry.npmjs.org/smart-npm/-/smart-npm-0.1.0.tgz","integrity":"sha512-FAbMQNF8da5w/eaSFeYvuSb/3HuVTQh9zPQ0JpGG1Ulv6iIj2e8mefzlVYCfPF2ODtLSyd1ScdJ1cVDyTdrBHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDoZWjc80Fx7jj5K4y9leq8bM0MkGMQL6dhxcjfCO/iBAiEA+ptyGZb75C7FOUoHq2ki5MX52uGz9Y22MiMDaQcan4A="}]}},"1.0.0":{"name":"smart-npm","description":"Auto switch registry according your npm command.","version":"1.0.0","homepage":"https://github.com/qiu8310/smart-npm","bugs":{"url":"https://github.com/qiu8310/smart-npm/issues"},"license":"MIT","main":"bin/cli.js","preferGlobal":true,"author":{"name":"Zhonglei Qiu","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","url":"https://github.com/qiu8310/smart-npm"},"keywords":["smart-npm","npm","cnpm","registry","china","proxy","taobao"],"dependencies":{"cross-spawn":"^0.2.8","npm":"^2.7.5","npm-check":"^3.2.10","open":"0.0.5"},"devDependencies":{"coveralls":"^2.11.1","gulp":"^3.8.8","gulp-bump":"^0.3.0","gulp-istanbul":"^0.8.1","gulp-jscs":"^1.5.0","gulp-jshint":"^1.9.4","gulp-load-plugins":"^0.9.0","gulp-mocha":"^2.0.1","gulp-plumber":"^1.0.0","gulp-util":"^3.0.1","jshint-stylish":"^1.0.1","should":"^5.2.0"},"bin":{"npm":"bin/smart-npm.js"},"scripts":{"preinstall":"npm config set registry http://registry.npm.taobao.org/ && node ./scripts/install.js","postuninstall":"node ./scripts/uninstall.js && npm config delete registry","docs":"jsdoc -c ./jsdoc.json ./README.md && echo 'code{padding: 2px 4px;font-size: 90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;}' >> ./docs/styles/jsdoc-default.css","coveralls":"gulp test && cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","test":"gulp test"},"gitHead":"16de6d32a2f34be6693d4c9d57431d13455bfeab","_id":"smart-npm@1.0.0","_shasum":"8271848765c5a8344bd71077a593d22912e652a7","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.10.26","_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"dist":{"shasum":"8271848765c5a8344bd71077a593d22912e652a7","tarball":"https://registry.npmjs.org/smart-npm/-/smart-npm-1.0.0.tgz","integrity":"sha512-pMfOgqqgAxYFULxXijQpaVaqkRii+Y4IXSNWj5TZV/fqsmRdecoJ1+0+Gj7UExK1Veyf8EFE6u1LmG2ViKXFEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBiUVYJdvaOeMfuH4Z3wfyEWulRyJUNyMBdSfiWe4Dj8AiAGjmCuOonmOY42oQsUCcrwINgeAbD9/jHPRjXtzH+Slw=="}]}},"1.0.1":{"name":"smart-npm","description":"Auto switch registry according your npm command.","version":"1.0.1","homepage":"https://github.com/qiu8310/smart-npm","bugs":{"url":"https://github.com/qiu8310/smart-npm/issues"},"license":"MIT","main":"bin/cli.js","preferGlobal":true,"author":{"name":"Zhonglei Qiu","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","url":"https://github.com/qiu8310/smart-npm"},"keywords":["smart-npm","npm","cnpm","registry","china","proxy","taobao"],"dependencies":{"cross-spawn":"^0.2.8","npm":"^2.7.5","npm-check":"^3.2.10","open":"0.0.5"},"devDependencies":{"coveralls":"^2.11.1","gulp":"^3.8.8","gulp-bump":"^0.3.0","gulp-istanbul":"^0.8.1","gulp-jscs":"^1.5.0","gulp-jshint":"^1.9.4","gulp-load-plugins":"^0.9.0","gulp-mocha":"^2.0.1","gulp-plumber":"^1.0.0","gulp-util":"^3.0.1","jshint-stylish":"^1.0.1","should":"^5.2.0"},"bin":{"npm":"bin/smart-npm.js"},"scripts":{"preinstall":"npm config set registry http://registry.npm.taobao.org/ && node ./scripts/helper.js preinstall","postinstall":"node ./scripts/helper.js postinstall","postuninstall":"node ./scripts/helper.js postuninstall && npm config delete registry","docs":"jsdoc -c ./jsdoc.json ./README.md && echo 'code{padding: 2px 4px;font-size: 90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;}' >> ./docs/styles/jsdoc-default.css","coveralls":"gulp test && cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","test":"gulp test"},"gitHead":"b681387311864da47a74ac4b64e19228dbc3d22f","_id":"smart-npm@1.0.1","_shasum":"90b43939e80a5d7f1fafb9e6fa47b6793d40736c","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"dist":{"shasum":"90b43939e80a5d7f1fafb9e6fa47b6793d40736c","tarball":"https://registry.npmjs.org/smart-npm/-/smart-npm-1.0.1.tgz","integrity":"sha512-Tk4gRa/U8zDEZ3oBry3PWW1k2fEgtzjS7PhTLX6gCKIogDe1mkVyQk6Ma4P2B0+LJTXi+/pz4SMFNl4NCPdoow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICRWeyCkPsDsO2qZhHuhOmcDCf8K7Fl52nwz80cyxuZKAiEAshOHGgFBlI6t0h0HATT4ICodfMXRT2nNnwdPEXcImqA="}]}},"1.1.0":{"name":"smart-npm","description":"Auto switch registry according your npm command.","version":"1.1.0","homepage":"https://github.com/qiu8310/smart-npm","bugs":{"url":"https://github.com/qiu8310/smart-npm/issues"},"license":"MIT","main":"bin/cli.js","preferGlobal":true,"author":{"name":"Zhonglei Qiu","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","url":"git+https://github.com/qiu8310/smart-npm.git"},"keywords":["smart-npm","npm","cnpm","registry","china","proxy","taobao"],"dependencies":{"cross-spawn":"^0.2.8","npm":"^2.8.3","npm-check":"^3.2.10","open":"0.0.5"},"devDependencies":{"coveralls":"^2.11.1","gulp":"^3.8.8","gulp-bump":"^0.3.0","gulp-istanbul":"^0.8.1","gulp-jscs":"^1.5.2","gulp-jshint":"^1.9.4","gulp-load-plugins":"^0.10.0","gulp-mocha":"^2.0.1","gulp-plumber":"^1.0.0","gulp-util":"^3.0.1","jshint-stylish":"^1.0.1","should":"^6.0.1"},"bin":{"npm":"bin/smart-npm.js"},"scripts":{"preinstall":"npm config set registry http://registry.npm.taobao.org/ && node ./scripts/helper.js preinstall","postinstall":"node ./scripts/helper.js postinstall","postuninstall":"node ./scripts/helper.js postuninstall && npm config delete registry","docs":"jsdoc -c ./jsdoc.json ./README.md && echo 'code{padding: 2px 4px;font-size: 90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;}' >> ./docs/styles/jsdoc-default.css","coveralls":"gulp test && cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","test":"gulp test"},"gitHead":"9c035f35e37db9f0ab57be22d729e4ec0f408960","_id":"smart-npm@1.1.0","_shasum":"3bacf4d1cde77f6a65d5aee678c73056eabc5f48","_from":".","_npmVersion":"2.8.3","_nodeVersion":"0.12.2","_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"dist":{"shasum":"3bacf4d1cde77f6a65d5aee678c73056eabc5f48","tarball":"https://registry.npmjs.org/smart-npm/-/smart-npm-1.1.0.tgz","integrity":"sha512-qnlNBpAa8IzY4ZxZZyBohIZse/L59asCCgGru/GXSE+fErL0fJc1GJP0LWa6y2Jm6rueArJ7reEDekurcsf0PA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBPK/z4P5ZrEwczTkdqtNmezs6UdYS04P8MRHLYGA0eTAiAkYiYW78hTDh5De1P5KbKc1C+wk6EizsX5YevCqzYeQw=="}]}},"1.2.0":{"name":"smart-npm","description":"Auto switch registry according your npm command.","version":"1.2.0","homepage":"https://github.com/qiu8310/smart-npm","bugs":{"url":"https://github.com/qiu8310/smart-npm/issues"},"license":"MIT","main":"bin/cli.js","preferGlobal":true,"author":{"name":"Zhonglei Qiu","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","url":"git+https://github.com/qiu8310/smart-npm.git"},"keywords":["smart-npm","npm","cnpm","registry","china","proxy","taobao"],"dependencies":{"cross-spawn":"^0.2.8","npm":"^2.8.3","npm-check":"^3.2.10","open":"0.0.5"},"devDependencies":{"coveralls":"^2.11.1","gulp":"^3.8.8","gulp-bump":"^0.3.0","gulp-istanbul":"^0.8.1","gulp-jscs":"^1.5.2","gulp-jshint":"^1.9.4","gulp-load-plugins":"^0.10.0","gulp-mocha":"^2.0.1","gulp-plumber":"^1.0.0","gulp-util":"^3.0.1","jshint-stylish":"^1.0.1","should":"^6.0.1"},"bin":{"npm":"bin/smart-npm.js"},"scripts":{"preinstall":"npm config set registry http://registry.npm.taobao.org/","postuninstall":"npm config delete registry","docs":"jsdoc -c ./jsdoc.json ./README.md && echo 'code{padding: 2px 4px;font-size: 90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;}' >> ./docs/styles/jsdoc-default.css","coveralls":"gulp test && cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","test":"gulp test"},"gitHead":"23956f1d33492eb71c9a7030f697442b207dd909","_id":"smart-npm@1.2.0","_shasum":"786e24b2de808d0c3769785d98b823c82f7e0bfb","_from":".","_npmVersion":"2.8.3","_nodeVersion":"0.12.2","_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"dist":{"shasum":"786e24b2de808d0c3769785d98b823c82f7e0bfb","tarball":"https://registry.npmjs.org/smart-npm/-/smart-npm-1.2.0.tgz","integrity":"sha512-yWMIdlnQ1LTiZTg93vs0gkneseop4WSTNlVV8uU1pX9mSN50ZC0W5c2P9BF1axYIftu36y756z2xg+rQx9WVFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHH2XSppuvl9RYAE1UYTPD32CU4tYI+9ysiXIhJdtXChAiEAmbeJJ9UacXfb3BzlopG9M+dntTdRz9il+6vSURie6Q4="}]}},"1.2.1":{"name":"smart-npm","description":"Auto switch registry according your npm command.","version":"1.2.1","homepage":"https://github.com/qiu8310/smart-npm","bugs":{"url":"https://github.com/qiu8310/smart-npm/issues"},"license":"MIT","main":"bin/cli.js","preferGlobal":true,"author":{"name":"Zhonglei Qiu","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","url":"git+https://github.com/qiu8310/smart-npm.git"},"keywords":["smart-npm","npm","cnpm","registry","china","proxy","taobao"],"dependencies":{"cross-spawn":"^0.2.8","npm":"latest","npm-check":"^3.2.10","open":"0.0.5"},"devDependencies":{"coveralls":"^2.11.1","gulp":"^3.8.8","gulp-bump":"^0.3.0","gulp-istanbul":"^0.8.1","gulp-jscs":"^1.5.2","gulp-jshint":"^1.9.4","gulp-load-plugins":"^0.10.0","gulp-mocha":"^2.0.1","gulp-plumber":"^1.0.0","gulp-util":"^3.0.1","jshint-stylish":"^1.0.1","should":"^6.0.1"},"bin":{"npm":"bin/smart-npm.js"},"scripts":{"preinstall":"npm config set registry http://registry.npm.taobao.org/","postuninstall":"npm config delete registry","docs":"jsdoc -c ./jsdoc.json ./README.md && echo 'code{padding: 2px 4px;font-size: 90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;}' >> ./docs/styles/jsdoc-default.css","coveralls":"gulp test && cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","test":"gulp test"},"gitHead":"3d17ff295351ab0a6058a83a6d2c295c2b604d4d","_id":"smart-npm@1.2.1","_shasum":"318f64e6184dc404c5682a017ed4a29a879d2ffa","_from":".","_npmVersion":"2.8.3","_nodeVersion":"0.12.2","_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"dist":{"shasum":"318f64e6184dc404c5682a017ed4a29a879d2ffa","tarball":"https://registry.npmjs.org/smart-npm/-/smart-npm-1.2.1.tgz","integrity":"sha512-u6nMZndWKxnMCU4FEQuvPjaAlTw/Edc2OAZ1451G9bY2R7U+sK/P2ejuVZOXn8iJ6peQfnWyrh2B+HEfPK4RGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAy4iHf2kDGfoqkc2l0DtrjJgxXADiT2RcZzLkfHJFvKAiEAu7OKdvKazB9ivSoNFe/pGwtzKcR/dVIm8wpZHF0PRzc="}]}},"1.2.2":{"name":"smart-npm","description":"Auto switch registry according your npm command.","version":"1.2.2","homepage":"https://github.com/qiu8310/smart-npm","bugs":{"url":"https://github.com/qiu8310/smart-npm/issues"},"license":"MIT","main":"bin/cli.js","preferGlobal":true,"author":{"name":"Zhonglei Qiu","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","url":"git+https://github.com/qiu8310/smart-npm.git"},"keywords":["smart-npm","npm","cnpm","registry","china","proxy","taobao"],"dependencies":{"cross-spawn":"^0.2.8","npm":"latest","npm-check":"^4.1.2","open":"0.0.5"},"devDependencies":{"coveralls":"^2.11.1","gulp":"^3.8.8","gulp-bump":"^0.3.0","gulp-istanbul":"^0.8.1","gulp-jscs":"^1.5.2","gulp-jshint":"^1.9.4","gulp-load-plugins":"^0.10.0","gulp-mocha":"^2.0.1","gulp-plumber":"^1.0.0","gulp-util":"^3.0.1","jshint-stylish":"^1.0.1","should":"^6.0.1"},"bin":{"npm":"bin/smart-npm.js"},"scripts":{"preinstall":"npm config set registry http://registry.npm.taobao.org/","postuninstall":"npm config delete registry","docs":"jsdoc -c ./jsdoc.json ./README.md && echo 'code{padding: 2px 4px;font-size: 90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;}' >> ./docs/styles/jsdoc-default.css","coveralls":"gulp test && cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","test":"gulp test"},"gitHead":"9872da72983c73fc04f9ab4e76f5f4fbccdb0a45","_id":"smart-npm@1.2.2","_shasum":"83b8fe8bc87778ebd9bbfd702acff75ddcd29d47","_from":".","_npmVersion":"3.3.8","_nodeVersion":"2.2.1","_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"dist":{"shasum":"83b8fe8bc87778ebd9bbfd702acff75ddcd29d47","tarball":"https://registry.npmjs.org/smart-npm/-/smart-npm-1.2.2.tgz","integrity":"sha512-lQn51SXub7ivF4tDUDwo6b6YaHxc9Z3QZzDpegIuYUlhFA+CzmOrt8e6UR5JFC5M7MPLfAfE9Yc58/oSZ5Mu9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFVvG3tfEwKXQuKZS8mnnOZR8a067kdgHRV3orN1VQGsAiEAiFPwS5goQhsc8lWtJB2pD6ZiYXHAyJJHq8aoR7R7WXk="}]},"maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}]},"1.2.4":{"name":"smart-npm","description":"Auto switch registry according your npm command.","version":"1.2.4","homepage":"https://github.com/qiu8310/smart-npm","bugs":{"url":"https://github.com/qiu8310/smart-npm/issues"},"license":"MIT","main":"bin/cli.js","preferGlobal":true,"author":{"name":"Zhonglei Qiu","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","url":"git+https://github.com/qiu8310/smart-npm.git"},"keywords":["smart-npm","npm","cnpm","registry","china","proxy","taobao"],"dependencies":{"cross-spawn":"^0.2.8","npm":"latest","npm-check":"^4.1.2","open":"0.0.5"},"devDependencies":{"coveralls":"^2.11.1","gulp":"^3.8.8","gulp-bump":"^0.3.0","gulp-istanbul":"^0.8.1","gulp-jscs":"^1.5.2","gulp-jshint":"^1.9.4","gulp-load-plugins":"^0.10.0","gulp-mocha":"^2.0.1","gulp-plumber":"^1.0.0","gulp-util":"^3.0.1","jshint-stylish":"^1.0.1","should":"^6.0.1"},"bin":{"npm":"bin/smart-npm.js"},"scripts":{"preinstall":"npm config set registry https://registry.npm.taobao.org/","postuninstall":"npm config delete registry","docs":"jsdoc -c ./jsdoc.json ./README.md && echo 'code{padding: 2px 4px;font-size: 90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;}' >> ./docs/styles/jsdoc-default.css","coveralls":"gulp test && cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","test":"gulp test"},"gitHead":"3eee462092671e6d2a31fc0889762041b909cdde","_id":"smart-npm@1.2.4","_shasum":"cca9ef88c42e06489e36bf6637ad58b6a40e313d","_from":".","_npmVersion":"2.14.8","_nodeVersion":"2.2.1","_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"dist":{"shasum":"cca9ef88c42e06489e36bf6637ad58b6a40e313d","tarball":"https://registry.npmjs.org/smart-npm/-/smart-npm-1.2.4.tgz","integrity":"sha512-nYHopnVA/6hIENiNG9XB6Ys43CX8MyEmGi2S9Ps7FpbK6E+7faDhGUm+exP6DKJXqhW+URjyhbhXt3mszuPlmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1t4kk37jufF/YA/onX57YgDniLeQu0Z6oFFehbq5dFQIhALcKpx/v5B3m1GcxRh+HvCt+QtJs2b3ZCYMwnDrpjzno"}]},"maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}]},"2.0.0-alpha.1":{"name":"smart-npm","description":"Auto switch registry according your npm command.","version":"2.0.0-alpha.1","homepage":"https://github.com/qiu8310/smart-npm","bugs":{"url":"https://github.com/qiu8310/smart-npm/issues"},"license":"MIT","main":"bin/smart-npm.js","preferGlobal":true,"author":{"name":"Zhonglei Qiu","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","url":"git+https://github.com/qiu8310/smart-npm.git"},"keywords":["smart-npm","npm","cnpm","registry","china","proxy","taobao"],"dependencies":{"cross-spawn":"^0.2.8","npm":"latest","npm-check":"^5.2.1","open":"0.0.5"},"devDependencies":{"coveralls":"^2.11.1","gulp":"^3.8.8","gulp-bump":"^0.3.0","gulp-istanbul":"^0.8.1","gulp-jscs":"^1.5.2","gulp-jshint":"^1.9.4","gulp-load-plugins":"^0.10.0","gulp-mocha":"^2.0.1","gulp-plumber":"^1.0.0","gulp-util":"^3.0.1","jshint-stylish":"^1.0.1","should":"^6.0.1"},"bin":{"smart-npm":"bin/smart-npm.js"},"scripts":{"preinstall":"npm config set registry https://registry.npm.taobao.org/","postinstall":"node scripts/helper.js postinstall","postuninstall":"npm config delete registry","docs":"jsdoc -c ./jsdoc.json ./README.md && echo 'code{padding: 2px 4px;font-size: 90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;}' >> ./docs/styles/jsdoc-default.css","coveralls":"gulp test && cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","test":"gulp test"},"gitHead":"bfff029ebeeec9fa81572823654c203c259eafda","_id":"smart-npm@2.0.0-alpha.1","_shasum":"74cb23496f907368eea6021aa124e10ae44079a3","_from":".","_npmVersion":"3.8.7","_nodeVersion":"6.0.0","_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"dist":{"shasum":"74cb23496f907368eea6021aa124e10ae44079a3","tarball":"https://registry.npmjs.org/smart-npm/-/smart-npm-2.0.0-alpha.1.tgz","integrity":"sha512-ZOBjDYzyFlIFg9Abs+47EDBjuq94TV+hBhLhUMG8c/Q2b2MCkuH/pEXG6Vp/NQMVsPpk1jCUcSHSB2ubne4SDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiD9LmKfmqprDoLw1OIqhKiJB7/xBdZu8F+ZnoZCVnJgIgCJG2EOi8ca7rChh8Iyuhqtl2JmjpYy/j7GHyQ4xQMIk="}]},"maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/smart-npm-2.0.0-alpha.1.tgz_1461746243053_0.8390820680651814"}},"2.0.0":{"name":"smart-npm","description":"Auto switch registry according your npm command.","version":"2.0.0","homepage":"https://github.com/qiu8310/smart-npm","bugs":{"url":"https://github.com/qiu8310/smart-npm/issues"},"license":"MIT","main":"bin/smart-npm.js","preferGlobal":true,"author":{"name":"Zhonglei Qiu","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","url":"git+https://github.com/qiu8310/smart-npm.git"},"keywords":["smart-npm","npm","cnpm","registry","china","proxy","taobao"],"dependencies":{"cross-spawn":"^0.2.8","npm":"latest","npm-check":"^5.2.1","open":"0.0.5"},"devDependencies":{"coveralls":"^2.11.1","gulp":"^3.8.8","gulp-bump":"^0.3.0","gulp-istanbul":"^0.8.1","gulp-jscs":"^1.5.2","gulp-jshint":"^1.9.4","gulp-load-plugins":"^0.10.0","gulp-mocha":"^2.0.1","gulp-plumber":"^1.0.0","gulp-util":"^3.0.1","jshint-stylish":"^1.0.1","should":"^6.0.1"},"bin":{"smart-npm":"bin/smart-npm.js"},"scripts":{"preinstall":"npm config set registry https://registry.npm.taobao.org/","postinstall":"node scripts/helper.js postinstall","postuninstall":"npm config delete registry","docs":"jsdoc -c ./jsdoc.json ./README.md && echo 'code{padding: 2px 4px;font-size: 90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;}' >> ./docs/styles/jsdoc-default.css","coveralls":"gulp test && cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","test":"gulp test"},"gitHead":"2de57ee113748cf689b4a690a27cc98a7d962de1","_id":"smart-npm@2.0.0","_shasum":"a772e892f7fce774963a70f09ed6a37e593399f3","_from":".","_npmVersion":"3.8.7","_nodeVersion":"6.0.0","_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"dist":{"shasum":"a772e892f7fce774963a70f09ed6a37e593399f3","tarball":"https://registry.npmjs.org/smart-npm/-/smart-npm-2.0.0.tgz","integrity":"sha512-Yl+IjzdUc3pgjEgJJ3VvP+aPoAEhOZwlDgdn828WrYboKEEqR/FFE+k7txV+8j5zHvfGuJSKToCrbQ4m8f+pXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlKDXCXkb52NP9ryrlA456ww9xK5ed/wxEUi2jj4MN9gIhAO7deMz9pXCFG26YPumL0zJp53OB7ryFSwK1EDj7uC5A"}]},"maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/smart-npm-2.0.0.tgz_1461747787109_0.6907004013191909"}},"2.0.2":{"name":"smart-npm","description":"Auto switch registry according your npm command.","version":"2.0.2","homepage":"https://github.com/qiu8310/smart-npm","bugs":{"url":"https://github.com/qiu8310/smart-npm/issues"},"license":"MIT","main":"bin/smart-npm.js","preferGlobal":true,"author":{"name":"Zhonglei Qiu","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","url":"git+https://github.com/qiu8310/smart-npm.git"},"keywords":["smart-npm","npm","cnpm","registry","china","proxy","taobao"],"dependencies":{"cross-spawn":"^0.2.8","lac":"0.0.8","npm":"latest","npm-check":"^5.2.1","open":"0.0.5"},"devDependencies":{"coveralls":"^2.11.1","gulp":"^3.8.8","gulp-bump":"^0.3.0","gulp-istanbul":"^0.8.1","gulp-jscs":"^1.5.2","gulp-jshint":"^1.9.4","gulp-load-plugins":"^0.10.0","gulp-mocha":"^2.0.1","gulp-plumber":"^1.0.0","gulp-util":"^3.0.1","jshint-stylish":"^1.0.1","should":"^6.0.1"},"bin":{"smart-npm":"bin/smart-npm.js"},"scripts":{"preinstall":"npm config set registry https://registry.npm.taobao.org/","postinstall":"node scripts/helper.js postinstall","postuninstall":"npm config delete registry","docs":"jsdoc -c ./jsdoc.json ./README.md && echo 'code{padding: 2px 4px;font-size: 90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;}' >> ./docs/styles/jsdoc-default.css","coveralls":"gulp test && cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","test":"gulp test"},"gitHead":"b218afc3ddd74eea12e92b1f4a0b724f3ca4ca40","_id":"smart-npm@2.0.2","_shasum":"bcb2f7b6f058d645e40a0ff3e63cf62c775a5195","_from":".","_npmVersion":"3.8.7","_nodeVersion":"6.0.0","_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"dist":{"shasum":"bcb2f7b6f058d645e40a0ff3e63cf62c775a5195","tarball":"https://registry.npmjs.org/smart-npm/-/smart-npm-2.0.2.tgz","integrity":"sha512-vsNmbaUM6kQvxylmobUyVrRjNjH9F3+xAwGq+3synf1XaWmozxrRq0yiaMoq6Qr9GdJFzRG9gpBVJYz+daLYnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0JfIRcECFPg5uDIQMY/gRExXs7ZsRh8f8Lfz6bbpsFwIhANmKVI648920yjzrXmTke+KndwEgmeg6liygx0DKleTg"}]},"maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/smart-npm-2.0.2.tgz_1462445038726_0.9523280879948288"}},"3.0.0":{"name":"smart-npm","description":"Auto switch registry according your npm command.","version":"3.0.0","homepage":"https://github.com/qiu8310/smart-npm","bugs":{"url":"https://github.com/qiu8310/smart-npm/issues"},"license":"MIT","main":"bin/smart-npm.js","preferGlobal":true,"author":{"name":"Zhonglei Qiu","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","url":"git+https://github.com/qiu8310/smart-npm.git"},"keywords":["smart-npm","npm","cnpm","registry","china","proxy","taobao"],"dependencies":{"cross-spawn":"4.0.2","npm":"latest","npm-check":"5.4.0","open":"0.0.5","snyk":"^1.17.1"},"devDependencies":{"codecov":"1.0.1","coveralls":"2.11.14","eslint":"3.8.1","mocha":"3.1.2","nyc":"8.3.2","should":"11.1.1"},"bin":{"smart-npm":"bin/smart-npm.js","snpm":"bin/smart-npm.js"},"scripts":{"preinstall":"npm config set registry https://registry.npm.taobao.org/","postuninstall":"npm config delete registry","docs":"jsdoc -c ./jsdoc.json ./README.md && echo 'code{padding: 2px 4px;font-size: 90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;}' >> ./docs/styles/jsdoc-default.css","lint":"eslint lib/ bin/ test/","test:watch":"mocha -R dot --watch test/*.js","test":"nyc _mocha test/*.js","report":"nyc report --reporter=html","test:istanbul":"istanbul cover --report html --dir externals/coverage _mocha test/*.js","test:report":"npm run test && npm run report","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov"},"snyk":true,"gitHead":"15d633a2810221252d716742b812d8a112dfc7a9","_id":"smart-npm@3.0.0","_shasum":"9b92b0f7a8d5a7252b88aec3b326aee98ac8eef5","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.0.0","_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"dist":{"shasum":"9b92b0f7a8d5a7252b88aec3b326aee98ac8eef5","tarball":"https://registry.npmjs.org/smart-npm/-/smart-npm-3.0.0.tgz","integrity":"sha512-mQFaJP7gYbQJusFk4bKAV6ks+yXzAvPsHPNJu7hR70Yv582fFQJWTG8U0LsqqpA0PXGNDHbbsr+bWKblGOSQOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBevIayP94eF6HakGHL5xwfchy0+02UoCiRKBOzyMiyYAiEAsAm3Ucp4zPiyxu5jwyKL5Hg0ZbRLfSdh7PiUa/S0CWY="}]},"maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/smart-npm-3.0.0.tgz_1477292044700_0.20215199841186404"}},"3.0.1":{"name":"smart-npm","description":"Auto switch registry according your npm command.","version":"3.0.1","homepage":"https://github.com/qiu8310/smart-npm","bugs":{"url":"https://github.com/qiu8310/smart-npm/issues"},"license":"MIT","main":"bin/smart-npm.js","preferGlobal":true,"author":{"name":"Zhonglei Qiu","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","url":"git+https://github.com/qiu8310/smart-npm.git"},"keywords":["smart-npm","npm","cnpm","registry","china","proxy","taobao"],"dependencies":{"cross-spawn":"4.0.2","npm":"latest","npm-check":"5.4.0","open":"0.0.5","snyk":"^1.17.1"},"devDependencies":{"codecov":"1.0.1","coveralls":"2.11.14","eslint":"3.16.0","mocha":"3.1.2","nyc":"8.3.2","should":"11.1.1"},"bin":{"smart-npm":"bin/smart-npm.js","snpm":"bin/smart-npm.js"},"scripts":{"preinstall":"npm config set registry https://registry.npm.taobao.org/","postuninstall":"npm config delete registry","docs":"jsdoc -c ./jsdoc.json ./README.md && echo 'code{padding: 2px 4px;font-size: 90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;}' >> ./docs/styles/jsdoc-default.css","lint":"eslint lib/ bin/ test/","test:watch":"mocha -R dot --watch test/*.js","test":"nyc _mocha test/*.js","report":"nyc report --reporter=html","test:istanbul":"istanbul cover --report html --dir externals/coverage _mocha test/*.js","test:report":"npm run test && npm run report","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov"},"snyk":true,"gitHead":"96a837116c13fa9a0ef22f3fa567de29a8c64c2f","_id":"smart-npm@3.0.1","_shasum":"5683c4e855da1f1144e52d1fa69dacf98a41dd0c","_from":".","_npmVersion":"4.0.2","_nodeVersion":"7.7.1","_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"dist":{"shasum":"5683c4e855da1f1144e52d1fa69dacf98a41dd0c","tarball":"https://registry.npmjs.org/smart-npm/-/smart-npm-3.0.1.tgz","integrity":"sha512-NNXsCCEY4CVdW9w7aq0RVWq90XShZyr8VgquHgYiaJIGHiHWpvUK0yWMz05PkJEWBiJz5SWiU7t5y001+nYfNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBiPyX1B9Lo74zgfPmvf8sDhadSOVFe3E72KXkHUjmv5AiEAiyeiytD3maHC1aitpL2INIbZI7zETUwg+krDx29YJFY="}]},"maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/smart-npm-3.0.1.tgz_1490768325197_0.2771982585545629"}},"3.0.2":{"name":"smart-npm","description":"Auto switch registry according your npm command.","version":"3.0.2","homepage":"https://github.com/qiu8310/smart-npm","bugs":{"url":"https://github.com/qiu8310/smart-npm/issues"},"license":"MIT","main":"bin/smart-npm.js","preferGlobal":true,"author":{"name":"Zhonglei Qiu","email":"qiuzhongleiabc@126.com"},"repository":{"type":"git","url":"git+https://github.com/qiu8310/smart-npm.git"},"keywords":["smart-npm","npm","cnpm","registry","china","proxy","taobao"],"dependencies":{"cross-spawn":"5.1.0","npm":"latest","npm-check":"5.4.0","open":"0.0.5","snyk":"^1.17.1"},"devDependencies":{"codecov":"2.1.0","coveralls":"2.13.1","eslint":"3.19.0","mocha":"3.3.0","nyc":"10.3.0","should":"11.2.1"},"bin":{"smart-npm":"bin/smart-npm.js","snpm":"bin/smart-npm.js"},"scripts":{"preinstall":"npm config set registry https://registry.npm.taobao.org/","postuninstall":"npm config delete registry","docs":"jsdoc -c ./jsdoc.json ./README.md && echo 'code{padding: 2px 4px;font-size: 90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px;}' >> ./docs/styles/jsdoc-default.css","lint":"eslint lib/ bin/ test/","test:watch":"mocha -R dot --watch test/*.js","test":"nyc _mocha test/*.js","report":"nyc report --reporter=html","test:istanbul":"istanbul cover --report html --dir externals/coverage _mocha test/*.js","test:report":"npm run test && npm run report","coverage":"nyc report --reporter=text-lcov > coverage.lcov && codecov"},"snyk":true,"gitHead":"e212a86bf4f538ff7ccd4d17b1f44600d4bbeb1a","_id":"smart-npm@3.0.2","_npmVersion":"5.1.0","_nodeVersion":"7.7.1","_npmUser":{"name":"qiu8310","email":"qiuzhongleiabc@126.com"},"dist":{"integrity":"sha512-X4Fk/ALXCxckJS3yNnqnzH3XKe36C5B/wU2g2nkSyop+3sYDwHOyCmKxlHnGXlZW3tptNq7kIQZYhmJnLNGxOg==","shasum":"30c001fb0d2aa3940ac0f58462bc2d7a405fa6af","tarball":"https://registry.npmjs.org/smart-npm/-/smart-npm-3.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA2urBdG4slMgPrbwZbBM4T1131KyJSE1qb/90ji/uJgAiBJcljniawJG6YH9wOq0XYWM3RHIYygTD/aO5/P0Fl8lg=="}]},"maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart-npm-3.0.2.tgz_1500519158177_0.3464022711850703"}}},"readme":"# smart-npm\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/qiu8310/smart-npm.svg)](https://greenkeeper.io/)\n[![NPM version](https://badge.fury.io/js/smart-npm.svg)](https://npmjs.org/package/smart-npm)\n[![GitHub version][git-tag-image]][project-url]\n[![Build Status][travis-image]][travis-url]\n[![Build status](https://ci.appveyor.com/api/projects/status/tri2wmdlica5op76?svg=true)](https://ci.appveyor.com/project/qiu8310/smart-npm)\n[![Dependency Status][daviddm-url]][daviddm-image]\n[![Inline docs][doc-image]][doc-url]\n[![Coverage Status][coveralls-image]][coveralls-url]\n\n\n智能的 `npm`，让你在中国使用 `npm` 时，下载速度更快，使用更方便！\n\n\n[jsdoc 生成的文档](http://qiu8310.github.io/smart-npm)\n\n[github 地址](https://github.com/qiu8310/smart-npm)\n\n\n\n## 背景\n\n> 用 [`npm`][npm] 时，默认它会访问国外资源，所以会非常卡，有时甚至会被墙。现在市面上一般有三种解决方案：\n>\n> 1. 在 `.npmrc` 上配置一个国内的 registry 镜像\n>\n> 2. 使用 [`cnpm`](https://npm.taobao.org/)\n>\n> 3. 使用 VPN\n\n\n* 第1个方案很粗暴，可以解决很多下载慢的问题，但是当你用 `npm publish` 时就会失败\n\n* 第2个方案不错，但这样你就又会遇到问题，到底哪些命令需要用 `cnpm`，哪些命令需要用 `npm` 呢？\n\n* VPN 方案有时也不能百分百解决问题，有时有些 VPN 也不稳定，但有个 VPN 很保险就是\n\n\n> 其实 `cnpm` 的意图并不是简单给我们用来去下载 `npm` 资源的，它是为 [cnpm 服务端（也可以理解成 npm 的私有仓库）][cnpm-s]服务的。所以你如果简单的把\n> `cnpm` 当作 `npm` 来用会有出现很多问题（[见下](https://github.com/qiu8310/smart-npm/#%E6%8A%8A-cnpm-%E5%BD%93%E4%BD%9C-npm-%E6%9D%A5%E7%94%A8%E6%97%B6%E4%BC%9A%E5%87%BA%E7%8E%B0%E7%9A%84%E9%97%AE%E9%A2%98)）。\n\n\n\n__所以，我们就需要一个更智能的 `npm` 了，可以在我们使用 `npm install` 时自动从国内的镜像下载，而在我们使用 `npm publish` 又能发布到官方的 registry 上！__\n\n\n###  就让 `smart-npm` 来为你完成吧！\n\n\n<a id=\"install\"></a>\n## 安装\n \n```\nnpm install --global smart-npm --registry=https://registry.npm.taobao.org/\n```\n\n安装成功后默认会在你的 `npm` 用户配置文件 `~/.npmrc` 中添加淘宝的 registry。\n\n<a id=\"replace\"></a>\n**另外建议安装后替换原生的 npm 命令：**\n\n* Linux 用户可以在 `~/.bashrc` 文件中加一行\n\n```bash\nalias npm=smart-npm\n```\n\n* Mac 用户可以在 `~/.bash_profile` 文件中加一行\n\n```bash\nalias npm=smart-npm\n```\n\n* Window 用户需要先定位到 `npm.cmd` 和 `smart-npm.cmd` 两个文件，然后用 `smart-npm.cmd` 替换 `npm.cmd`（注意备份原来的 npm.cmd），同时注意修改下 `smart-npm.cmd` 文件里的路径，否则运行 npm 会报找不到文件错误（如果不明白，建议不要替换，直接使用 snpm 或 smart-npm）\n\n可以使用命令 `where smart-npm` 来定位到 `smart-npm.cmd` 文件所在的位置。如：在我的系统上执行 `where smart-npm` 的结果是：\n\n```cmd\nC:\\Users\\Mora>where smart-npm\nC:\\Program Files\\nodejs\\smart-npm\nC:\\Program Files\\nodejs\\smart-npm.cmd\n```\n\n同理可以定位到 `npm.cmd` 的位置\n\n## 使用指定版本的 npm\n\nsmart-npm 使用的是内部的 npm，和系统的 npm 没有任何关系\n\n```\nsnpm install-npm          # 安装最新版的 npm\nsnpm install-npm 4        # 安装 4.x.x 版本的 npm\n```\n\n## 卸载\n\n```\nnpm uninstall --global smart-npm\n```\n\n\n## 使用\n\n**安装后，你可以使用命令 `snpm` 或 `smart-npm`，如果你按[上面的方法](#replace)替换了原生的 `npm`，那么你也可以直接使用 `npm`**\n\n* 新的 `snpm` 会自动根据你使用的命令切换 registry：当你使用 `publish`, `config`, `adduser`, `star` 等（[click here to see more][npm-cmds]）\n  命令时，会强制使用官方的 registry `https://registry.npmjs.org`；当你使用其它命令时，都会使用淘宝的镜像 `https://registry.npm.taobao.org/`。\n\n  - 如果要强制使用某个 registry 时，只要在命令后面添加 registry 参数即可，比如，\n    `snpm install jquery --registry=https://r.cnpmjs.org` 就会使用你指定的 registry 去拉取 `jquery`\n    \n  - 如果要强制使用官方的 registry， 只要在命令后面加上 `--npm` 即可，\n    比如， `snpm install jquery --npm` 就会使用官方的 registry 去拉取 `jquery`，（当镜像没有及时更新时，用此会选项很有效）\n    \n  - 如果你想修改默认的淘宝镜像或者官方的 registry，可以在你的环境变量中添加这两个参数：\n    `NPM_OFFICIAL_REGISTRY`， `NPM_MIRROR_REGISTRY`，以此来修改默认的官方 registry 和 淘宝镜像 registry。\n    更多环境变量的配置请[点击这里][env]\n\n### `smart-npm` 扩展的几个新命令\n\n* __`snpm check`__： 由 [npm-check](https://github.com/dylang/npm-check) 提供，和 `npm outdated` 类似，但提示更人性化，同时它也支持自动更新依赖\n\n* __`snpm stats {package}`__： 打开一个网页，可以看到 package 的统计数据，包括被下载的次数、最近更新时间、被依赖的次数及排名等数据\n\n* __`snpm user {package}`__： 打开一个网页，跳到用户的 `npm` 上的个人主页，如果加了参数 `-t`，则是跳到淘宝镜像的个人主页\n\n\n### 比较有用但很少被用的一些 `npm` 的命令\n\n* __`npm repo {package}`__ ： 用浏览器打开 package 的 github 地址（前提是此 package 的 package.json 文件中有设置 `repository`）\n\n* __`npm home {package}`__ ： 用浏览器打开 package 的首页（前提是此 package 的 package.json 文件中有设置 `homepage`）\n\n* __`npm user {package}`__：`cnpm`的功能，用浏览器打开用户在淘宝镜像的主页，如 `https://npm.taobao.org/~{user_name}`\n\n* __`npm view {package} versions`__：查看 package 的所有版本号（只会显示版本号，不显示其它信息）\n\n* __`npm outdated`__：检查当前项目所依赖的 packages 是否有最新的版本可以更新\n\n\n\n## 把 cnpm 当作 npm 来用时会出现的问题\n\n1. `publish`, `adduser`, `login` （[_Click here to see more_][npm-cmds]）\n  等命令无法通过 `cnpm` 来执行，即运行 `cnpm publish` 来发布一个版本会失败的\n\n2. 某些命令在 `cnpm` 和 `npm` 上表现完全不一样，比如：\n\n  - `cnpm version`：显示当前 `cnpm 版本号`； 而 `npm version`：是可以修改当前 package 的版本号的\n  - `cnpm -g root`：会报错； 而 `npm -g root` 会显示 global 安装的目录\n\n3. 有很多 `npm` 包都集成了 `npm install`，比如 [yeoman][yeoman] 的所有 `generators` ，在最后基本都会\n  调用 `npm install`，（[_可以看其源码_](https://github.com/yeoman/generator/blob/v0.18.10/lib/actions/install.js#L147-159)）\n  这种情况下使用 `cnpm` 完全无效，必须中断操作，然后自己手动运行 `cnpm install`，或者在运行 `yo [generator]` 时就指定 `--skip-install`，\n  这体验就很不爽了\n   \n4. 还有一种情况是，很多和 `npm` API 相关的 package，都会读取 `~/.npmrc` 中的 registry，或者使用默认的 registry —— [https://registry.npmjs.org/][npm-registry]，\n  去查询 npm package 相关的信息，比如下面这些：\n  \n    - [npm-latest](http://cnpmjs.org/package/npm-latest): 查询某个 package 的最新版本号\n    - [npm-name](http://cnpmjs.org/package/npm-name): 查询某个 package name 是否被注册了\n    - [npm-dependents](https://npm.taobao.org/package/npm-dependents): 查找某个模块所依赖的其它所有模块\n    - ...\n  \n  如果你用的任何一个包或其所依赖的包中用了这些 package，那么在这些包请求网络时也得慢死了！\n\n\n## 调试\n\n#### 调试 npm\n\n__--loglevel__ \n\n- silent: completely silent. Zero logging output.\n- win: Just the “npm ok” or “npm not ok” message at the end.\n- error: When something unexpected and bad happens.\n- warn: When something odd or potentially dangerous is happening.\n- info: Helpful information so you can track what’s happening.\n- verbose: Even more. Perhaps just a wee bit obnoxious, even.\n- silly: Completely fuckin crazy, man. Dump everything. Whole objects, you name it, whatever.\n\n__特定 loglevel 的缩写信息__\n\n- s :       [\"--loglevel\", \"silent\"]\n- d :       [\"--loglevel\", \"info\"]\n- dd :      [\"--loglevel\", \"verbose\"]\n- ddd :     [\"--loglevel\", \"silly\"]\n- silent :  [\"--loglevel\", \"silent\"]\n- verbose : [\"--loglevel\", \"verbose\"]\n- quiet:    [\"--loglevel\", \"warn\"]\n- q:        [\"--loglevel\", \"warn\"]\n\n\n## Todo List\n\n* 本地安装也会替代了全局的 `npm`\n* 添加更多有用的组件\n* 修改 `stats` 命令，把数据显示在命令行上\n\n\n## Reference\n\n- [npm 官网][npm]\n- [所有 npm 支持的子命令](https://docs.npmjs.com/cli/access)\n- [cnpm server][cnpm-s]\n- [cnpm client][cnpm]\n\n\n# Release History\n\n[Changelog](CHANGELOG.md)\n\n\n## License\n\nCopyright (c) 2015 Zhonglei Qiu. Licensed under the MIT license.\n\n\n[yeoman]: http://yeoman.io/\n[npm]: https://npmjs.org/\n[cnpm-s]: https://github.com/cnpm/cnpmjs.org\n[cnpm]: https://github.com/cnpm/cnpm/\n[npm-registry]: https://registry.npmjs.org/\n[npm-cmds]: http://qiu8310.github.io/smart-npm/global.html#npm\n[env]: http://qiu8310.github.io/smart-npm/global.html#env\n\n[doc-url]: http://inch-ci.org/github/qiu8310/smart-npm\n[doc-image]: http://inch-ci.org/github/qiu8310/smart-npm.svg?branch=master\n[project-url]: https://github.com/qiu8310/smart-npm\n[git-tag-image]: http://img.shields.io/github/tag/qiu8310/smart-npm.svg\n[travis-url]: https://travis-ci.org/qiu8310/smart-npm\n[travis-image]: https://travis-ci.org/qiu8310/smart-npm.svg?branch=master\n[daviddm-url]: https://david-dm.org/qiu8310/smart-npm.svg?theme=shields.io\n[daviddm-image]: https://david-dm.org/qiu8310/smart-npm\n[coveralls-url]: https://coveralls.io/r/qiu8310/smart-npm\n[coveralls-image]: https://coveralls.io/repos/qiu8310/smart-npm/badge.png\n\n","maintainers":[{"name":"qiu8310","email":"qiuzhongleiabc@126.com"}],"time":{"modified":"2022-06-26T21:19:25.156Z","created":"2015-04-05T03:55:09.714Z","0.0.1":"2015-04-05T03:55:09.714Z","0.0.2":"2015-04-05T09:46:51.711Z","0.0.3":"2015-04-06T01:53:24.769Z","0.0.4":"2015-04-06T04:08:20.259Z","0.0.5":"2015-04-06T04:16:47.530Z","0.0.6":"2015-04-06T04:44:22.595Z","0.0.7":"2015-04-06T10:27:20.593Z","0.1.0":"2015-04-06T13:43:15.941Z","1.0.0":"2015-04-08T12:12:37.889Z","1.0.1":"2015-04-10T10:37:00.177Z","1.1.0":"2015-04-18T14:45:22.629Z","1.2.0":"2015-04-18T15:17:22.310Z","1.2.1":"2015-04-19T00:31:09.565Z","1.2.2":"2015-10-22T10:34:42.679Z","1.2.4":"2016-01-26T03:01:18.519Z","2.0.0-alpha":"2016-04-27T07:46:11.244Z","2.0.0-alpha.1":"2016-04-27T08:37:25.588Z","2.0.0":"2016-04-27T09:03:09.162Z","2.0.1":"2016-05-05T10:35:28.934Z","2.0.2":"2016-05-05T10:44:00.197Z","3.0.0":"2016-10-24T06:54:06.956Z","3.0.1":"2017-03-29T06:18:45.482Z","3.0.2":"2017-07-20T02:52:38.255Z"},"homepage":"https://github.com/qiu8310/smart-npm","keywords":["smart-npm","npm","cnpm","registry","china","proxy","taobao"],"repository":{"type":"git","url":"git+https://github.com/qiu8310/smart-npm.git"},"author":{"name":"Zhonglei Qiu","email":"qiuzhongleiabc@126.com"},"bugs":{"url":"https://github.com/qiu8310/smart-npm/issues"},"license":"MIT","readmeFilename":"README.md","users":{"brave_cgx":true}}