Experimental Next.js blog coding with Codez.
- Node.js v16 or higher
- npm (v7+) or Yarn v1+
npm install
npm run preparenpm run devStart development server (with live search index generation)npm run buildBuild for production (with search index generation)npm run exportExport static filesnpm run startStart production servernpm run lintRun ESLintnpm run formatFormat code with Prettiernpm run type-checkRun TypeScript type checksmakeUse Makefile for convenience (see targets)
- Pre-commit hooks via Husky and lint-staged
- Consistent formatting with Prettier and EditorConfig