create-react-package-lib

0.1.5 • Public • Published

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.

Package Sidebar

Install

npm i create-react-package-lib

Weekly Downloads

1

Version

0.1.5

License

MIT

Unpacked Size

87.4 kB

Total Files

62

Last publish

Collaborators

  • robcc