- Next.js 11
- Storybook 6 integrated with Next.js
- SCSS globally available variables and mixins
- SCSS variable imports from JSON files
- ESLint with predefined rules
- Stylelint with SCSS and Prettier integration
- Prettier (does not conflict with eslint and stylelint rules)
- Husky and lint-staged pre-commit hooks
- Templateman for fast components creation
- Prepared GitHub Actions and Gitlab CI/CD configurations
- Prepared example components and directory structure
- Node v14.x.x+
- Npm v6.x.x+
To initialize project you should install dependencies from package-lock.json
file via:
npm ci
To start Next development server:
npm run app:dev
Then open http://localhost:3000
.
To start Storybook development server:
npm run storybook:dev
Then open http://localhost:3001
.
To start Next.js and Storybook in parallel:
npm run dev
You can inspect all you code in parallel running:
npm run linters:inspect
If it's possible you can inspect and autofix issues by linters running:
npm run linters:fix