Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

⚡ The most simple & robust boilerplate for your React projects.

NotificationsYou must be signed in to change notification settings

leonardomso/react-bolt

Repository files navigation


React Bolt

React Bolt

The best boilerplate for your React projects.

PRs WelcomeLicense MIT


Introduction

This boilerplate contains all you need to start your next React.js project. Simple, robust, well-organized, all you need to do is clone, install and you're ready to start.

I wrote a article for anyone who wants to learn how to build this boilerplate, if you want to learn just clickhere.

Check out the lite versionhere

Features

This boilerplate features all the latest tools and practices in the industry.

  • React — 16.12.0 with Hooks
  • Redux with Redux Thunk — State Management with middleware to handle async requests
  • 🛠Babel — ES6 syntax, Airbnb & React/Recommended config
  • 🚀Webpack — Hot Reloading, Code Splitting, Optimized Build
  • 💅CSS — Styled Components, CSS, Sass
  • Tests — Jest, React Testing Library & Cypress
  • 💖Lint — ESlint
  • 🐶Husky — Prevent bad commits

Getting started

  1. Clone this repo usinghttps://github.com/leonardomso/react-bolt.git
  2. Move to the appropriate directory:cd react-bolt.
  3. Runyarn ornpm install to install dependencies.
  4. Runnpm start to see the example app athttp://localhost:8080.

Commands

  • npm start - start the dev server
  • npm run build - create a production ready build indist folder
  • npm run lint - execute an eslint check
  • npm run lint:fix - execute an eslint and fix the errors
  • npm test - run all tests
  • npm run test:watch - run all tests in watch mode
  • npm run test:cover - coverage mode
  • npm run cypress:open - starts cypress

Next features:

  • Hot Module Replacement: Better HMR support;
  • CSS/Sass support: Enable CSS/Sass support;
  • PWA: Turn into a PWA boilerplate;
  • SEO: SEO-ready;

License

MIT license, Copyright (c) 2018 Leonardo Maldonado.

About

⚡ The most simple & robust boilerplate for your React projects.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp