Components should be exported as default from their file but as a part of the global export object from the app.
The className naming convention used in this app is CC-<COMPONENT_NAME>--Modifier
.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the dist
folder.
It correctly bundles the React components and optimizes the build for the best performance.
- Update the package.json file with a new version number.
- Major versions are for new features and integrations.
- Minor versions are for new components or extant feature expansions.
- Run:
yarn babel
thennpm publish