on-process-exit
Version:
Register callbacks to be run on process exit
42 lines • 1.04 kB
JSON
{
"name": "on-process-exit",
"version": "1.0.2",
"description": "Register callbacks to be run on process exit",
"keywords": [
"node",
"process",
"exit",
"ctrl-c",
"callback"
],
"repository": "github:ItsNickBarry/on-process-exit",
"license": "MIT",
"author": "Nick Barry",
"type": "module",
"exports": {
".": "./dist/index.js"
},
"types": "./dist/index.d.ts",
"files": [
"dist/",
"src/"
],
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
"@tsconfig/node22": "^22.0.2",
"@types/node": "^22.15.30",
"husky": "^9.1.7",
"knip": "^5.60.2",
"lint-staged": "github:ItsNickBarry/lint-staged#knip",
"prettier": "^3.5.3",
"prettier-plugin-packagejson": "^2.5.15",
"tsx": "^4.20.1",
"typescript": "^5.8.3"
},
"scripts": {
"build": "pnpm clean && tsc --build",
"clean": "rm -rf dist/",
"prettier": "prettier --write .",
"test": "pnpm build && tsx --test --experimental-test-coverage test/index.ts"
}
}