{"name":"npm-lifecycle","version":"2.0.1","keywords":["npm","lifecycle","hook","runner"],"author":{"name":"Mike Sherov"},"license":"Artistic-2.0","_id":"npm-lifecycle@2.0.1","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":"897313f05ed24db8e28d99fa8b42c31b625e6237","tarball":"http://registry-npm.ywwl.com/npm-lifecycle/download/npm-lifecycle-2.0.1.tgz","fileCount":8,"integrity":"sha512-6CypRO6iNsSfrWOUajeQnesouUgkeh7clByYDORUV6AhwRaGfHYh+5rFdDCIqzmMqomGlyDsSpazthNPG2BAOA==","signatures":[{"sig":"MEUCIGbANGeJZK6lZkYSU+WuSb6GlY5Z8EnF0mSDsUFkJnd+AiEA4tc8p2fDpphHASYTnWZqJzedgghyj1TdGoqxSCYxKuo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30782,"size":10742,"noattachment":false,"key":"/npm-lifecycle/-/npm-lifecycle-2.0.1.tgz"},"main":"index.js","files":["index.js","lib/spawn.js","node-gyp-bin"],"gitHead":"5c70e52c075c7cd5b88361d6b9414cce72824cde","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":"zkat","email":"kzm@sykosomatic.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.7.1-canary.13","description":"JavaScript package lifecycle hook runner","directories":{},"_nodeVersion":"8.9.4","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"},"_hasShrinkwrap":false,"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.1_1520473345712_0.6195919833284764","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":1520473345911,"_cnpm_publish_time":1520473345911,"dist-tags":{"latest":"3.1.5"}}