diff options
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/package.json b/package.json index af86bf6..af4c89c 100644 --- a/package.json +++ b/package.json @@ -4,11 +4,17 @@ "version": "0.0.1", "scripts": { "dev": "astro dev", + "dev:wrangler": "wrangler pages dev --compatibility-date=2024-06-27 --d1=DB=astro-base-db -- astro dev", "build": "astro build", - "preview": "astro preview", + "preview": "wrangler pages dev dist", + "deploy": "wrangler pages deploy dist", + "db:create": "wrangler d1 create astro-base-db", + "db:init": "wrangler d1 execute astro-base-db --file=./schema.sql", + "db:migrate": "wrangler d1 execute astro-base-db --file=./schema.sql --local", "astro": "astro" }, "dependencies": { + "@astrojs/cloudflare": "^12.6.0", "@astrojs/react": "^4.3.0", "@tailwindcss/vite": "^4.1.7", "@types/react": "^19.1.5", @@ -16,7 +22,8 @@ "astro": "^5.10.1", "react": "^19.1.0", "react-dom": "^19.1.0", - "tailwindcss": "^4.1.7" + "tailwindcss": "^4.1.7", + "wrangler": "^4.22.0" }, "devDependencies": { "@tailwindcss/typography": "^0.5.16" |
