{"_id":"npm-ensure","_rev":"1520454","name":"npm-ensure","description":"ensure your package is good to commit/publish:","dist-tags":{"latest":"1.3.0"},"maintainers":[{"name":"yibn2008","email":"yibn2008@gmail.com"}],"time":{"modified":"2026-10-03T16:46:25.000Z","created":"2016-11-14T07:46:40.563Z","1.3.0":"2021-07-06T05:58:56.007Z","1.2.0":"2018-08-16T12:34:43.889Z","1.1.3":"2018-05-10T09:28:04.022Z","1.1.2":"2017-03-18T08:07:21.097Z","1.1.1":"2017-03-18T08:02:25.428Z","1.1.0":"2017-03-18T05:00:45.437Z","1.0.5":"2016-12-20T07:32:42.351Z","1.0.4":"2016-11-16T13:47:06.496Z","1.0.3":"2016-11-14T09:00:05.813Z","1.0.2":"2016-11-14T08:43:06.386Z","1.0.1":"2016-11-14T08:17:25.252Z","1.0.0":"2016-11-14T07:46:40.563Z"},"users":{"yibn2008":true},"author":{"name":"yibn2008"},"repository":{"type":"git","url":"git+https://github.com/yibn2008/npm-ensure.git"},"versions":{"1.3.0":{"name":"npm-ensure","version":"1.3.0","description":"ensure your package is good to commit/publish:","main":"index.js","bin":{"npm-ensure":"bin/npm-ensure.js"},"scripts":{"lint":"standard --fix && node bin/npm-ensure -t deps","test":"npm run lint && npm run test-local","test-local":"mocha test/*.test.js","test-cov":"istanbul cover _mocha --report lcov -- test/**/*.test.js","test-report":"cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage","ci":"npm run lint && npm run test-cov && npm run test-report","precommit":"npm run lint","release":"node bin/npm-ensure -t changelog && npm test && git release $npm_package_version && npm publish"},"ensure":{"deps":{"checkDirs":["bin/*"]}},"standard":{"global":["describe","it","beforeEach","afterEach"],"ignore":["/test"]},"repository":{"type":"git","url":"git+https://github.com/yibn2008/npm-ensure.git"},"keywords":["npm-ensure","check","dependencies"],"author":{"name":"yibn2008"},"license":"MIT","bugs":{"url":"https://github.com/yibn2008/npm-ensure/issues"},"homepage":"https://github.com/yibn2008/npm-ensure#readme","dependencies":{"builtin-modules":"^1.1.1","chalk":"^1.1.3","commander":"^2.9.0","debug":"^2.3.2","dependency-analyze":"^1.0.2","glob":"^7.1.1","minimatch":"^3.0.3"},"devDependencies":{"assert-plus":"^1.0.0","commander":"^2.9.0","coveralls":"^2.12.0","husky":"^0.11.9","istanbul":"^0.4.5","mocha":"^3.1.2","standard":"^8.2.0"},"gitHead":"e01321bfd49878185a884b21d367a2d139ba6f27","_id":"npm-ensure@1.3.0","_nodeVersion":"12.18.2","_npmVersion":"6.14.5","dist":{"integrity":"sha512-q8+ff7vg4TdP1MyDVIuUSdgxbaWYdnPY3v8FGXNSoOvpCDElcaWOL7cx7foYF2Gfxm1vtiEehSLjBRTmzArgVQ==","shasum":"619cb891e912d198394b9b46f0af03839cf318e2","tarball":"http://registry-npm.ywwl.com/npm-ensure/download/npm-ensure-1.3.0.tgz","fileCount":9,"unpackedSize":13487,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4/EgCRA9TVsSAnZWagAAOnwP/jRJcRHuoQLQOpfwYuz8\nqKgIZRX+OK5flxZVu3gTMYMVC/oeXvAF93RQpP0g3rs57lB9uDjBYWscgdb/\n3FLxQoO0q5MXuNVJhU7knaTJByHfbIzghs4imn/xbA8RzZrT/ybMoPzZL2F5\nLNHAVe+g1LyxRcz0GDovy1qavxUGFwnrEg7V6ErJ+caEYAmzR0QeWHtHb8Ju\nN/VpZZhvYH1s8LOhp/7saQV/Gukr9MkY2vkEMToOn2WeJO9R9w4hi9W0u+6t\nAnv+W9+1SP/cWzC66HMwYmCQlNISQGe1HkvGK2uSsoX2c2QUwr10x0u7JYnV\nL0285+o/L0FeSP8SaOyZKoltobFMqS/TBUg0jPzk3zxzxl+y2OdCjETk72e4\nTmZh5UUsK1mj8n2Wz2zIKHhxXJEUUBAY9QoYuqEZ/5hr2/ZEZUWK4HWsRBAN\nEHdjlGD/3Xki8uRTE/0qoccGF945CSqjlG9ac8ln+5XqyIxBNYZ2tOedaD9g\ncHBuAZihQTqk5kM6FiCZUk7MlAmY5qGp7GupEHs4ZbTfF5zV++R9TMsbYL5P\nPi8r75VsoIdLKNE7z9TP+JbdENAfPnqKXSxybwXxFOnSddcq7YIwevnuHDSI\nXeXMG/0FxIR7wFzLH09klxqM86p372Lsp/5SHFCfaEt8ArN9EY6U6MnsWjcu\n4z8s\r\n=5BNi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDRwfU7/QU4nl+A1WzpDriVzl2eDrZHnX5QZcznbpFxNAiBzWj+zzmKgqo87P5mg4ND0ghLn9W2gMdq2+nJK+CDLGA=="}],"size":4979,"noattachment":false,"key":"/npm-ensure/-/npm-ensure-1.3.0.tgz"},"_npmUser":{"name":"yibn2008","email":"yibn2008@gmail.com"},"directories":{},"maintainers":[{"name":"yibn2008","email":"yibn2008@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-ensure_1.3.0_1625551135861_0.3647141113531931"},"_hasShrinkwrap":false,"publish_time":1625551136007,"_cnpm_publish_time":1625551136007},"1.2.0":{"name":"npm-ensure","version":"1.2.0","description":"ensure your package is good to commit/publish:","main":"index.js","bin":{"npm-ensure":"bin/npm-ensure.js"},"scripts":{"lint":"standard --fix && node bin/npm-ensure -t deps","test":"npm run lint && npm run test-local","test-local":"mocha test/*.test.js","test-cov":"istanbul cover _mocha --report lcov -- test/**/*.test.js","test-report":"cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage","ci":"npm run lint && npm run test-cov && npm run test-report","precommit":"npm run lint","release":"node bin/npm-ensure -t changelog && npm test && git release $npm_package_version && npm publish"},"ensure":{"deps":{"checkDirs":["bin/*"]}},"standard":{"global":["describe","it","beforeEach","afterEach"],"ignore":["/test"]},"repository":{"type":"git","url":"git+https://github.com/yibn2008/npm-ensure.git"},"keywords":["npm-ensure","check","dependencies"],"author":{"name":"yibn2008"},"license":"MIT","bugs":{"url":"https://github.com/yibn2008/npm-ensure/issues"},"homepage":"https://github.com/yibn2008/npm-ensure#readme","dependencies":{"builtin-modules":"^1.1.1","chalk":"^1.1.3","commander":"^2.9.0","debug":"^2.3.2","dependency-analyze":"^1.0.2","glob":"^7.1.1","minimatch":"^3.0.3"},"devDependencies":{"assert-plus":"^1.0.0","commander":"^2.9.0","coveralls":"^2.12.0","husky":"^0.11.9","istanbul":"^0.4.5","mocha":"^3.1.2","standard":"^8.2.0"},"gitHead":"a369e75222c1bd5af8c15b6ec10260f061886905","_id":"npm-ensure@1.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"yibn2008","email":"yibn2008@gmail.com"},"dist":{"integrity":"sha512-pEdV3glI9bWZQXFyjs8Pl23MGG0eMon0O7QHQlbFWYdYzr/osEExdsMEB41YH5BaDSs1O0u9Wa+3aur1KYvLnA==","shasum":"cb0da75b5aa69821e112f9b689b20b2a753f0b6c","tarball":"http://registry-npm.ywwl.com/npm-ensure/download/npm-ensure-1.2.0.tgz","fileCount":9,"unpackedSize":13336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdW9kCRA9TVsSAnZWagAAHmcP/0rSmPEAKQ8olfEBqeaB\nQgFWogLbWMgyVpYJNtexHSNcYGKvE3YwcJZIuZPN+CFWDP9h7a+MMn4qf+hp\nIaXWZ7dgTRUwbfW/gYIR4eNeQUZ9c4kEtrV06FCqkfsSmTt5UDsbbSo0iaPZ\nEyjmxIEmozJE/2INFGdX6yiyzKedKV0MNN33d2I9ED7bqrzNGJzXnZZabRau\nxY5S29uNjXdZt+WTNY0NO05i9p0ChnktrqvLBN6mnAKSR3gCRxcQi8iA/P7r\nkt5XcMc8w9AWT8P7XWp3frK+5irQTXGJd6pzBInT29wKSJuYWbU7N1DuPM6Y\n2Xg2pco3TkNF3flrsDj02ThkiRjkB6UstFO/LORpl+wTG9yMnPVRz9ZgfzEA\nTQlo8vnd448VAAZN0eGd56RAnHQMceEg8Vk8OOdHdRYX+zI5NuXPnvjFCU4/\nx8JCu9GRlOK02cbvD1gjncZBJafHsF6A7nUcTDlJ3ymi9FI4PXlr2kaDD0N9\nOWiuM0BxuM7pu/f13ytUvV2z5/ccxp/4i+kBt8S0Bx4AP6x7HwLCjW7gqUj8\nL1ImbpkEGVYP0sKQ2nuP0I+C1b4Zk6+wERB0uBeQeLNVTZ4CBkZjhnZHbZ8v\nePwtcdTiJ4v6xSTGp3GDY3PQqO65jPAI9hLhlqo6FDMVzaJAIMYZaDmDo0eW\nPXIa\r\n=cVOg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEx/ab5iJbdGIyNMER1PM5O4qMiPiEYoEyvHqS4L7mkwAiEA2uqElrzMGYQONUf4d3g+NhPOh4D9lY1sJootxYJQOqY="}],"size":5011,"noattachment":false,"key":"/npm-ensure/-/npm-ensure-1.2.0.tgz"},"maintainers":[{"name":"yibn2008","email":"yibn2008@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-ensure_1.2.0_1534422883772_0.9032684092549703"},"_hasShrinkwrap":false,"publish_time":1534422883889,"_cnpm_publish_time":1534422883889},"1.1.3":{"name":"npm-ensure","version":"1.1.3","description":"ensure your package is good to commit/publish:","main":"index.js","bin":{"npm-ensure":"bin/npm-ensure.js"},"scripts":{"lint":"standard --fix && node bin/npm-ensure -t deps","test":"npm run lint && npm run test-local","test-local":"mocha test/*.test.js","test-cov":"istanbul cover _mocha --report lcov -- test/**/*.test.js","test-report":"cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage","ci":"npm run lint && npm run test-cov && npm run test-report","precommit":"npm run lint","release":"node bin/npm-ensure -t changelog && npm test && git release $npm_package_version && npm publish"},"ensure":{"deps":{"checkDirs":["bin/*"]}},"standard":{"global":["describe","it","beforeEach","afterEach"],"ignore":["/test"]},"repository":{"type":"git","url":"git+https://github.com/yibn2008/npm-ensure.git"},"keywords":["npm-ensure","check","dependencies"],"author":{"name":"yibn2008"},"license":"MIT","bugs":{"url":"https://github.com/yibn2008/npm-ensure/issues"},"homepage":"https://github.com/yibn2008/npm-ensure#readme","dependencies":{"builtin-modules":"^1.1.1","chalk":"^1.1.3","commander":"^2.9.0","debug":"^2.3.2","dependency-analyze":"^1.0.2","glob":"^7.1.1","minimatch":"^3.0.3"},"devDependencies":{"assert-plus":"^1.0.0","commander":"^2.9.0","coveralls":"^2.12.0","husky":"^0.11.9","istanbul":"^0.4.5","mocha":"^3.1.2","standard":"^8.2.0"},"gitHead":"1620fdb966acd2322956ccc086b74102da7a3729","_id":"npm-ensure@1.1.3","_shasum":"95bf8bbdcf89991f613baff466c7fcb33880b341","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"yibn2008","email":"yibn2008@gmail.com"},"dist":{"shasum":"95bf8bbdcf89991f613baff466c7fcb33880b341","tarball":"http://registry-npm.ywwl.com/npm-ensure/download/npm-ensure-1.1.3.tgz","fileCount":10,"unpackedSize":13156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9BCkCRA9TVsSAnZWagAALvEP/ilG/6ZrgIPys3pQE3gu\nSeXnB3gxfEjjqSGH5dxn4crGE2m7TZicX9bn5V3Ch4nchr9A/T+HJCRPhclf\nS0BeBAUF+Ukxmjm4bUUwyfXUttBfbHJDuXBNTcUilqgvmiPLWVRocMyz1ikf\nkwpgtk5BWD9pJozol8L337SLrJnRIGCfBPlkX1ZLKGibi4cVD2m+lOMAdQ1e\n4bhaLl2y0R20J+/k8/rk7p2Y5PuOQSBO2grFPQK1R1By1/e0ZgET135wBNBS\nHWJ3Y3HYd77OxVLOMdFWie10wbhgSs/BbMNhfXgN++7I2GWqPkca+UEN84Xd\n4dppxk3IpqXOc4qDiBjcipSi3fjInnBSEwh1aN9QLkldMLhr+ZadEGsdiXuP\nJVwMV7sup7HfZetwad7oRPlVp5u9nLIddJDi4b3h0x/GV14gjFMKdH5uLwqm\nwaa/ugLQ3WtnY6Rtes/tKj+jvGxGoONm9OlUtfBUeDqZt5FZBR5d1west1iL\njJyRmKSHk7JOfnXhoCcG+WjtUoXKGwGhLPUvE3GOSQTCqI68WEFGB/mQAwrL\nl/4ZM3xWhRSk7qU14h52PpRyJPVHJTOLIj8l5T8Spa1ZBF7hpMhrzwBcQ+8m\nXmgamCKgCvSYsDpB3lw3pXFR8U9GP4pSgu/YR9z9OagBwZ4AhdLISXqTjgov\ndv+g\r\n=/1fc\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-WumRELweqOCPwKibpAKEACvBm0+iVUPcksOPGQczpzbob0QFft76zdFDx+bS2Ic5+kkPtLrxWf6TBG3jtWdSdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF/K7vyWB+esBMWwaH8kcqseWNscabvCG0V5eOe2zoEgAiEAvsvhXBMuVi6UyP+72djEjWS8hQRv/umtzl6CfoeNHeU="}],"size":5064,"noattachment":false,"key":"/npm-ensure/-/npm-ensure-1.1.3.tgz"},"maintainers":[{"name":"yibn2008","email":"yibn2008@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm-ensure_1.1.3_1525944483974_0.5565923772742751"},"_hasShrinkwrap":false,"publish_time":1525944484022,"_cnpm_publish_time":1525944484022},"1.1.2":{"name":"npm-ensure","version":"1.1.2","description":"ensure your package is good to commit/publish:","main":"index.js","bin":{"npm-ensure":"bin/npm-ensure.js"},"scripts":{"lint":"standard --fix && node bin/npm-ensure -t deps","test":"npm run lint && npm run test-local","test-local":"mocha test/*.test.js","test-cov":"istanbul cover _mocha --report lcov -- test/**/*.test.js","test-report":"cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage","ci":"npm run lint && npm run test-cov && npm run test-report","precommit":"npm run lint","release":"node bin/npm-ensure -t changelog && npm test && git release $npm_package_version && npm publish"},"ensure":{"deps":{"checkDirs":["bin/*"]}},"standard":{"global":["describe","it","beforeEach","afterEach"],"ignore":["/test"]},"repository":{"type":"git","url":"git+https://github.com/yibn2008/npm-ensure.git"},"keywords":["npm-ensure","check","dependencies"],"author":{"name":"yibn2008"},"license":"MIT","bugs":{"url":"https://github.com/yibn2008/npm-ensure/issues"},"homepage":"https://github.com/yibn2008/npm-ensure#readme","dependencies":{"builtin-modules":"^1.1.1","chalk":"^1.1.3","commander":"^2.9.0","debug":"^2.3.2","dependency-analyze":"^1.0.2","glob":"^7.1.1","minimatch":"^3.0.3"},"devDependencies":{"assert-plus":"^1.0.0","commander":"^2.9.0","coveralls":"^2.12.0","husky":"^0.11.9","istanbul":"^0.4.5","mocha":"^3.1.2","standard":"^8.2.0"},"gitHead":"9e76d94361458feb8eda0faf8538592b6bd5db45","_id":"npm-ensure@1.1.2","_shasum":"a891489bb085efb18db42bd11dccf21ba69018ec","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"yibn2008","email":"yibn2008@gmail.com"},"dist":{"shasum":"a891489bb085efb18db42bd11dccf21ba69018ec","tarball":"http://registry-npm.ywwl.com/npm-ensure/download/npm-ensure-1.1.2.tgz","integrity":"sha512-D39M4rAQHyLRL/+0lvRgXYjZ7n7ZJp7dYSaO9iiN8rxGca6uy+wNRxP/XARlEQZjKz7qEKlKKcfzlIorDG7QWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCh/wrhvgSqTPVL3bp/F+gT6WfZB69zo6qx4Tt8FStwdwIhAOmuXOEf5TfmSa6VHI72VqCjIYrRtlTaBQOXQYmW4jm3"}],"size":4998,"noattachment":false,"key":"/npm-ensure/-/npm-ensure-1.1.2.tgz"},"maintainers":[{"name":"yibn2008","email":"yibn2008@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/npm-ensure-1.1.2.tgz_1489824439195_0.18221268896013498"},"directories":{},"publish_time":1489824441097,"_cnpm_publish_time":1489824441097},"1.1.1":{"name":"npm-ensure","version":"1.1.1","description":"ensure your package is good to commit/publish:","main":"index.js","bin":{"npm-ensure":"bin/npm-ensure.js"},"scripts":{"lint":"standard --fix && node bin/npm-ensure -t deps","test":"npm run lint && npm run test-local","test-local":"mocha test/*.test.js","test-cov":"istanbul cover _mocha --report lcov -- test/**/*.test.js","test-report":"cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage","ci":"npm run lint && npm run test-cov && npm run test-report","precommit":"npm run lint","release":"node bin/npm-ensure -t changelog && npm test && git release $npm_package_version && npm publish"},"ensure":{"deps":{"checkDirs":["bin/*"]}},"standard":{"global":["describe","it","beforeEach","afterEach"],"ignore":["/test"]},"repository":{"type":"git","url":"git+https://github.com/yibn2008/npm-ensure.git"},"keywords":["npm-ensure","check","dependencies"],"author":{"name":"yibn2008"},"license":"MIT","bugs":{"url":"https://github.com/yibn2008/npm-ensure/issues"},"homepage":"https://github.com/yibn2008/npm-ensure#readme","dependencies":{"builtin-modules":"^1.1.1","chalk":"^1.1.3","commander":"^2.9.0","debug":"^2.3.2","dependency-analyze":"^1.0.2","glob":"^7.1.1","minimatch":"^3.0.3"},"devDependencies":{"assert-plus":"^1.0.0","commander":"^2.9.0","coveralls":"^2.12.0","husky":"^0.11.9","istanbul":"^0.4.5","mocha":"^3.1.2","standard":"^8.2.0"},"gitHead":"cffb2ed7f8cd3e2d386c97e4ecf522b5abd05698","_id":"npm-ensure@1.1.1","_shasum":"6cda50fc092cc8b20c584ccce00afd5a33829b8c","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"yibn2008","email":"yibn2008@gmail.com"},"dist":{"shasum":"6cda50fc092cc8b20c584ccce00afd5a33829b8c","tarball":"http://registry-npm.ywwl.com/npm-ensure/download/npm-ensure-1.1.1.tgz","integrity":"sha512-Nl5C3kEi/4/IlgKrIgLLpLurzHc97oxX0MvQq6NwObQgSLaq9gtzx9mY894c+oX1c53D0IHwvQw/2JDHjW1xXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaUSq+ghvFytXNDpuUfTEbtPfpdzJQ7RObeZBNopfxhwIgVH/SVGnlk9gymJ9y3gmmGKUyshzE3nz+BYHVyJHPnf4="}],"size":4999,"noattachment":false,"key":"/npm-ensure/-/npm-ensure-1.1.1.tgz"},"maintainers":[{"name":"yibn2008","email":"yibn2008@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/npm-ensure-1.1.1.tgz_1489824143739_0.789869369706139"},"directories":{},"publish_time":1489824145428,"_cnpm_publish_time":1489824145428},"1.1.0":{"name":"npm-ensure","version":"1.1.0","description":"ensure your package is good to commit/publish:","main":"index.js","bin":{"npm-ensure":"bin/npm-ensure.js"},"scripts":{"lint":"standard --fix && node bin/npm-ensure -t deps","test":"npm run lint && npm run test-local","test-local":"mocha test/*.test.js","test-cov":"istanbul cover _mocha --report lcov -- test/**/*.test.js","test-report":"cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage","ci":"npm run lint && npm run test-cov && npm run test-report","precommit":"npm run lint","release":"node bin/npm-ensure -t changelog && npm test && git release $npm_package_version && npm publish"},"ensure":{"deps":{"checkDirs":["bin/*"]}},"standard":{"global":["describe","it","beforeEach","afterEach"],"ignore":["/test"]},"repository":{"type":"git","url":"git+https://github.com/yibn2008/npm-ensure.git"},"keywords":["npm-ensure","check","dependencies"],"author":{"name":"yibn2008"},"license":"MIT","bugs":{"url":"https://github.com/yibn2008/npm-ensure/issues"},"homepage":"https://github.com/yibn2008/npm-ensure#readme","dependencies":{"builtin-modules":"^1.1.1","chalk":"^1.1.3","commander":"^2.9.0","debug":"^2.3.2","dependency-analyze":"^1.0.2","glob":"^7.1.1","minimatch":"^3.0.3"},"devDependencies":{"assert-plus":"^1.0.0","commander":"^2.9.0","coveralls":"^2.12.0","husky":"^0.11.9","istanbul":"^0.4.5","mocha":"^3.1.2","standard":"^8.2.0"},"gitHead":"8f2046872aadefc89363d4d185a243d785e94d52","_id":"npm-ensure@1.1.0","_shasum":"eb147141bbba38ea33b908931528db4319886885","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"yibn2008","email":"yibn2008@gmail.com"},"dist":{"shasum":"eb147141bbba38ea33b908931528db4319886885","tarball":"http://registry-npm.ywwl.com/npm-ensure/download/npm-ensure-1.1.0.tgz","integrity":"sha512-kxx10S2E3rpxbv/onhyAaciH8jtf/mF8VYUpwBFXqNwCRBHpO4Hj1GI3BWLBLpbqfJ2eYN7EhNuLPzVUm4aAwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHLJw3QYrU/ZZBZCdh7D3gl6OEpHBQXuXbQ7de8JDHj+AiEA1O5sKnQe5jKXfSeSVu9cXAa1rH/tCLLBBmp9b6VSpjQ="}],"size":4864,"noattachment":false,"key":"/npm-ensure/-/npm-ensure-1.1.0.tgz"},"maintainers":[{"name":"yibn2008","email":"yibn2008@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/npm-ensure-1.1.0.tgz_1489813243576_0.5052348065655679"},"directories":{},"publish_time":1489813245437,"_cnpm_publish_time":1489813245437},"1.0.5":{"name":"npm-ensure","version":"1.0.5","description":"ensure your package is good to commit/publish:","main":"index.js","bin":{"npm-ensure":"bin/npm-ensure"},"directories":{"test":"test"},"ensure":{"deps":{"checkDirs":["bin/*"]}},"standard":{"global":["describe","it","beforeEach","afterEach"],"ignore":["/test"]},"scripts":{"lint":"standard --fix && node bin/npm-ensure -t deps","test":"mocha test/*.test.js","precommit":"npm run lint","release":"node bin/npm-ensure -t changelog && npm test && git release $npm_package_version && npm publish"},"repository":{"type":"git","url":"git+https://github.com/yibn2008/npm-ensure.git"},"keywords":["npm-ensure","check","dependencies"],"author":{"name":"yibn2008"},"license":"MIT","bugs":{"url":"https://github.com/yibn2008/npm-ensure/issues"},"homepage":"https://github.com/yibn2008/npm-ensure#readme","dependencies":{"builtin-modules":"^1.1.1","chalk":"^1.1.3","commander":"^2.9.0","debug":"^2.3.2","dependency-analyze":"^1.0.2","glob":"^7.1.1","minimatch":"^3.0.3"},"devDependencies":{"standard":"^8.2.0","assert-plus":"^1.0.0","commander":"^2.9.0","husky":"^0.11.9","mocha":"^3.1.2"},"gitHead":"88ceddd93bf51014b81ab2d3410b5b62c81ed40c","_id":"npm-ensure@1.0.5","_shasum":"8c22b43f62238e159d548154d60c0fe6c376f6ca","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"yibn2008","email":"yibn2008@gmail.com"},"dist":{"shasum":"8c22b43f62238e159d548154d60c0fe6c376f6ca","tarball":"http://registry-npm.ywwl.com/npm-ensure/download/npm-ensure-1.0.5.tgz","integrity":"sha512-Q6yB43ESnNDSsBAEykRBOCETEVlfuaCHAvs72K3Rlli6A+ZCRQ93oblPiZrBV9bYchtipJB694ohrjw7JtX2aA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBg1ZxiHWOsV3NQ7/luId9tTXGoK7/Eup21gbt6hTyLrAiADkEh9tJBFNk+1Fo2PnarHEtDP6+5QecwoxMpSF6Tzzw=="}],"size":4413,"noattachment":false,"key":"/npm-ensure/-/npm-ensure-1.0.5.tgz"},"maintainers":[{"name":"yibn2008","email":"yibn2008@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/npm-ensure-1.0.5.tgz_1482219161755_0.27470916509628296"},"publish_time":1482219162351,"_cnpm_publish_time":1482219162351},"1.0.4":{"name":"npm-ensure","version":"1.0.4","description":"ensure your package is good to commit/publish:","main":"index.js","bin":{"npm-ensure":"bin/npm-ensure"},"directories":{"test":"test"},"ensure":{"deps":{"checkDirs":["bin/*"]}},"scripts":{"test":"mocha test/*.test.js","precommit":"node bin/npm-ensure -t deps","release":"node bin/npm-ensure -t changelog && npm test && git release $npm_package_version && npm publish"},"repository":{"type":"git","url":"git+https://github.com/yibn2008/npm-ensure.git"},"keywords":["npm-ensure","check","dependencies"],"author":{"name":"yibn2008"},"license":"MIT","bugs":{"url":"https://github.com/yibn2008/npm-ensure/issues"},"homepage":"https://github.com/yibn2008/npm-ensure#readme","dependencies":{"builtin-modules":"^1.1.1","chalk":"^1.1.3","commander":"^2.9.0","debug":"^2.3.2","glob":"^7.1.1","minimatch":"^3.0.3"},"devDependencies":{"assert-plus":"^1.0.0","commander":"^2.9.0","husky":"^0.11.9","mocha":"^3.1.2"},"gitHead":"1541aed86ec2eb18148204d11e0d11cd2836f755","_id":"npm-ensure@1.0.4","_shasum":"93ff42b47c2d5c1c85f3e18a819644067e012104","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"yibn2008","email":"yibn2008@gmail.com"},"dist":{"shasum":"93ff42b47c2d5c1c85f3e18a819644067e012104","tarball":"http://registry-npm.ywwl.com/npm-ensure/download/npm-ensure-1.0.4.tgz","integrity":"sha512-T4SxvbbEvKrciDhuL+oNm1MpIuj9msC7fPwrw6lzyCFSWYabQ/ThJKIsYKTEY/idDRRISP2REsiq8b7nJG1cng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCT23AuXjQ3xEWv8j0/hLXzSz3LKWy3F8E9JAdWcryVmwIhAMvFmGRYMDICNDk5T/cNwpjU/aUUKMX/ARPshdkivrRq"}],"size":4761,"noattachment":false,"key":"/npm-ensure/-/npm-ensure-1.0.4.tgz"},"maintainers":[{"name":"yibn2008","email":"yibn2008@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/npm-ensure-1.0.4.tgz_1479304024704_0.6240424572024494"},"publish_time":1479304026496,"_cnpm_publish_time":1479304026496},"1.0.3":{"name":"npm-ensure","version":"1.0.3","description":"ensure your package is good to commit/publish:","main":"index.js","bin":{"npm-ensure":"bin/npm-ensure"},"directories":{"test":"test"},"ensure":{"deps":{"checkDirs":["bin/*"]}},"scripts":{"test":"mocha test/*.test.js","precommit":"node bin/npm-ensure -t deps","release":"node bin/npm-ensure -t changelog && npm test && git release $npm_package_version && npm publish"},"repository":{"type":"git","url":"git+https://github.com/yibn2008/npm-ensure.git"},"keywords":["npm-ensure","check","dependencies"],"author":{"name":"yibn2008"},"license":"MIT","bugs":{"url":"https://github.com/yibn2008/npm-ensure/issues"},"homepage":"https://github.com/yibn2008/npm-ensure#readme","dependencies":{"builtin-modules":"^1.1.1","chalk":"^1.1.3","commander":"^2.9.0","debug":"^2.3.2","glob":"^7.1.1","minimatch":"^3.0.3"},"devDependencies":{"assert-plus":"^1.0.0","commander":"^2.9.0","husky":"^0.11.9","mocha":"^3.1.2"},"gitHead":"0254e3789ab457efa70823a109b74a446158fe0b","_id":"npm-ensure@1.0.3","_shasum":"f8ba69aab80b47b6be1d471415288152a0f1dde3","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"yibn2008","email":"yibn2008@gmail.com"},"dist":{"shasum":"f8ba69aab80b47b6be1d471415288152a0f1dde3","tarball":"http://registry-npm.ywwl.com/npm-ensure/download/npm-ensure-1.0.3.tgz","integrity":"sha512-z3PvysswnMeF+OKAt+geVwL4Kd5PUvKH5d39/aetICQ3I7fwWehQpOZE6weACxNH1EIb98yosgerhAhMl5cQlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIBYmb27chZD+jjS8IWv5NyuHoLSQmkLf/E004hxQAnvxAh8ffKX3jpsa64U+Sl+TnxsSHgcfWj1muCGIzHK23N39"}],"size":4588,"noattachment":false,"key":"/npm-ensure/-/npm-ensure-1.0.3.tgz"},"maintainers":[{"name":"yibn2008","email":"yibn2008@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/npm-ensure-1.0.3.tgz_1479114003817_0.6631784217897803"},"publish_time":1479114005813,"_cnpm_publish_time":1479114005813},"1.0.2":{"name":"npm-ensure","version":"1.0.2","description":"ensure your package is good to commit/publish:","main":"index.js","bin":{"npm-ensure":"bin/npm-ensure"},"directories":{"test":"test"},"ensure":{"deps":{"checkDirs":["bin/*"]}},"scripts":{"test":"mocha test/*.test.js","precommit":"node bin/npm-ensure -t deps","release":"node bin/npm-ensure -t changelog && npm test && git add . && git commit -m 'chore: bump to $npm_package_version' && git push && npm publish"},"repository":{"type":"git","url":"git+https://github.com/yibn2008/npm-ensure.git"},"keywords":["npm-ensure","check","dependencies"],"author":{"name":"yibn2008"},"license":"MIT","bugs":{"url":"https://github.com/yibn2008/npm-ensure/issues"},"homepage":"https://github.com/yibn2008/npm-ensure#readme","dependencies":{"builtin-modules":"^1.1.1","chalk":"^1.1.3","commander":"^2.9.0","debug":"^2.3.2","glob":"^7.1.1","minimatch":"^3.0.3"},"devDependencies":{"assert-plus":"^1.0.0","commander":"^2.9.0","husky":"^0.11.9","mocha":"^3.1.2"},"gitHead":"2867af0a25e00b38f70dac360dc835e311ac666e","_id":"npm-ensure@1.0.2","_shasum":"31721e531231fa588a4c8138947c819be44fd941","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"yibn2008","email":"yibn2008@gmail.com"},"dist":{"shasum":"31721e531231fa588a4c8138947c819be44fd941","tarball":"http://registry-npm.ywwl.com/npm-ensure/download/npm-ensure-1.0.2.tgz","integrity":"sha512-Q4FEln3xUaS5OjQXiLqisR08/pAftvcvBpR0QQRupj/bHI2mvtrP13N0p1osQ3Q9smnquhzmh7Psg6vJHaJi0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlAGzunmcqUIMXHhvZM2mUGdKn47Kdhz336kIGqY1QGQIhAJuvg/24yx5lvVoAsUnHKQTwcZBIIw0If5nQ3zA7qLGJ"}],"size":4582,"noattachment":false,"key":"/npm-ensure/-/npm-ensure-1.0.2.tgz"},"maintainers":[{"name":"yibn2008","email":"yibn2008@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/npm-ensure-1.0.2.tgz_1479112984684_0.8051104424521327"},"publish_time":1479112986386,"_cnpm_publish_time":1479112986386},"1.0.1":{"name":"npm-ensure","version":"1.0.1","description":"ensure your package is good to commit/publish:","main":"index.js","bin":{"npm-ensure":"bin/npm-ensure"},"directories":{"test":"test"},"scripts":{"test":"mocha test/*.test.js","precommit":"node bin/npm-ensure","release":"npm test && git add . && git commit -m 'chore: bump to $npm_package_version' && git push && npm publish"},"repository":{"type":"git","url":"git+https://github.com/yibn2008/npm-ensure.git"},"keywords":["npm-ensure","check","dependencies"],"author":{"name":"yibn2008"},"license":"MIT","bugs":{"url":"https://github.com/yibn2008/npm-ensure/issues"},"homepage":"https://github.com/yibn2008/npm-ensure#readme","dependencies":{"builtin-modules":"^1.1.1","chalk":"^1.1.3","debug":"^2.3.2","glob":"^7.1.1","minimatch":"^3.0.3"},"devDependencies":{"assert-plus":"^1.0.0","commander":"^2.9.0","husky":"^0.11.9","mocha":"^3.1.2"},"gitHead":"fe646d4e43c95ec775e6e4e12107a133a7dd43be","_id":"npm-ensure@1.0.1","_shasum":"3a7f4cb4b992f2a10bd50ea54a8e9e089bc58200","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"yibn2008","email":"yibn2008@gmail.com"},"dist":{"shasum":"3a7f4cb4b992f2a10bd50ea54a8e9e089bc58200","tarball":"http://registry-npm.ywwl.com/npm-ensure/download/npm-ensure-1.0.1.tgz","integrity":"sha512-RKUYndutae6hkRrRvGYgwQrlpzYqcTV6igL5ImvsXiAwgwC/97tgzKmP60AJbnwY6kzUxeRL2Qs9WgkiIfTRTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNQ0AazAZVbT1TH0gycYXAqrMRsgG5/adaMGBvE69IMAIgdSU3JR0PBALRAiBe/R2TUArb98OTgStnst0pUGYnz64="}],"size":4798,"noattachment":false,"key":"/npm-ensure/-/npm-ensure-1.0.1.tgz"},"maintainers":[{"name":"yibn2008","email":"yibn2008@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/npm-ensure-1.0.1.tgz_1479111443361_0.6237847558222711"},"publish_time":1479111445252,"_cnpm_publish_time":1479111445252},"1.0.0":{"name":"npm-ensure","version":"1.0.0","description":"ensure your package is good to commit/publish:","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test/*.test.js","precommit":"node bin/npm-ensure","release":"npm test && git release $npm_package_version && npm publish"},"repository":{"type":"git","url":"git+https://github.com/yibn2008/npm-ensure.git"},"keywords":["npm-ensure","check","dependencies"],"author":{"name":"yibn2008"},"license":"MIT","bugs":{"url":"https://github.com/yibn2008/npm-ensure/issues"},"homepage":"https://github.com/yibn2008/npm-ensure#readme","dependencies":{"builtin-modules":"^1.1.1","chalk":"^1.1.3","debug":"^2.3.2","glob":"^7.1.1","minimatch":"^3.0.3"},"devDependencies":{"assert-plus":"^1.0.0","commander":"^2.9.0","husky":"^0.11.9","mocha":"^3.1.2"},"gitHead":"96e14eb3681a97409fdceddf30ad6e712b2603b6","_id":"npm-ensure@1.0.0","_shasum":"fda38bf400db2867e8e9f495bda7caf65ddcf3e4","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"yibn2008","email":"yibn2008@gmail.com"},"dist":{"shasum":"fda38bf400db2867e8e9f495bda7caf65ddcf3e4","tarball":"http://registry-npm.ywwl.com/npm-ensure/download/npm-ensure-1.0.0.tgz","integrity":"sha512-prEyVe7J43cum0TqMex3so6ZBpf5/HBn3AV2RK+dQUeAnW2IGnYct8OwRbLQmAqJkI6spLtCz06J02DWOlMOfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIACJlYYxR8ENmNOTHMHTNbZpigUOSErCyzjv7TYwIPd3AiBQvfxqrizMjMcbbswNI6y8JHyWKACTJNRhECVhVUNzOA=="}],"size":4597,"noattachment":false,"key":"/npm-ensure/-/npm-ensure-1.0.0.tgz"},"maintainers":[{"name":"yibn2008","email":"yibn2008@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/npm-ensure-1.0.0.tgz_1479109598728_0.10748434672132134"},"publish_time":1479109600563,"_cnpm_publish_time":1479109600563}},"readme":"# npm-ensure\n\n[![Build Status](https://travis-ci.org/yibn2008/npm-ensure.svg?branch=master)](https://travis-ci.org/yibn2008/npm-ensure)\n[![Coverage Status](https://coveralls.io/repos/github/yibn2008/npm-ensure/badge.svg)](https://coveralls.io/github/yibn2008/npm-ensure)\n\nensure your package is good to commit/publish:\n\n- ensure npm dependencies are complete\n- ensure changelog exists\n\n## Usage\n\nYou can use `npm-ensure` command under the package dir which you want to check.\n\n```bash\n\n  Usage: npm-ensure [options]\n\n  Options:\n\n    -h, --help           output usage information\n    -V, --version        output the version number\n    -t, --types <types>  ensure check types (e.g: deps,changelog)\n\n```\n\nExample:\n\n```bash\n$ cd path/to/some-package\n$ npm-ensure -t deps\n==> check dependencies\nThe following dependencies are not defined:\n\n - co\n - commander\n\ntotal 2 packages\n\n$ npm-ensure -t changelog\n==> check changelog\nchangelog for current version is NOT exists\n\n$ npm-ensure\n==> check dependencies\nThe following dependencies are not defined:\n\n - co\n - commander\n\ntotal 2 packages\n\n==> check changelog\nchangelog for current version is NOT exists\n\n```\n\nOr you can add it as precommit/prepublish hook to check before commit/publish.\n\n## Configration\n\nuse `ensure` field in package.json to config npm-ensure:\n\n```json\n{\n  \"name\": \"foobar\",\n  \"version\": \"1.1.1\",\n  \"scripts\": {\n    \"precommit\": \"npm-ensure -t deps,changelog && npm test\"\n  },\n  \"ensure\": {\n    \"deps\": {\n      \"checkDirs\": [\n        \"*.js\",\n        \"src/**/*\",\n        \"bin/**/*\"\n      ],\n      \"ignoreDirs\": [\n        \"src/do-not-check/**/*\"\n      ],\n      \"ignores\": [\n        \"babel-*\"\n      ]\n    },\n    \"changelog\": {\n      \"file\": \"HISTORY.md\"\n    }\n  }\n}\n```\n\n### Tips\n\n- `deps.checkDirs`, specifies which dirs/files need to be checked for dependencies\n- `deps.ignoreDirs`, specifies which dirs/files do NOT check\n- `deps.ignores`, ignore these modules when check dependencies (support glob match syntax)\n- `changelog.file`, specifies which file is CHANGELOG file\n\n## Work with `lint-staged`\n\nOnly check git staged files with lint-staged:\n\n```json\n{\n  \"lint-staged\": {\n    \"*.js\": [\n      \"eslint --fix\",\n      \"npm-ensure -t deps\",\n      \"git add\"\n    ]\n  }\n}\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/yibn2008/npm-ensure#readme","bugs":{"url":"https://github.com/yibn2008/npm-ensure/issues"},"license":"MIT"}