@shirudo/base-error
Version:
A simple error base class for TypeScript
80 lines (79 loc) • 1.83 kB
JSON
{
"name": "@shirudo/base-error",
"version": "3.0.0",
"description": "A simple error base class for TypeScript",
"repository": {
"type": "git",
"url": "git://github.com/shi-rudo/base-error-ts.git"
},
"keywords": [
"typescript",
"error",
"base-error",
"try-catch",
"exception",
"cross-platform",
"cause",
"stack-trace",
"user-friendly-messages",
"json",
"error-handling",
"error-management",
"error-propagation",
"error-recovery",
"error-logging"
],
"author": "shirudo",
"license": "MIT",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"bugs": {
"url": "https://github.com/shi-rudo/base-error-ts/issues"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist",
"LICENSE",
"README.md",
"MIGRATION-v2-to-v3.md"
],
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"scripts": {
"test": "vitest",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint . --ext .ts",
"format": "prettier --write .",
"build": "tsup",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.28.0",
"@types/node": "^22.15.29",
"@typescript-eslint/eslint-plugin": "^8.33.1",
"@typescript-eslint/parser": "^8.33.1",
"@vitest/coverage-v8": "^3.2.0",
"eslint": "^9.28.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.2.5",
"tsup": "^8.5.0",
"typescript": "^5.3.3",
"vite": "^6.3.5",
"vitest": "^3.2.0"
},
"peerDependencies": {
"typescript": "^5.3.3"
}
}