react-ui-component-starter
A starter based on webpack ecosystem to develop react components comfortably.
Features
- JavaScript: ES2015, ES2016, ES2017, class static properties, object rest/spread operator.
- CSS: CSS/SASS/LESS/Stylus/PostCSS, Autoprefixer.
- Examples: Easy to write examples and deploy examples to github pages.
- Automatic: Hot reloading.
- Lint: ESLint with airbnb's javascript styleguide.
- Test: With Jest and enzyme, coverage.
- CI: Integrate travis and appveyor.
Scripts
npm start
: Start to develop.npm run build
: Build the js and css bundle todist
directory.npm run compile
: Compile the ES2015+ to ES5.npm run gh-pages
: Bundle the examples and deploy it to github pages.npm test
: Run tests.npm test:watch
: Run tests in watch mode.npm test:cover
: Run tests with coverage output.
More scripts in package.json
.
License
MIT