Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rozsival/nextjs-starter
đ VĂt's Next.js starter template
https://github.com/rozsival/nextjs-starter
babel emotion eslint nextjs react starter stylelint template typescript
Last synced: 10 days ago
JSON representation
đ VĂt's Next.js starter template
- Host: GitHub
- URL: https://github.com/rozsival/nextjs-starter
- Owner: rozsival
- Created: 2023-02-01T13:50:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-23T08:58:52.000Z (14 days ago)
- Last Synced: 2024-10-24T21:59:07.283Z (13 days ago)
- Topics: babel, emotion, eslint, nextjs, react, starter, stylelint, template, typescript
- Language: TypeScript
- Homepage:
- Size: 85.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
đ
Next.js StarterVĂt's starter template for Next.js v13
## â Features
Minimalistic starter for Next.js projects with all the goodies đ¤
- [TypeScript](https://github.com/microsoft/TypeScript) and [ESLint](https://github.com/eslint/eslint) with opinionated
setup
- [Prettier](https://github.com/prettier/prettier) as code formatter
- [emotion](https://github.com/emotion-js/emotion) with theme and utilities for CSS-in-JS
- [Stylelint](https://github.com/stylelint/stylelint) to keep your CSS-in-JS clean
- [Conventional Commits](https://github.com/conventional-commits/conventionalcommits.org) setup
- [husky](https://github.com/typicode/husky) hooks for `commit-msg` and `pre-commit`
(with [lint-staged](https://github.com/okonet/lint-staged))
- [pnpm](https://github.com/pnpm/pnpm) as package manager (with [renovate](https://github.com/renovatebot/renovate))
- [GitHub Actions](https://github.com/actions) workflow for QA
- `src` folder with lined-up structure for your components, pages and other stuff## đ¨âđť Usage
1. Select `Use this template` > `Create new repository` above
2. Clone the created repository
3. Run `pnpm install`
4. Start coding and create something đ## âď¸ Scripts
- `pnpm run build` â creates production build with `next build`
- `pnpm run cz` â starts CLI to create Conventional Commit
- `pnpm run dev` â starts development server with `next dev`
- `pnpm run eslint` â checks code with `eslint`
- `pnpm run eslint:fix` â runs `eslint` with auto-fix
- `pnpm run fix` â runs all linters with auto-fix
- `pnpm run prettier` â checks code format with `prettier`
- `pnpm run prettier:fix` â runs `prettier` with auto-fix
- `pnpm run stylelint` â checks your CSS-in-JS files
- `pnpm run stylelint:fix` â runs `stylelint` with auto-fix
- `pnpm run qa` â runs all linters in check-only mode
- `pnpm run start` â starts server for last created production build
- `pnpm run ts` - checks code with `tsc`