-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
108 lines (108 loc) · 2.28 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
{
"name": "uttp",
"version": "0.1.2",
"type": "module",
"description": "write your request handlers once, run anywhere",
"repository": {
"type": "git",
"url": "https://github.com/sachinraja/uttp.git"
},
"homepage": "https://github.com/sachinraja/uttp#readme",
"bugs": {
"url": "https://github.com/sachinraja/uttp/issues"
},
"author": "Sachin Raja <[email protected]>",
"license": "MIT",
"main": "dist/index.cjs",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.js",
"default": "./dist/index.cjs"
},
"./adapters/*": {
"types": "./dist/adapters/*/index.d.ts",
"import": "./dist/adapters/*/index.js",
"default": "./dist/adapters/*/index.cjs"
},
"./utils/runners": {
"import": "./dist/utils/runners.js",
"default": "./dist/utils/runners.cjs"
}
},
"files": ["dist", "adapters"],
"scripts": {
"build": "rimraf dist && run-p build:*",
"build:js": "tsup",
"build:types": "tsc -p tsconfig.build.json",
"format": "dprint fmt",
"lint": "run-p lint:*",
"lint:format": "dprint check",
"lint:types": "tsc",
"lint:js": "eslint .",
"prepare": "husky install",
"prepublishOnly": "pnpm build",
"test": "vitest"
},
"peerDependencies": {
"express": "^4",
"fastify": "^3 || ^4",
"h3": "*",
"koa": "^2"
},
"peerDependenciesMeta": {
"express": {
"optional": true
},
"fastify": {
"optional": true
},
"h3": {
"optional": true
},
"koa": {
"optional": true
}
},
"devDependencies": {
"@sachinraja/eslint-config": "0.1.1",
"@types/aws-lambda": "8.10.102",
"@types/express": "4.17.13",
"@types/koa": "2.13.5",
"@types/node": "18.7.11",
"dprint": "0.30.3",
"eslint": "8.22.0",
"express": "4.18.1",
"fastify": "4.5.2",
"get-port": "6.1.2",
"h3": "0.7.16",
"husky": "8.0.1",
"koa": "2.13.4",
"nano-staged": "0.8.0",
"npm-run-all": "4.1.5",
"pkgroll": "1.4.0",
"rimraf": "3.0.2",
"tsup": "6.2.2",
"typescript": "4.7.4",
"undici": "5.10.0",
"vite": "3.0.9",
"vitest": "0.22.1"
},
"sideEffects": false,
"nano-staged": {
"*.{js,ts,md,json,yaml}": "dprint fmt"
},
"tsup": {
"entry": [
"src/index.ts",
"src/adapters/*/index.ts",
"src/utils/runners.ts"
],
"format": [
"esm",
"cjs"
],
"splitting": true
}
}