http-errors-enhanced-cjs
Version:
Create HTTP errors with additional properties for any framework.
64 lines (63 loc) • 1.88 kB
JSON
{
"name": "http-errors-enhanced-cjs",
"version": "2.0.1",
"description": "Create HTTP errors with additional properties for any framework.",
"homepage": "https://github.com/petermetz/http-errors-enhanced",
"repository": "github:petermetz/http-errors-enhanced",
"keywords": [
"http",
"errors",
"enhanced",
"http-errors"
],
"bugs": {
"url": "https://github.com/petermetz/http-errors-enhanced/issues"
},
"author": "Peter Somogyvari",
"license": "ISC",
"private": false,
"files": [
"dist",
"CHANGELOG.md",
"LICENSE.md",
"README.md"
],
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"dev": "swc --delete-dir-on-start -s -w -d dist src",
"build": "swc --delete-dir-on-start -d dist src",
"postbuild": "concurrently npm:lint npm:typecheck",
"format": "prettier -w src test",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx src test",
"typecheck": "tsc -p . --emitDeclarationOnly",
"test": "c8 -c test/config/c8-local.json tap test/*.test.ts",
"test:ci": "c8 -c test/config/c8-ci.json tap --no-color test/*.test.ts",
"ci": "npm run build && npm run test:ci",
"prepublishOnly": "npm run ci",
"postpublish": "git push origin && git push origin -f --tags",
"generate": "node --loader=ts-node/esm ./generate.ts"
},
"devDependencies": {
"@cowtech/eslint-config": "^9.0.0",
"@swc/cli": "^0.1.63",
"@swc/core": "^1.3.101",
"@types/http-errors": "^2.0.4",
"@types/node": "^20.10.5",
"@types/tap": "^15.0.11",
"c8": "^8.0.1",
"chokidar": "^3.5.3",
"concurrently": "^8.2.2",
"http-errors": "^2.0.0",
"prettier": "^3.1.1",
"tap": "^18.6.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"engines": {
"node": ">= 18.18.0"
},
"tap": {
"extends": "./test/config/tap.yml"
}
}