catchbuddy
Version:
Simplify error handling in JavaScript with a lightweight utility that organizes results and errors for both synchronous and asynchronous operations.
69 lines • 1.69 kB
JSON
{
"name": "catchbuddy",
"version": "0.2.1",
"description": "Simplify error handling in JavaScript with a lightweight utility that organizes results and errors for both synchronous and asynchronous operations.",
"keywords": [
"resolve",
"try-catch",
"error-handling",
"async-errors"
],
"author": {
"name": "Koen Brouwer",
"url": "https://github.com/koenbrouwer"
},
"license": "MIT",
"homepage": "https://github.com/koenbrouwer/catchbuddy",
"repository": {
"type": "git",
"url": "git+https://github.com/koenbrouwer/catchbuddy.git"
},
"bugs": {
"url": "https://github.com/koenbrouwer/catchbuddy/issues"
},
"type": "module",
"main": "dist/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.js"
}
},
"files": [
"dist"
],
"tsup": {
"entry": [
"src/index.ts"
],
"format": [
"esm"
],
"dts": true,
"clean": true,
"minify": true,
"target": "esnext",
"outDir": "dist"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@changesets/cli": "^2.29.8",
"prettier": "^3.7.4",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.0.16"
},
"scripts": {
"dev": "pnpm test",
"test": "vitest",
"test:run": "vitest run",
"lint": "tsc",
"check-format": "prettier --check .",
"format": "prettier --write .",
"check-exports": "attw --pack . --profile esm-only",
"build": "tsup",
"change": "changeset",
"ci": "pnpm lint && pnpm check-format && pnpm test:run && pnpm build && pnpm check-exports",
"local-release": "changeset version"
}
}