1.0.4 ā€¢ Published 2 years ago

sh-utilities v1.0.4

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

A template for creating React library

A template that can be used to create React libraries that will be shared across web apps.

šŸƒšŸ½ All basic tools included and configured:

  • Microbundle for module bundling powered by Rollup.
  • ESLint with some initial rules recommendation like CRA eslint config.
  • Jest for fast unit testing and code coverage. It uses the react-scripts config for test. Testing libraries are already supported.
  • Prettier to enforce consistent code style.
  • Lint-staged Run linters against staged git files.
  • TypeScript
  • Storybook for building UI components in isolation. It streamlines UI development, testing, and documentation. Includes basic config, scripts, and working sample.
  • NPM scripts for common operations.

How to use

  1. Create a github repository and choose create-react-library-template as a template.
  2. After creating the repo, make sure to update some package.json fields to match the details of the newly created repo.

TODO

  • Add Github actions including CI.
  • Publish npm registry.
  • Storybook build deployment.
1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago