Next.js 16Cloudflare PagesStatic Export
RxTemplate
A production-ready Next.js 16 boilerplate preconfigured for static export and deployment on Cloudflare Pages. Opinionated defaults for Biome, TypeScript, PWA, and security headers — clone and ship.
Every config file from this template — live, documented and copyable.
{
"name": "rx-template",
"version": "0.1.0",
"author": "RxNote",
"private": true,
"packageManager": "[email protected]",
"description": "A Next.js boilerplate.",
"engines": {
"node": ">=26.0.0"
},
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "npx serve@latest out",
"lint": "biome check --write",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"next": "^16.3.2",
"react": "^19.2.8",
"react-dom": "^19.2.8"
},
"devDependencies": {
"@biomejs/biome": "^2.5.9",
"@tailwindcss/postcss": "^4.3.3",
"@types/node": "^26.2.0",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.4",
"knip": "^6.32.2",
"tailwindcss": "^4.3.3",
"typescript": "^7.0.2"
}
}