@chubbyts/chubbyts-http-error
Version:
Creates http error which can be catched and converted to error responses.
59 lines (58 loc) • 1.41 kB
JSON
{
"name": "@chubbyts/chubbyts-http-error",
"type": "module",
"version": "2.4.2",
"description": "Creates http error which can be catched and converted to error responses.",
"keywords": [
"chubbyts",
"http error",
"http-error"
],
"author": "Dominik Zogg",
"license": "MIT",
"repository": "chubbyts/chubbyts-http-error",
"scripts": {
"build": "node ./build.mjs",
"cs-fix": "prettier --write src tests",
"cs": "prettier --check src tests",
"infection": "stryker run",
"lint-fix": "eslint src tests eslint.config.mjs vitest.config.ts --fix",
"lint": "eslint src tests",
"prepare": "npm run build",
"test": "vitest"
},
"prettier": {
"printWidth": 120,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "all"
},
"files": [
"dist"
],
"exports": {
"./*": {
"types": "./*.d.ts",
"require": "./*.cjs",
"import": "./*.mjs",
"default": "./*.mjs"
}
},
"engines": {
"node": ">=18"
},
"devDependencies": {
"@chubbyts/chubbyts-eslint": "^3.0.4",
"@chubbyts/chubbyts-packaging": "^4.0.0",
"@stryker-mutator/core": "^8.7.1",
"@stryker-mutator/vitest-runner": "^8.7.1",
"@types/node": "^22.13.9",
"@vitest/coverage-v8": "^3.0.7",
"prettier": "^3.5.3",
"typescript": "^5.8.2",
"vitest": "^3.0.7"
},
"publishConfig": {
"access": "public"
}
}