-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 3.7 KB
/
package.json
File metadata and controls
128 lines (128 loc) · 3.7 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
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
{
"name": "clear-router",
"version": "2.3.3",
"description": "Laravel-style routing for Node.js with support for Express, H3, Fastify, and Hono, including CommonJS, ESM, and TypeScript support.",
"keywords": [
"h3",
"srvx",
"express",
"routing",
"laravel",
"router",
"middleware",
"typescript",
"esm",
"node",
"express-routing",
"commonjs",
"h3ravel"
],
"homepage": "https://github.com/toneflix/clear-router",
"bugs": {
"url": "https://github.com/toneflix/clear-router/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/toneflix/clear-router.git"
},
"license": "MIT",
"author": "3m1n1nce <3m1n1nce@toneflix.net>",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.cts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./core": {
"import": "./dist/core/index.mjs",
"require": "./dist/core/index.cjs"
},
"./express": {
"import": "./dist/express/index.mjs",
"require": "./dist/express/index.cjs"
},
"./fastify": {
"import": "./dist/fastify/index.mjs",
"require": "./dist/fastify/index.cjs"
},
"./h3": {
"import": "./dist/h3/index.mjs",
"require": "./dist/h3/index.cjs"
},
"./hono": {
"import": "./dist/hono/index.mjs",
"require": "./dist/hono/index.cjs"
},
"./types/basic": "./dist/types/basic.mjs",
"./types/express": "./dist/types/express.mjs",
"./types/fastify": "./dist/types/fastify.mjs",
"./types/h3": "./dist/types/h3.mjs",
"./types/hono": "./dist/types/hono.mjs",
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"test": "vitest",
"lint": "eslint",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"test:esm": "vitest tests/esm.test.ts",
"test:ts": "vitest tests/typescript.test.ts",
"test:coverage": "vitest run --coverage",
"example": "tsx example/express/index.ts",
"example:esm": "tsx example/express/esm.ts",
"example:ts": "tsx example/express/typescript.ts",
"build": "pnpm tsdown",
"prepublishOnly": "pnpm build && pnpm vitest run --coverage && pnpm lint"
},
"peerDependencies": {
"express": "^5.1.0",
"fastify": "^5.0.0",
"h3": "^2.0.1-rc.16",
"hono": "^4.0.0"
},
"peerDependenciesMeta": {
"express": {
"optional": true
},
"fastify": {
"optional": true
},
"h3": {
"optional": true
},
"hono": {
"optional": true
}
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@eslint/markdown": "^7.5.1",
"@types/express": "^4.17.21",
"@types/node": "^20.10.6",
"@types/supertest": "^6.0.3",
"@vitest/coverage-v8": "4.0.18",
"eslint": "^10.0.2",
"fastify": "^5.8.2",
"hono": "^4.12.8",
"supertest": "^7.1.1",
"tsdown": "^0.20.3",
"tsx": "^4.21.0",
"typescript": "^5.3.3",
"typescript-eslint": "^8.56.1",
"vite-tsconfig-paths": "^6.1.1",
"vitepress": "^1.6.4",
"vitest": "^4.0.18"
},
"engines": {
"node": ">=20.0.0"
}
}