/
package.json
75 lines (75 loc) · 2 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
{
"name": "typed-route-handler",
"version": "0.2.4",
"description": "Type-safe route handlers for Next.js",
"keywords": [
"next",
"route handler",
"typescript",
"api"
],
"homepage": "https://github.com/venables/typed-route-handler#readme",
"bugs": {
"url": "https://github.com/venables/typed-route-handler/issues"
},
"repository": {
"type": "git",
"url": "git://github.com/venables/typed-route-handler.git"
},
"license": "MIT",
"author": "Matt Venables <matt@venabl.es>",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"module": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./client": {
"types": "./client/index.d.ts",
"import": "./client/index.mjs",
"module": "./client/index.mjs",
"require": "./client/index.js"
}
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist/**/*",
"client/**/*"
],
"scripts": {
"build": "tsup",
"check": "concurrently bun:type-check bun:lint bun:oxlint bun:format:check bun:test",
"clean": "git clean -xdf dist client",
"format": "prettier --write . --ignore-path .gitignore",
"format:check": "prettier --check . --ignore-path .gitignore",
"lint": "eslint lib --ext .ts",
"outdated": "npx npm-check-updates --interactive --format group",
"oxlint": "oxlint",
"prepublish": "bun run build",
"test": "bun test",
"type-check": "tsc --pretty --noEmit"
},
"dependencies": {},
"devDependencies": {
"@types/jest": "^29.5.10",
"@types/node": "^20.9.4",
"@vercel/style-guide": "^5.1.0",
"concurrently": "^8.2.2",
"eslint": "^8.54.0",
"eslint-config-next": ">= 13",
"jest": "^29.7.0",
"oxlint": "^0.2.12",
"prettier": "^3.1.0",
"tsup": "^8.0.1",
"tsx": "^4.3.0",
"typescript": "^5.3.2"
},
"peerDependencies": {
"next": ">= 13",
"zod": ">= 3.22"
}
}