-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 1.92 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 1.92 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
70
71
{
"name": "@marcuslongmuir/openapi-typescript-helpers",
"version": "0.1.3",
"description": "Types and utilities for creating framework-agnostic HTTP handlers and clients.",
"license": "MIT",
"keywords": [
"openapi",
"typescript"
],
"files": [
"dist"
],
"scripts": {
"build": "run-p build:*",
"build:cjs": "esbuild ./src/index.ts --outdir=./dist --out-extension:.js=.cjs --platform=node --bundle",
"build:esm": "esbuild ./src/index.ts --outdir=./dist --out-extension:.js=.mjs --platform=neutral --bundle --main-fields=main",
"build:types": "tsc --declarationDir ./dist",
"clean": "rm -rf ./dist",
"prepublishOnly": "run-s ts:validate",
"test": "jest",
"ts:check": "biome check",
"ts:check:fix": "biome check --write",
"ts:depcheck": "depcheck",
"ts:fmt": "biome format",
"ts:fmt:fix": "biome format --write",
"ts:lint": "biome lint",
"ts:lint:fix": "biome lint --write",
"ts:type-check": "tsc --incremental --pretty --noEmit",
"ts:validate": "run-s ts:type-check ts:check ts:depcheck test"
},
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"dependencies": {
"ajv": "8.17.1",
"ajv-formats": "3.0.1",
"urlpattern-polyfill": "10.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.14",
"@types/json-schema": "7.0.15",
"depcheck": "^1.4.7",
"esbuild": "^0.24.2",
"express": "^4.21.2",
"fastify": "^5.2.1",
"jest": "^29.7.0",
"npm-run-all": "^4.1.5",
"ts-jest": "^29.2.5",
"typescript": "^5.7.3"
},
"peerDependencies": {
"express": "*",
"fastify": "*"
},
"peerDependenciesMeta": {
"fastify": {
"optional": true
},
"express": {
"optional": true
}
}
}