0.2.7 • Published 1 year ago

@wambach-dev/react-library v0.2.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Next.js Boilerplate Starter

This is a comprehensive boilerplate starter for building web applications using Next.js. It comes pre-configured with the following technologies:

  • Next.js
  • Husky (Git hooks)
  • Prettier (Code formatting)
  • ESLint (Code linting)
  • TypeScript
  • Jest (Unit testing)
  • Cypress (End-to-end testing)
  • SCSS (Sass for styling)
  • Storybook (Component documentation)

Getting Started

To get started with this boilerplate, follow these steps:

  1. Clone the repository:
    git clone https://github.com/your-username/nextjs-boilerplate.git
  2. Navigate to the project directory: cd nextjs-boilerplate
  3. Install dependencies: yarn
  4. Start the development server: yarn dev

Scripts

  • dev: Start the development server.
  • dev:test: Start the development server with jest watch.
  • build: Build the production-ready application.
  • start: Start the production server.
  • lint: Lint the code using ESLint.
  • lint:fix: Lint the code and automatically fix issues.
  • test: Run unit tests using Jest.
  • test:watch: Run unit tests in watch mode.
  • coverage: Generate test coverage report.
nextjs-boilerplate/
├── public/                  # Static assets
├── src/
│   ├── app/                 # Next.js pages and layout
│   │   ├── favicon.ico      # Favicon
│   │   ├── layout.tsx       # Layout component
│   │   ├── page.tsx         # Sample page component
│   ├── components/          # React components
│   │   ├── blocks/
│   │   ├── global/
│   │   ├── modules/
│   │   ├── utility/
│   ├── data/                # Data assets
│   ├── hooks/               # React hooks
│   ├── images/              # Static images
│   ├── styles/              # SCSS styles
│   └── styles/              # SCSS styles
├── .eslintrc.json           # ESLint configuration
├── jest.config.js           # Jest configuration
├── cypress.json             # Cypress configuration
├── tsconfig.json            # TypeScript configuration
└── .prettierrc              # Prettier configuration

License

Feel free to customize this README according to your specific project needs.

0.2.45

1 year ago

0.2.65

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.2.7

1 year ago

0.2.6

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.1.85

1 year ago

0.1.75

1 year ago

0.1.95

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.9

1 year ago

0.1.6

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.5

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago