0.1.5 • Published 6 years ago
create-react-package-lib v0.1.5
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-pagesready from dev server.
How to use it
Globally
npm install -g create-react-package-libWith npx
npx create-react-package-libWhat'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-typesas a dependency on the Javascript template. This is recommended (see here).
License
MIT © Roberto Chavez.