-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
146 lines (146 loc) · 6.4 KB
/
Copy pathpackage.json
File metadata and controls
146 lines (146 loc) · 6.4 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "bhono",
"version": "1.0.0",
"description": "Boilerplate Hono",
"homepage": "https://github.com/etusdigital/bhono#readme",
"bugs": {
"url": "https://github.com/etusdigital/bhono/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/etusdigital/bhono.git"
},
"license": "ISC",
"author": "",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"deploy": "wrangler deploy --config config/wrangler.json",
"db:seed": "pnpm tsx src/server/db/seed.ts",
"db:schema:local": "wrangler --config config/wrangler.json d1 execute $(node -e \"const c=require('./config/wrangler.json'); console.log((c.d1_databases&&c.d1_databases[0]&&c.d1_databases[0].database_name)||'');\") --local --file=schema.sql",
"db:schema:remote": "wrangler --config config/wrangler.json d1 execute $(node -e \"const c=require('./config/wrangler.json'); console.log((c.d1_databases&&c.d1_databases[0]&&c.d1_databases[0].database_name)||'');\") --remote --file=schema.sql",
"db:seed:local": "pnpm db:seed && wrangler --config config/wrangler.json d1 execute $(node -e \"const c=require('./config/wrangler.json'); console.log((c.d1_databases&&c.d1_databases[0]&&c.d1_databases[0].database_name)||'');\") --local --file=seed.sql",
"db:seed:remote": "pnpm db:seed && wrangler --config config/wrangler.json d1 execute $(node -e \"const c=require('./config/wrangler.json'); console.log((c.d1_databases&&c.d1_databases[0]&&c.d1_databases[0].database_name)||'');\") --remote --file=seed.sql",
"db:reset:local": "pnpm db:schema:local && pnpm db:seed:local",
"db:reset:remote": "pnpm db:schema:remote && pnpm db:seed:remote",
"api:spec": "pnpm tsx scripts/generate-openapi.ts",
"api:types": "pnpm api:spec && openapi-typescript docs/openapi.json -o src/shared/types/api.ts",
"cf-typegen": "wrangler types --config config/wrangler.json",
"lint": "eslint . --config config/eslint.config.js",
"typecheck": "tsc --build",
"typecheck:client": "tsc --build tsconfig.app.json",
"typecheck:server": "tsc --build tsconfig.server.json",
"test:unit:server": "vitest run --coverage",
"test:unit:client": "vitest run --config vitest.config.frontend.ts --coverage",
"test:unit": "pnpm test:unit:server && pnpm test:unit:client",
"test:unit:watch": "vitest --coverage",
"test:integration": "vitest run --config tests/integration/vitest.config.ts --coverage",
"test:integration:watch": "vitest --config tests/integration/vitest.config.ts --coverage",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:headed": "playwright test --headed",
"test:e2e:debug": "playwright test --debug",
"test:e2e:report": "playwright show-report .test-output/reports/playwright",
"test:e2e:coverage": "E2E_COVERAGE=true playwright test; pnpm test:e2e:coverage:report",
"test:e2e:coverage:report": "nyc report --reporter=html --reporter=text --report-dir=.test-output/coverage/e2e --temp-dir=.test-output/coverage/e2e/.nyc_output",
"test:e2e:prod": "BASE_URL=https://hono-boilerplate.a3s.workers.dev playwright test",
"test:e2e:prod:auth": "tsx scripts/capture-prod-session.ts",
"test": "pnpm test:unit && pnpm test:integration && pnpm test:e2e",
"changeset": "changeset",
"changeset:version": "changeset version && pnpm install --lockfile-only",
"changeset:publish": "changeset publish",
"prepare": "husky || true",
"test:run": "pnpm test:unit:server && pnpm test:unit:client",
"sync:template": "./scripts/sync-template.sh",
"sync:template:check": "./scripts/sync-template.sh && git diff --exit-code packages/bhono-app/templates/"
},
"dependencies": {
"@etus/auth": "^0.11.1",
"@etus/seven-react": "0.1.0-beta.3",
"@etus/tokens": "0.4.0-beta.8",
"@etus/ui": "0.4.0-beta.10",
"@hono/swagger-ui": "^0.6.1",
"@hono/zod-openapi": "^1.4.0",
"@hookform/resolvers": "^5.2.2",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-slot": "^1.2.4",
"@tanstack/react-query": "^5.100.11",
"@tanstack/react-router": "^1.170.7",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"hono": "^4.12.21",
"lucide-react": "^1.16.0",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"react-hook-form": "^7.76.0",
"sonner": "^2.0.7",
"tailwind-merge": "^3.6.0",
"uuidv7": "^1.2.1",
"zod": "^4.4.3"
},
"devDependencies": {
"@changesets/cli": "^2.31.0",
"@cloudflare/vite-plugin": "^1.37.3",
"@cloudflare/workers-types": "^4.20260521.1",
"@commitlint/cli": "^21.0.1",
"@commitlint/config-conventional": "^21.0.1",
"@eslint-react/eslint-plugin": "^5.8.3",
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.60.0",
"@tailwindcss/vite": "^4.3.0",
"@tanstack/eslint-plugin-query": "^5.100.11",
"@tanstack/eslint-plugin-router": "^1.162.0",
"@tanstack/react-query-devtools": "^5.100.11",
"@tanstack/react-router-devtools": "^1.167.0",
"@tanstack/router-plugin": "^1.168.10",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^25.9.1",
"@types/react": "^19.2.15",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.2",
"@vitest/browser": "^4.1.7",
"@vitest/browser-playwright": "^4.1.7",
"@vitest/coverage-istanbul": "^4.1.7",
"@vitest/coverage-v8": "^4.1.7",
"better-sqlite3": "^12.10.0",
"eslint": "^10.4.0",
"eslint-plugin-boundaries": "^6.0.2",
"eslint-plugin-promise": "^7.3.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-you-might-not-need-an-effect": "^0.10.1",
"eslint-plugin-unicorn": "^64.0.0",
"husky": "^9.1.7",
"jsdom": "^29.1.1",
"lint-staged": "^17.0.5",
"msw": "^2.14.6",
"nyc": "^18.0.0",
"openapi-typescript": "^7.13.0",
"tailwindcss": "^4.3.0",
"tsx": "^4.22.3",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.4",
"uuid": "^14.0.0",
"vite": "^8.0.14",
"vite-plugin-istanbul": "^9.0.0",
"vitest": "^4.1.7",
"wrangler": "^4.93.1"
},
"packageManager": "pnpm@10.15.1",
"pnpm": {
"onlyBuiltDependencies": [
"better-sqlite3",
"esbuild",
"sharp",
"workerd"
],
"overrides": {
"istanbul-lib-processinfo>uuid": "^11.1.1"
}
}
}