{
	"name": "@thi.ng/errors",
	"version": "2.6.3",
	"description": "Custom error types and error factory functions",
	"type": "module",
	"module": "./index.js",
	"typings": "./index.d.ts",
	"sideEffects": false,
	"repository": {
		"type": "git",
		"url": "git+https://github.com/thi-ng/umbrella.git",
		"directory": "packages/errors"
	},
	"homepage": "https://thi.ng/errors",
	"funding": [
		{
			"type": "github",
			"url": "https://github.com/sponsors/postspectacular"
		},
		{
			"type": "patreon",
			"url": "https://patreon.com/thing_umbrella"
		},
		{
			"type": "liberapay",
			"url": "https://liberapay.com/thi.ng"
		}
	],
	"author": "Karsten Schmidt (https://thi.ng)",
	"license": "Apache-2.0",
	"scripts": {
		"build": "yarn build:esbuild && yarn build:decl",
		"build:decl": "tsc --declaration --emitDeclarationOnly",
		"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
		"clean": "bun ../../tools/src/clean-package.ts",
		"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
		"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
		"pub": "npm publish --access public",
		"test": "bun test",
		"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
	},
	"devDependencies": {
		"@types/node": "^24.10.9",
		"esbuild": "^0.27.2",
		"typedoc": "^0.28.16",
		"typescript": "^5.9.3"
	},
	"keywords": [
		"assert",
		"errors",
		"typescript"
	],
	"publishConfig": {
		"access": "public"
	},
	"browser": {
		"process": false,
		"setTimeout": false
	},
	"engines": {
		"node": ">=18"
	},
	"files": [
		"./*.js",
		"./*.d.ts"
	],
	"exports": {
		".": {
			"default": "./index.js"
		},
		"./assert": {
			"default": "./assert.js"
		},
		"./deferror": {
			"default": "./deferror.js"
		},
		"./ensure": {
			"default": "./ensure.js"
		},
		"./illegal-arguments": {
			"default": "./illegal-arguments.js"
		},
		"./illegal-arity": {
			"default": "./illegal-arity.js"
		},
		"./illegal-state": {
			"default": "./illegal-state.js"
		},
		"./io": {
			"default": "./io.js"
		},
		"./out-of-bounds": {
			"default": "./out-of-bounds.js"
		},
		"./unsupported": {
			"default": "./unsupported.js"
		}
	},
	"thi.ng": {
		"alias": "err",
		"year": 2018
	},
	"gitHead": "4bd1b9d8ae52ba32b90a1b9a55d329c708ca7865\n"
}
