Skip to content

An environment generator to publish React packages to npm

License

Notifications You must be signed in to change notification settings

RobCC/create-react-package-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An environment generator to publish React packages to npm

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •