Experimental Next.js blog coding with Codez.
- Node.js v16 or higher
- npm (v7+) or Yarn v1+
npm install
npm run prepare
npm run dev
Start development server (with live search index generation)npm run build
Build for production (with search index generation)npm run export
Export static filesnpm run start
Start production servernpm run lint
Run ESLintnpm run format
Format code with Prettiernpm run type-check
Run TypeScript type checksmake
Use Makefile for convenience (see targets)
- Pre-commit hooks via Husky and lint-staged
- Consistent formatting with Prettier and EditorConfig