-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
96 lines (96 loc) · 2.19 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
{
"name": "next-safe-route",
"version": "0.0.20",
"description": "A safer way to define route handlers in Next.js",
"keywords": [
"next",
"nextjs",
"next route",
"next safe route",
"nextjs safe",
"nextjs safe route",
"next api route",
"nextjs api route"
],
"homepage": "https://github.com/richardsolomou/next-safe-route#readme",
"bugs": {
"url": "https://github.com/richardsolomou/next-safe-route/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/richardsolomou/next-safe-route"
},
"license": "MIT",
"author": {
"name": "Richard Solomou",
"email": "[email protected]",
"url": "https://solomou.dev"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "pnpm build --watch",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"lint": "tsc --noEmit && eslint .",
"lint-staged": "lint-staged",
"prepare": "husky",
"release": "release-it",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
]
},
"devDependencies": {
"@sinclair/typebox": "^0.33.7",
"@swc/core": "^1.5.29",
"@tronite/style-guide": "^0.0.13",
"@types/node": "^20.14.2",
"@vitest/coverage-v8": "^1.6.0",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"release-it": "^17.3.0",
"tsup": "^8.1.0",
"typescript": "^5.4.5",
"valibot": "^0.39.0",
"vitest": "^1.6.0",
"yup": "^1.4.0",
"zod": "^3.23.8"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
},
"release-it": {
"git": {
"requireBranch": "main",
"commitMessage": "chore: release v${version}"
},
"github": {
"release": true,
"releaseName": "${version}"
},
"hooks": {
"before:init": [
"git pull",
"pnpm lint",
"pnpm build"
]
}
}
}