0.1.0 • Published 8 years ago

helic-react-config v0.1.0

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

Helic React Configuration

NPM Latest Release Node Version Build Status Code Coverage Code Climate Code Climate Issues Dependency Status Dev-Dependency Status Peer-Dependency Status

NPM Stats

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 and stylelint
  • Testing via jest and enzyme
  • CSS Modules and PostCSS (with postcss-import and postcss-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