A utility for initializing React Libraries written in TypeScript and compiled with Webpack.
npm init @wiser/react-lib <dir>for more information
-------------------------------------------------------
Welcome to Wiser's react component pkg generator
-------------------------------------------------------
Usage: npm init @wiser/react-lib {<dir> | (-d|--dir) <directory>} [options...]
Get started building react libraries.
Arguments:
dir Project directory
Options:
--version output the version number
-d, --dir <string> Project directory
-o, --org <string> Organization scope
--skip-status-check Skip checking git status in CWD
--skip-dir-check Skip checking if project dir is empty
--skip-npm Skip installing dependencies
--skip-git Skip making first commit
-h, --help display help for commandClone the repository
git clone git@github.com:wearewiser/create-react-lib.gitThen update the git submodules
git submodule update --init --recursiveIf you pack locally, the prepack script will cause you to need to reinitialize the submodules:
git submodule update --init packages/react-lib