Skip to content

DVS-devtools/pdor-react-component

Repository files navigation

pdor-react-component boilerplate

Build Status Greenkeeper badge

Boilerplate for pdor generator to generate a react component.

Features

  • Build: create production-ready distribution file, also UMD
  • Documentation: create different documentation for each version
  • Lint: check the quality of your code
  • Test: test your code and check the code coverage
  • Example: try your library with examples
  • Storybook: try your React component with Storybook
  • Continuous Integration: set your continuous integration environment with Travis CI

Usage

npx @docomodigital/pdor my-app -t react-component
cd my-app

Please refer to the pdor documentation for more info

Now you can:

  • Edit source code and test of your Component, contained in src/
  • Check the quality of your code with npm run lint
  • Run tests with npm run test
  • Check the coverage of your tests with npm run test:open
  • Try your Component with examples contained in examples/, with npm start
  • Try your Component with storybook, with stories contained in stories, with npm storybook
  • Create the documentation and read it with npm run doc:open
  • Integrate your Component with Travis CI, using .travis.yml
  • Publish your Component on NPM

You can find all commands for develop, maintain and publish your library on CONTRIBUTING file.

Useful links

Next Steps

  • Jenkins configuration

About

React component boilerplate for Pdor generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •