- Make a new branch
- Run
npm run hotto start examples in watch hot module replacement mode - Open
http://localhost:5555
- Run
npm linkat Component root to make your local package linkable - Run
npm link @opuscapita/react-cardsat project's dir that's using the component to use local package
- Run
npm run watch[:cjs, :es, :umd]to run dev builds in watch mode
- Run
npm unlink @opuscapita/react-cardsat project's dir that's using the component
- Reset
docsandlibdirectories to master branch stategit checkout master -- docs/* lib/* - Update
CHANGELOG.mdwith your changes under the<next>header - Make a pull request
- Use
masterbranch - Add new version header to
CHANGELOG.mdand move everyting from<next>there (leave next header empty) - Make sure
npm testandnpm run lintruns without errors
- Run
npm version [major|minor|patch]Info
- Run
npm publish