errgo-ts
Version:
A lightweight error handling library inspired by Go and Rust.
59 lines • 1.45 kB
JSON
{
"name": "errgo-ts",
"version": "0.2.0",
"author": {
"name": "Austin Weeks",
"url": "https://github.com/austin-weeks"
},
"description": "A lightweight error handling library inspired by Go and Rust.",
"keywords": [
"error",
"errors",
"result",
"defer",
"go",
"rust",
"try",
"catch",
"error handling",
"resource cleanup"
],
"repository": {
"type": "git",
"url": "git+https://github.com/austin-weeks/errgo-ts.git"
},
"license": "MIT",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.js"
}
},
"devDependencies": {
"@eslint/js": "^9.38.0",
"@vitest/coverage-v8": "3.2.4",
"eslint": "^9.38.0",
"jiti": "^2.6.1",
"prettier": "^3.6.2",
"typescript": "~5.8.3",
"typescript-eslint": "^8.46.1",
"vitest": "^3.2.4"
},
"scripts": {
"lint": "eslint . --ignore-pattern 'dist/**' --ignore-pattern 'test-build.js'",
"test": "vitest run --coverage --reporter verbose",
"test:watch": "vitest watch --coverage",
"format": "prettier --write .",
"format:check": "prettier --check .",
"build": "tsc",
"local-ci": "pnpm i && pnpm run format:check && pnpm run lint && pnpm run test && pnpm run build"
}
}