0.0.1 • Published 4 years ago

pritestreactqwerty v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

boilerplate-react-library

Intro

Create react components quickly with the boilerplate, zero configuration.. Note: Every 2 month the project is actualized for latest versions

Features

  • Transpiles all modern JS features
  • Jest for testing
  • Babel for transpilation
  • Support SASS
  • Rollup for build proces
  • Bundles cjs and es module formats
  • Support Typescript
  • Server local for development
  • Support StoryBook

Basic Usage

Common Tasks

  • Developing - npm run dev - Runs the development server at localhost:8080 and use Hot Module Replacement. You can override the default host and port through env (HOST, PORT).
  • Building- npm run build - Will create the build in the dist folder
  • Creating a version - npm version <x.y.z>.
  • Publishing a version - npm publish - Pushes a new version to npm and updates the project site.

Testing

The test setup is based on Jest. Code coverage report is generated to coverage/. The coverage information is also uploaded to codecov.io after a successful Travis build.

  • Running tests once - npm test

StoryBook documentation

The documentation was made using Storybook, the configuration folder is .storybook /. Create a ***. Stories.js file inside src /. More informations

  • Running documentation - npm run storybook

License

MIT © Joel Henrique | JoelHenrique.com