feat: add deploy script and wrangler dev dependency

This commit is contained in:
kuekhaoyang
2025-12-24 16:02:32 +08:00
parent e94ad19646
commit c68e2cec9f
+5 -3
View File
@@ -7,7 +7,8 @@
"build": "next build",
"start": "next start",
"lint": "eslint",
"pages:build": "npx @cloudflare/next-on-pages@1"
"pages:build": "npx @cloudflare/next-on-pages@1",
"deploy": "npm run pages:build && wrangler pages deploy"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
@@ -31,6 +32,7 @@
"eslint-config-next": "16.1.1",
"postcss": "^8.5.6",
"tailwindcss": "^4",
"typescript": "^5"
"typescript": "^5",
"wrangler": "^3.57.1"
}
}
}