helic-react-config v0.1.0
Helic React Configuration
create-react-app
adverties no build configuration and they mean it - you
cannot configure this tool.
The most glaring missing piece is CSS prepocessors. They are not supported at all. That means:
- no CSS Modules
- no PostCSS plugins
If you want to add or change anything, you have to eject
. Running npm run
eject
spits out all the configuration files so you can edit them yourself.
It's great to have this option, but if you do it your are left with all the disadvantages of any other starter pack (many dependencies, config boilerplate, no ability to receive updates).
With helic-react-config
you have still most of the important advantages of
create-react-app
(with a much smaller codebase), and can still configure your
build as you like.
The helic-react-config
configuration is meant as a great start configuration
outsourced as devDependency.
It includes:
- React, JSX, and ES6 support
- Webpack 2
- A dev server with hot reloading
- Linting via
eslint
andstylelint
- Testing via
jest
andenzyme
- CSS Modules and PostCSS (with
postcss-import
andpostcss-cssnext
) - A build script to bundle JS, CSS and other files for production
- Downloading private SVN modules if needed via
svn-modules
ToDo
- add vendor chunk for prod
- add htmlwebpackplugin
- enzyme is a devdependency and should stay there
- Readme
- Test for propTypes
- customization