{"name":"npm-lifecycle","version":"2.0.0","keywords":["npm","lifecycle","hook","runner"],"author":{"name":"Mike Sherov"},"license":"Artistic-2.0","_id":"npm-lifecycle@2.0.0","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":"d66fba59e7098dbb5862df66c0d81ed75108f1c6","tarball":"http://registry-npm.ywwl.com/npm-lifecycle/download/npm-lifecycle-2.0.0.tgz","integrity":"sha512-aE7H012O01GKXT9BWnsGMLVci+MOgkhpSwq02ok20aXcNHxFs7enfampNMkiOV1DJEU0LynzemwdjbtXahXKcw==","signatures":[{"sig":"MEUCIDFkCHOsg1h19hdjXiXt2DPTtWCmSixgdvMOS1EoPTIbAiEAsTsf85bzjqd+A3jgnJZ77mYctpSqSlIhwLcILoizKks=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":10703,"noattachment":false,"key":"/npm-lifecycle/-/npm-lifecycle-2.0.0.tgz"},"main":"index.js","files":["index.js","lib/spawn.js","node-gyp-bin"],"gitHead":"ca5f92074f2861be437c0102a74826a48d7c773f","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.5.1","description":"JavaScript package lifecycle hook runner","directories":{},"_nodeVersion":"8.5.0","dependencies":{"slide":"^1.1.6","umask":"^1.1.0","which":"^1.3.0","byline":"^5.0.0","node-gyp":"^3.6.2","uid-number":"0.0.6","graceful-fs":"^4.1.11","resolve-from":"^4.0.0"},"devDependencies":{"nyc":"^11.1.0","tap":"^10.7.2","sinon":"^4.0.1","standard":"^10.0.3","weallbehave":"^1.2.0","weallcontribute":"^1.0.8","standard-version":"^4.2.0"},"_npmOperationalInternal":{"tmp":"tmp/npm-lifecycle-2.0.0.tgz_1510952793193_0.9286923296749592","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":1510952793849,"_cnpm_publish_time":1510952793849,"dist-tags":{"latest":"3.1.5"}}