forked from ShogunPanda/http-errors-enhanced
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.8 KB
/
Copy pathpackage.json
File metadata and controls
61 lines (61 loc) · 1.8 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
{
"name": "http-errors-enhanced",
"version": "1.0.13",
"description": "Create HTTP errors with additional properties for any framework.",
"homepage": "https://sw.cowtech.it/http-errors-enhanced",
"repository": "github:ShogunPanda/http-errors-enhanced",
"keywords": [
"http",
"errors",
"enhanced",
"http-errors"
],
"bugs": {
"url": "https://github.com/ShogunPanda/http-errors-enhanced/issues"
},
"author": "Shogun <shogun@cowtech.it>",
"license": "ISC",
"private": false,
"files": [
"dist",
"CHANGELOG.md",
"LICENSE.md",
"README.md"
],
"type": "module",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"dev": "swc --delete-dir-on-start -s -w -d dist src",
"prebuild": "rm -rf dist && npm run lint",
"build": "swc -d dist src",
"postbuild": "tsc -p . --emitDeclarationOnly",
"format": "prettier -w src test",
"lint": "eslint src test",
"test": "c8 -c test/config/c8-local.json tap --rcfile=test/config/tap.yml test/*.test.ts",
"test:ci": "c8 -c test/config/c8-ci.json tap --rcfile=test/config/tap.yml --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": "^8.8.0",
"@swc/cli": "^0.1.57",
"@swc/core": "^1.3.19",
"@types/http-errors": "^2.0.1",
"@types/node": "^18.11.9",
"@types/prettier": "^2.7.1",
"@types/tap": "^15.0.7",
"c8": "^7.12.0",
"chokidar": "^3.5.3",
"http-errors": "^2.0.0",
"prettier": "^2.8.0",
"tap": "^16.3.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.3"
},
"engines": {
"node": ">=14.15.0"
}
}