-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
148 lines (148 loc) · 3.93 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "honox",
"version": "0.1.26",
"main": "dist/index.js",
"type": "module",
"scripts": {
"prepare": "tsup",
"test": "bun typecheck && bun test:unit && bun test:integration && bun test:e2e",
"test:unit": "vitest --run ./src",
"test:integration": "bun test:integration:api && bun test:integration:apps",
"test:integration:api": "vitest --run ./test-integration/api.test.ts",
"test:integration:apps": "vitest --run -c ./test-integration/vitest.config.ts ./test-integration/apps.test.ts",
"test:e2e": "playwright test -c ./test-e2e/playwright.config.ts ./test-e2e/e2e.test.ts",
"typecheck": "tsc --noEmit",
"build": "tsup && publint",
"watch": "tsup --watch",
"lint": "eslint src mocks test-integration test-e2e",
"lint:fix": "eslint src mocks test-integration test-e2e --fix",
"format": "prettier --check \"src/**/*.{js,ts}\" \"mocks/**/*.{js,ts}\" \"test-*/**/*.{js,ts}\"",
"format:fix": "prettier --write \"src/**/*.{js,ts}\" \"mocks/**/*.{js,ts}\" \"test-*/**/*.{js,ts}\"",
"prerelease": "bun run test && bun run build",
"release": "np"
},
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./types": {
"types": "./dist/types.d.ts",
"import": "./dist/types.js"
},
"./factory": {
"types": "./dist/factory/index.d.ts",
"import": "./dist/factory/index.js"
},
"./server": {
"types": "./dist/server/index.d.ts",
"import": "./dist/server/index.js"
},
"./server/base": {
"types": "./dist/server/base.d.ts",
"import": "./dist/server/base.js"
},
"./client": {
"types": "./dist/client/index.d.ts",
"import": "./dist/client/index.js"
},
"./utils/*": {
"types": "./dist/utils/*.d.ts",
"import": "./dist/utils/*.js"
},
"./vite": {
"types": "./dist/vite/index.d.ts",
"import": "./dist/vite/index.js"
},
"./vite/client": {
"types": "./dist/vite/client.d.ts",
"import": "./dist/vite/client.js"
},
"./vite/components": {
"types": "./dist/vite/components/index.d.ts",
"import": "./dist/vite/components/index.js"
}
},
"typesVersions": {
"*": {
"types": [
"./dist/types"
],
"factory": [
"./dist/factory"
],
"server": [
"./dist/server"
],
"server/base": [
"./dist/server/base"
],
"client": [
"./dist/client"
],
"utils/*": [
"./dist/utils/*"
],
"vite": [
"./dist/vite"
],
"vite/client": [
"./dist/vite/client"
],
"vite/components": [
"./dist/vite/components"
]
}
},
"author": "Yusuke Wada <yusuke@kamawada.com> (https://github.com/yusukebe)",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/honojs/honox.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"homepage": "https://hono.dev",
"dependencies": {
"@babel/generator": "7.25.6",
"@babel/parser": "7.25.6",
"@babel/traverse": "7.25.6",
"@babel/types": "7.25.6",
"@hono/vite-dev-server": "0.16.0",
"jsonc-parser": "3.3.1",
"precinct": "12.1.2"
},
"peerDependencies": {
"hono": ">=4.*"
},
"devDependencies": {
"@hono/eslint-config": "^1.0.2",
"@mdx-js/rollup": "^3.0.0",
"@playwright/test": "^1.42.0",
"@types/babel__generator": "^7",
"@types/babel__traverse": "^7",
"@types/node": "^20.10.5",
"eslint": "^9.10.0",
"glob": "^10.3.10",
"hono": "4.4.13",
"np": "7.7.0",
"prettier": "^3.1.1",
"publint": "^0.2.7",
"tsup": "^8.1.0",
"typescript": "^5.3.3",
"vite": "^5.2.8",
"vite-tsconfig-paths": "^5.0.1",
"vitest": "^1.4.0"
},
"engines": {
"node": ">=18.14.1"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.9.6"
}
}