Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

Alex1990/react-ui-component-starter

Repository files navigation

react-ui-component-starter

Build status: Linux Build status: Windows Coverage Status Npm version Dependency Status

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 to dist 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

Releases

No releases published

Packages

No packages published