{"name":"npm-lifecycle","version":"1.0.2","keywords":["npm","lifecycle","hook","runner"],"author":{"name":"Mike Sherov"},"license":"Artistic-2.0","_id":"npm-lifecycle@1.0.2","maintainers":[{"name":"iarna","email":"me@re-becca.org"},{"name":"zkat","email":"kat@sykosomatic.org"}],"homepage":"https://github.com/npm/lifecycle#readme","bugs":{"url":"https://github.com/npm/lifecycle/issues"},"dist":{"shasum":"1ff54561a7cec3813e89c22a362de4a1ed7e2ae5","tarball":"http://registry-npm.ywwl.com/npm-lifecycle/download/npm-lifecycle-1.0.2.tgz","integrity":"sha512-tuSfwKmTiJMVeQdvAfYJ1I+sC6tTpN2W6UWuHPkCy4FtM29Oc+DsuMDdTSaJTmbTairCtx9gXPI8DqZL42GF5g==","signatures":[{"sig":"MEQCIGZAqpkNx5JSsxfvGqz1M5/APT9fB2ozGweC0JNpW8XMAiAtAxDGOhGZ5ZfApII0VsYfYlrI7g/stkxApyvxnGnE3w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":9904,"noattachment":false,"key":"/npm-lifecycle/-/npm-lifecycle-1.0.2.tgz"},"main":"index.js","files":["index.js","lib/spawn.js"],"gitHead":"85be194b4c69ae72faf509a5eb7bd642e4ed39e8","scripts":{"test":"tap -J --coverage test/*.js","pretest":"standard","release":"standard-version -s","prerelease":"npm t","update-coc":"weallbehave -o . && git add CODE_OF_CONDUCT.md && git commit -m 'docs(coc): updated CODE_OF_CONDUCT.md'","postrelease":"npm publish && git push --follow-tags","update-contrib":"weallcontribute -o . && git add CONTRIBUTING.md && git commit -m 'docs(contributing): updated CONTRIBUTING.md'"},"_npmUser":{"name":"iarna","email":"me@re-becca.org"},"deprecated":"The lifecycle script runner used in npm is now @npmcli/run-script. Please use that module moving forward","repository":{"url":"git://github.com/npm/lifecycle.git","type":"git"},"_npmVersion":"5.3.0","description":"JavaScript package lifecycle hook runner","directories":{},"_nodeVersion":"8.3.0","dependencies":{"slide":"^1.1.6","umask":"^1.1.0","which":"^1.3.0","uid-number":"0.0.6","graceful-fs":"^4.1.11"},"devDependencies":{"nyc":"^11.1.0","tap":"^10.7.2","standard":"^10.0.3","weallbehave":"^1.2.0","weallcontribute":"^1.0.8","standard-version":"^4.2.0"},"_npmOperationalInternal":{"tmp":"tmp/npm-lifecycle-1.0.2.tgz_1503007623056_0.7617920208722353","host":"s3://npm-registry-packages"},"readme":"# Note: pending imminent deprecation\n\n**This module will be deprecated once npm v7 is released.  Please do not rely\non it more than absolutely necessary.**\n\nThe lifecycle script runner used in npm v7 is\n[@npmcli/run-script](http://npm.im/@npmcli/run-script).  Please use that\nmodule moving forward.\n\n-----\n\n# npm-lifecycle\n\n[`npm-lifecycle`](https://github.com/npm/npm-lifecycle) is a standalone library for\nexecuting packages' lifecycle scripts. It is extracted from npm itself and\nintended to be fully compatible with the way npm executes individual scripts.\n\n## Install\n\n`$ npm install npm-lifecycle`\n\n## Table of Contents\n\n* [Example](#example)\n* [Features](#features)\n* [Contributing](#contributing)\n* [API](#api)\n  * [`lifecycle`](#lifecycle)\n\n### Example\n\n```javascript\n// idk yet\n```\n\n### API\n\n#### <a name=\"lifecycle\"></a> `> lifecycle(name, pkg, wd, [opts]) -> Promise`\n\n##### Arguments\n\n* `opts.stdio` - the [stdio](https://nodejs.org/api/child_process.html#child_process_options_stdio)\npassed to the child process. `[0, 1, 2]` by default.\n\n##### Example\n\n```javascript\nlifecycle()\n```\n","publish_time":1503007623157,"_cnpm_publish_time":1503007623157,"dist-tags":{"latest":"3.1.5"}}