This project is deprecated. Please use Create React App to bootstrap your React projects.
A Digia project.
As you probably know, there are numerous boilerplates available for React, so you might be wondering why you would want to use ours. Most of the boilerplate projects come with a lot of code that you rarely need. Our boilerplate was bootstrapped with Create React App and provides you with a great starting point for any React project with as few lines of code as possible, especially if you want to use Flowtype.
- Flowtype Type checker
- React User interface components
- MobX Simple, scalable state management
- Lodash Utility library
- Babel JavaScript transpiler
- ESLint JavaScript Linter
- Prettier Code formatter
- PostCSS CSS transformer
- Stylelint CSS Linter
- Webpack Module bundler
- Jest Testing solution
You can find our documentation here.
Install create-project and create your project.
yarn global add create-project
create-project my-project digiaonline/react-boilerplate && cd my-project
Install the project dependencies using Yarn.
yarn
Create your environment by copying the example environment.
cp .env.example .env
You can start the development server with the start
script.
yarn start
You can compile the distribution build with the build
script.
yarn build
You can run the test suite with the test
script.
yarn test