Skip to content

Share React components from create react app by Harald Rudell

License

Notifications You must be signed in to change notification settings

haraldrudell/lib-create-react-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lib-Create-React-App

Lib Create React App allows React components to be publicly published as npm packages

click for Video presentation, 10 min

© 2018-present Harald Rudell [email protected] (http://www.haraldrudell.com)

Usage

Publish to npm in 3 commands:

  • yarn add --dev lib-create-react-app
  • yarn preplib
  • yarn pub

Implementation notes:

  • A separate package.json for npm is at publish/package.json
  • Separate LICENSE and README.md in publish/
  • Components to export in src/libindex.js
  • Package content at publish/lib/

Components

Example Project

Lib Create React App creates shareable libraries from projects bootstrapped with Create React App.

© 2018-present Harald Rudell [email protected] (http://www.haraldrudell.com)

About

Share React components from create react app by Harald Rudell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published