This project currently requires node.js >=v16.10. If you are using nvm type in nvm use 16
.
Dependencies are installed using yarn. To enable it simply run corepack enable
- Run
yarn
to install dependencies - Run
yarn start
to open the dev server
- Bump up the package by running
npm version <patch|minor|major>
- Publish the package to the registry of your choice
npm publish --registry=<path to your registry>
(for testing purposes you can use local registry such as verdaccio) - Install the theme in your app
npm i react-sortable-tree-theme-wcag-editor
oryarn add react-sortable-tree-theme-wcag-editor
- Import the theme and pass it as a prop to the tree component (check out the example)