This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
{
|
||||
"name": "cloudflare-vite-fullstack-bknd-code",
|
||||
"description": "A template for building a React application with Vite, Cloudflare Workers, and bknd",
|
||||
"name": "cloudflare-vite-fullstack-userbase-code",
|
||||
"description": "A template for building a React application with Vite, Cloudflare Workers, and userbase",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"cf:types": "wrangler types",
|
||||
"bknd": "node --experimental-strip-types node_modules/.bin/bknd",
|
||||
"bknd:seed": "NODE_NO_WARNINGS=1 node --experimental-strip-types seed.ts",
|
||||
"userbase": "node --experimental-strip-types node_modules/.bin/userbase",
|
||||
"userbase:seed": "NODE_NO_WARNINGS=1 node --experimental-strip-types seed.ts",
|
||||
"check": "tsc && vite build && wrangler deploy --dry-run",
|
||||
"deploy": "CLOUDFLARE_ENV=production vite build && CLOUDFLARE_ENV=production npm run bknd -- sync --force && wrangler deploy",
|
||||
"deploy": "CLOUDFLARE_ENV=production vite build && CLOUDFLARE_ENV=production npm run userbase -- sync --force && wrangler deploy",
|
||||
"dev": "vite",
|
||||
"preview": "npm run build && vite preview",
|
||||
"postinstall": "npm run cf:types && npm run bknd:seed"
|
||||
"postinstall": "npm run cf:types && npm run userbase:seed"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tailwindcss/vite": "^4.1.17",
|
||||
"bknd": "file:../../app",
|
||||
"userbase": "file:../../app",
|
||||
"hono": "4.10.6",
|
||||
"react": "^19.1.0",
|
||||
"react-dom": "^19.1.0",
|
||||
|
||||
Reference in New Issue
Block a user