GT2/GT2-iOS/node_modules/signal-exit/package.json

108 lines
4.2 KiB
JSON

{
"_args": [
[
{
"raw": "signal-exit@^3.0.2",
"scope": null,
"escapedName": "signal-exit",
"name": "signal-exit",
"rawSpec": "^3.0.2",
"spec": ">=3.0.2 <4.0.0",
"type": "range"
},
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/restore-cursor"
]
],
"_from": "signal-exit@>=3.0.2 <4.0.0",
"_id": "signal-exit@3.0.2",
"_inCache": true,
"_location": "/signal-exit",
"_nodeVersion": "6.5.0",
"_npmOperationalInternal": {
"host": "packages-18-east.internal.npmjs.com",
"tmp": "tmp/signal-exit-3.0.2.tgz_1480821660838_0.6809983775019646"
},
"_npmUser": {
"name": "isaacs",
"email": "i@izs.me"
},
"_npmVersion": "3.10.9",
"_phantomChildren": {},
"_requested": {
"raw": "signal-exit@^3.0.2",
"scope": null,
"escapedName": "signal-exit",
"name": "signal-exit",
"rawSpec": "^3.0.2",
"spec": ">=3.0.2 <4.0.0",
"type": "range"
},
"_requiredBy": [
"/restore-cursor"
],
"_resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
"_shasum": "b5fdc08f1287ea1178628e415e25132b73646c6d",
"_shrinkwrap": null,
"_spec": "signal-exit@^3.0.2",
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/restore-cursor",
"author": {
"name": "Ben Coe",
"email": "ben@npmjs.com"
},
"bugs": {
"url": "https://github.com/tapjs/signal-exit/issues"
},
"dependencies": {},
"description": "when you want to fire an event no matter how a process exits.",
"devDependencies": {
"chai": "^3.5.0",
"coveralls": "^2.11.10",
"nyc": "^8.1.0",
"standard": "^7.1.2",
"standard-version": "^2.3.0",
"tap": "^8.0.1"
},
"directories": {},
"dist": {
"shasum": "b5fdc08f1287ea1178628e415e25132b73646c6d",
"tarball": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz"
},
"files": [
"index.js",
"signals.js"
],
"gitHead": "9c5ad9809fe6135ef22e2623989deaffe2a4fa8a",
"homepage": "https://github.com/tapjs/signal-exit",
"keywords": [
"signal",
"exit"
],
"license": "ISC",
"main": "index.js",
"maintainers": [
{
"name": "bcoe",
"email": "ben@npmjs.com"
},
{
"name": "isaacs",
"email": "isaacs@npmjs.com"
}
],
"name": "signal-exit",
"optionalDependencies": {},
"readme": "# signal-exit\n\n[![Build Status](https://travis-ci.org/tapjs/signal-exit.png)](https://travis-ci.org/tapjs/signal-exit)\n[![Coverage](https://coveralls.io/repos/tapjs/signal-exit/badge.svg?branch=master)](https://coveralls.io/r/tapjs/signal-exit?branch=master)\n[![NPM version](https://img.shields.io/npm/v/signal-exit.svg)](https://www.npmjs.com/package/signal-exit)\n[![Windows Tests](https://img.shields.io/appveyor/ci/bcoe/signal-exit/master.svg?label=Windows%20Tests)](https://ci.appveyor.com/project/bcoe/signal-exit)\n[![Standard Version](https://img.shields.io/badge/release-standard%20version-brightgreen.svg)](https://github.com/conventional-changelog/standard-version)\n\nWhen you want to fire an event no matter how a process exits:\n\n* reaching the end of execution.\n* explicitly having `process.exit(code)` called.\n* having `process.kill(pid, sig)` called.\n* receiving a fatal signal from outside the process\n\nUse `signal-exit`.\n\n```js\nvar onExit = require('signal-exit')\n\nonExit(function (code, signal) {\n console.log('process exited!')\n})\n```\n\n## API\n\n`var remove = onExit(function (code, signal) {}, options)`\n\nThe return value of the function is a function that will remove the\nhandler.\n\nNote that the function *only* fires for signals if the signal would\ncause the proces to exit. That is, there are no other listeners, and\nit is a fatal signal.\n\n## Options\n\n* `alwaysLast`: Run this handler after any other signal or exit\n handlers. This causes `process.emit` to be monkeypatched.\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/tapjs/signal-exit.git"
},
"scripts": {
"coverage": "nyc report --reporter=text-lcov | coveralls",
"pretest": "standard",
"release": "standard-version",
"test": "tap --timeout=240 ./test/*.js --cov"
},
"version": "3.0.2"
}