-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
162 lines (162 loc) · 4.34 KB
/
package.json
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"name": "@gquittet/graceful-server",
"version": "5.2.8",
"description": "Tiny (~5k), dependency-free Node.JS library to make your API more graceful",
"license": "MIT",
"author": "Guillaume Quittet <[email protected]> (https://github.com/gquittet)",
"homepage": "https://github.com/gquittet/graceful-server#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/gquittet/graceful-server.git"
},
"bugs": {
"email": "[email protected]",
"url": "https://github.com/gquittet/graceful-server/issues"
},
"type": "module",
"main": "./lib/index.cjs",
"module": "./lib/index.mjs",
"types": "./lib/index.d.cts",
"exports": {
".": {
"require": {
"types": "./lib/index.d.cts",
"default": "./lib/index.cjs"
},
"import": {
"types": "./lib/index.d.ts",
"default": "./lib/index.mjs"
},
"default": {
"types": "./lib/index.d.ts",
"default": "./lib/index.mjs"
}
}
},
"imports": {
"#config/*": "./src/config/*.js",
"#constants/*": "./src/constants/*.js",
"#core/*": "./src/core/*.js",
"#interface/*": "./src/interface/*.js",
"#util/*": "./src/util/*.js"
},
"files": [
"./lib/**/*"
],
"publishConfig": {
"imports": {
"#config/*": {
"require": {
"types": "./lib/config/*.d.ts",
"default": "./lib/config/*.cjs"
},
"import": {
"types": "./lib/config/*.d.ts",
"default": "./lib/config/*.mjs"
},
"default": {
"types": "./lib/config/*.d.ts",
"default": "./lib/config/*.mjs"
}
},
"#constants/*": {
"require": {
"types": "./lib/constants/*.d.ts",
"default": "./lib/constants/*.cjs"
},
"import": {
"types": "./lib/constants/*.d.ts",
"default": "./lib/constants/*.mjs"
},
"default": {
"types": "./lib/constants/*.d.ts",
"default": "./lib/constants/*.mjs"
}
},
"#core/*": {
"require": {
"types": "./lib/core/*.d.ts",
"default": "./lib/core/*.cjs"
},
"import": {
"types": "./lib/core/*.d.ts",
"default": "./lib/core/*.mjs"
},
"default": {
"types": "./lib/core/*.d.ts",
"default": "./lib/core/*.mjs"
}
},
"#interface/*": {
"require": {
"types": "./lib/interface/*.d.ts",
"default": "./lib/interface/*.cjs"
},
"import": {
"types": "./lib/interface/*.d.ts",
"default": "./lib/interface/*.mjs"
},
"default": {
"types": "./lib/interface/*.d.ts",
"default": "./lib/interface/*.mjs"
}
},
"#util/*": {
"require": {
"types": "./lib/util/*.d.ts",
"default": "./lib/util/*.cjs"
},
"import": {
"types": "./lib/util/*.d.ts",
"default": "./lib/util/*.mjs"
},
"default": {
"types": "./lib/util/*.d.ts",
"default": "./lib/util/*.mjs"
}
}
}
},
"scripts": {
"build": "tsup --onSuccess='tsc -p tsconfig.prod.json --emitDeclarationOnly --declaration'",
"lint": "eslint",
"test": "vitest",
"coverage": "vitest run --coverage",
"preversion": "pnpm lint && pnpm coverage && pnpm build && publint --strict",
"prepublish": "pnpm lint && pnpm coverage && pnpm build && publint --strict"
},
"optionalDependencies": {
"fsevents": "^2.3.3"
},
"devDependencies": {
"@eslint/js": "9.14.0",
"@types/eslint__js": "^8.42.3",
"@types/express": "^5.0.0",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"@vitest/coverage-v8": "^2.1.5",
"eslint": "9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-security": "^3.0.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unused-imports": "^4.0.1",
"prettier": "^3.3.3",
"publint": "^0.2.12",
"tsup": "^8.3.5",
"typescript": "^5.5.4",
"typescript-eslint": "^8.14.0",
"vitest": "^2.1.5"
},
"keywords": [
"api",
"connection",
"graceful",
"gracefulserver",
"http",
"server"
],
"engines": {
"node": ">=18.0.0"
}
}