@asleepace/exception
Version:
TS Error handling which sucks less.
58 lines • 1.36 kB
JSON
{
"name": "@asleepace/exception",
"version": "0.99.5",
"description": "TS Error handling which sucks less.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"scripts": {
"build": "bun build src/index.ts --outdir dist --target node --format esm",
"types": "tsc --declaration --emitDeclarationOnly --outDir dist --project tsconfig.build.json",
"prepublishOnly": "bun run build && bun run types",
"publish:dry": "bun publish --dry-run",
"publish": "bun publish --access public",
"test": "bun test",
"test:watch": "bun test --watch",
"test:coverage": "bun test --coverage",
"typecheck": "tsc --noEmit",
"dev": "bun run src/index.ts",
"lint": "tsc --noEmit && bun test"
},
"keywords": [
"error",
"exception",
"errors",
"exceptions",
"asleepace",
"@asleepace",
"handling",
"simple",
"type-safe",
"moderm",
"functional",
"bun"
],
"author": "Colin Teahan",
"license": "MIT",
"devDependencies": {
"@types/bun": "latest",
"bun-types": "latest"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"engines": {
"node": ">=18.0.0"
},
"files": [
"dist",
"README.md",
"LICENSE"
]
}