{
"_from": "npm-lifecycle@3.1.5",
"_id": "npm-lifecycle@3.1.5",
"_inBundle": false,
"_integrity": "sha512-lDLVkjfZmvmfvpvBzA4vzee9cn+Me4orq0QF8glbswJVEbIcSNWib7qGOffolysc3teCqbbPZZkzbr3GQZTL1g==",
"_location": "/npm/npm-lifecycle",
"_phantomChildren": {},
"_requested": {
"escapedName": "npm-lifecycle",
"fetchSpec": "3.1.5",
"name": "npm-lifecycle",
"raw": "npm-lifecycle@3.1.5",
"rawSpec": "3.1.5",
"registry": true,
"saveSpec": null,
"type": "version"
},
"_requiredBy": [
"#USER",
"/npm",
"/npm/libcipm",
"/npm/libnpm"
],
"_resolved": "https://registry.npmjs.org/npm-lifecycle/-/npm-lifecycle-3.1.5.tgz",
"_shasum": "9882d3642b8c82c815782a12e6a1bfeed0026309",
"_shrinkwrap": null,
"_spec": "npm-lifecycle@3.1.5",
"_where": "/Users/claudiahdz/npm/cli",
"author": {
"name": "Mike Sherov"
},
"bugs": {
"url": "https://github.com/npm/lifecycle/issues"
},
"bundleDependencies": false,
"dependencies": {
"byline": "^5.0.0",
"graceful-fs": "^4.1.15",
"node-gyp": "^5.0.2",
"resolve-from": "^4.0.0",
"slide": "^1.1.6",
"uid-number": "0.0.6",
"umask": "^1.1.0",
"which": "^1.3.1"
},
"deprecated": false,
"description": "JavaScript package lifecycle hook runner",
"devDependencies": {
"nyc": "^14.1.0",
"sinon": "^7.2.3",
"standard": "^12.0.1",
"standard-version": "^4.4.0",
"tap": "^12.7.0"
},
"files": [
"index.js",
"lib/spawn.js",
"node-gyp-bin"
],
"homepage": "https://github.com/npm/lifecycle#readme",
"keywords": [
"hook",
"lifecycle",
"npm",
"runner"
],
"license": "Artistic-2.0",
"main": "index.js",
"name": "npm-lifecycle",
"optionalDependencies": {},
"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",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/npm/lifecycle.git"
},
"scripts": {
"postrelease": "npm publish && git push --follow-tags",
"prerelease": "npm t",
"pretest": "standard",
"release": "standard-version -s",
"snap": "TAP_SNAPSHOT=1 npm test",
"test": "tap -J --cov test/*.js"
},
"version": "3.1.5"
}