-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 2.12 KB
/
package.json
File metadata and controls
69 lines (69 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "@trojs/error",
"description": "Extended Errors",
"version": "5.0.4",
"author": {
"name": "Pieter Wigboldus",
"url": "https://trojs.org/"
},
"license": "MIT",
"scripts": {
"lint": "eslint",
"lint:report": "eslint src/*.js -f json -o report.json",
"lint:fix": "eslint --fix",
"lint:types": "tsc --noEmit --project tsconfig.json --skipLibCheck",
"generate:types": "rm -rf ./types && tsc --skipLibCheck --declaration --allowJs --emitDeclarationOnly --outDir ./types ./src/index.js",
"test": "node --test --experimental-test-coverage --test-reporter=spec --test-reporter=lcov --test-reporter-destination=stdout --test-reporter-destination=./coverage/lcov.info",
"cpd": "node_modules/jscpd/bin/jscpd src",
"vulnerabilities": "npm audit --only=prod"
},
"type": "module",
"main": "./src/index.js",
"types": "./types/index.d.ts",
"files": [
"./src/index.js",
"./src/app-error.js",
"./src/authentication-error.js",
"./src/access-error.js",
"./src/no-content-error.js",
"./src/not-found-error.js",
"./src/not-implemented-error.js",
"./src/processing-error.js",
"./src/response-error.js",
"./src/server-error.js",
"./src/timeout-error.js",
"./src/validation-error.js",
"./src/rate-limit-error.js",
"./src/schemas/error.js",
"./types/**/*.d.ts"
],
"source": "./src/index.js",
"module": "./src/index.js",
"devDependencies": {
"@trojs/lint": "^0.4.0",
"@types/node": "^24.9.2",
"eslint": "^10.0.0",
"globals": "^17.0.0",
"jscpd": "^4.0.5",
"typescript": "^5.9.3"
},
"repository": {
"type": "git",
"url": "https://github.com/trojs/error"
},
"engines": {
"node": ">= 20"
},
"keywords": [
"error",
"exception",
"catch"
],
"dependencies": {
"@trojs/validator": "^12.0.0"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/w3nl"
}
}