hexo/node_modules/when-exit/package.json

35 lines
844 B
JSON
Raw Normal View History

2024-05-09 16:35:20 +08:00
{
"name": "when-exit",
"repository": "github:fabiospampinato/when-exit",
"description": "Execute a function right before the process, or the browser's tab, is about to exit.",
"version": "2.1.2",
"type": "module",
"main": "dist/node/index.js",
"types": "./dist/node/index.d.ts",
"exports": {
"node": "./dist/node/index.js",
"default": "./dist/browser/index.js"
},
"scripts": {
"clean": "tsex clean",
"compile": "tsex compile",
"compile:watch": "tsex compile --watch",
"test": "node test/index.js",
"prepublishOnly": "npm run clean && npm run compile && npm run test"
},
"keywords": [
"exit",
"catch",
"event",
"handle",
"hook",
"intercept",
"signal"
],
"devDependencies": {
"@types/node": "^18.13.0",
"tsex": "^3.0.0",
"typescript": "^5.1.6"
}
}