0.1.3 • Published 6 years ago

@ristokitsing/react-scripts v0.1.3

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

create-react-app but for me

...people wanting to have the cake and eat it too 😄.

Dan Abramov on "Allow user to override webpack.config#1111".

create-react-app is like the brand-new Lego set you got for your birthday. There are pictures on the package how to build different vehicles for land-sea-air but you want to build a spaceship instead. Or a mining drill. Or an app with specific linting rules, plugins and so on.

It would be easy to eject your project, however, you are then exposed to having no updates, support... List goes on. Instead, why not take the manual included with the Lego set and throw it in the bin? Use imagination instead! Build dinosaurs! Create a multi-dimensional portal! Develop a kick-ass application!
This project includes some modifications you might find handy. I will try my best to keep everything listed here and up-to-date.

How hard could it be?

The Lego Manual

create-react-app has a wonderful README.md on GitHub. Everything they are doing, this project will be able to do as well, unless specified otherwise.

My building blocks

  • styled-components
    A wonderful library that embeds styles to your components rather than having to build a massive style library.

  • normalize.css
    Good to have a reset for all user agents to keep a coherent style.

  • react-helmet
    Nifty thing to have for global styles such as fonts, SEO/meta tags etc

Babel plugins

Missing bricks

  • stylelint configs
  • eslint configs
  • prettier configs
  • Nifty Babel plugins (various ES yet-to-be-implemented-functionality?)
  • Router
  • Store
  • Progressive Web App support
    Took it out for now as I'm not happy about how Facebook does it and I would rather follow the steps of Jake Archibald (yes, it's from 2014 but has good patterns to follow).
  • TESTS!

...and so on.