exit-signal
Version:
A Node.js library for handling graceful process exits and shutdown signals.
74 lines (73 loc) • 1.79 kB
JSON
{
"name": "exit-signal",
"version": "2.0.0",
"description": "A Node.js library for handling graceful process exits and shutdown signals.",
"keywords": [
"exit",
"quit",
"process",
"hook",
"graceful",
"handler",
"shutdown",
"sigterm",
"sigint",
"terminate",
"kill",
"stop",
"event",
"signal",
"async",
"asynchronous"
],
"homepage": "https://github.com/shahradelahi/node-exit-signal",
"repository": "github:shahradelahi/node-exit-signal",
"license": "MIT",
"author": "Shahrad Elahi <shahrad@litehex.com> (https://github.com/shahradelahi)",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"default": "./dist/index.cjs"
}
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**",
"!**/*.d.cts"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "pnpm typecheck && eslint .",
"lint:fix": "eslint --fix .",
"prepublishOnly": "pnpm build && pnpm lint && pnpm format:check && pnpm test",
"test": "vitest --run",
"typecheck": "tsc --noEmit"
},
"prettier": "@shahrad/prettier-config",
"dependencies": {
"@se-oss/deasync": "^1.0.1"
},
"devDependencies": {
"@shahrad/eslint-config": "^1.0.0",
"@shahrad/prettier-config": "^1.2.2",
"@shahrad/tsconfig": "^1.1.0",
"@types/node": "^22.13.10",
"eslint": "^9.22.0",
"execa": "^9.5.2",
"globals": "^15.15.0",
"prettier": "^3.5.3",
"tsup": "^8.4.0",
"tsx": "^4.19.3",
"typescript": "^5.8.2",
"vitest": "^3.0.8"
},
"peerDependencies": {
"@se-oss/deasync": "^1"
},
"packageManager": "pnpm@9.15.9"
}