0.1.5 • Published 4 years ago

create-react-package-lib v0.1.5

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

create-react-package-lib

An environment generator to publish React packages to npm

Features

  • Exposed rollup configuration. You can change it to your taste after.
  • Typescript support
  • CSS modules
  • Style injection for build files
  • Source maps
  • Development server bootstrapped from CRA.
  • gh-pages ready from dev server.

How to use it

Globally

npm install -g create-react-package-lib

With npx

npx create-react-package-lib

What's next

  • Add optional testing libraries (enzyme, react-test-renderer)
  • Rollup configuration options
  • Support for initiating repo after installing everything

Notes

  • You will see prop-types as a dependency on the Javascript template. This is recommended (see here).

License

MIT © Roberto Chavez.