panicit
Version:
Exit or throw error immediately.
41 lines • 954 B
JSON
{
"name": "panicit",
"version": "2.0.1",
"description": "Exit or throw error immediately.",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
},
"repository": "musicq/panicit",
"keywords": [
"panic",
"error handler"
],
"files": [
"dist"
],
"author": "musicq <kui.liang.sg@gmail.com>",
"license": "MIT",
"devDependencies": {
"@types/node": "^22.10.2",
"@vitest/coverage-v8": "2.1.8",
"@vitest/ui": "2.1.8",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"scripts": {
"build": "tsup src/index.ts --dts --minify --format cjs,esm",
"prepublish": "npm run build",
"test": "vitest",
"coverage": "vitest run --coverage",
"typecheck": "vitest typecheck"
}
}