Another opinionated React project seed
This seed assumes you are using yarn as your package manager.
$ git clone --depth=1 https://github.com/tiaanduplessis/react-initiator.git newProject
$ cd newProject
$ yarn
$ yarn start- Bundling using Webpack, with CSS/JS optimzation and CSS purifiction for production builds.
- Linting of JS using Airbnb's ESLint config.
- Linting of CSS using Standard config.
- Compiling of JS using Babel. Configured for Browsers with more than 1% market share.
- Favicon generation.
- Intermediate caching of modules.
- Flow static type checking.
- Testing using Jest.
- PostCSS processing of CSS with cssnext, autoprefixer and inlining
@importrules. - Git hooks using husky.
start- Starts up webpack-dev-server with Hot Module Replacement.dashboard- Starts up webpack-dev-server via webpack-dashboardcoverage- Jest code coverage reportingbuild- Create production build indistdirectory using Webpack.serve- Serve thedistdirectory.test- Run Jest tests.flow- Run static type checking with Flow.lint- Run linting using ESlint.
MIT