Node.js >= v10 must be installed.
This project uses lerna to manage its monorepo, see the lerna documentation for more commands.
- Running
npm bootstrap
in the project's root directory will install everything you need for development.
npm start
in a specific package's folder will run a development server at http://localhost:1234 with hot module reloading.
To run a development server from the root, use npx lerna run
-
npm lint
will run eslint in all packages at once. -
cd packages/react-vitae && npm lint
will run eslint in a specific package.
-
npm test
will run the tests in all packages at once. -
cd packages/react-vitae && npm test
will run the tests in a specific package.
-
cd packages/react-vitae && npm run build
will build a specific package. -
npm run clean
will clean all the packages, removing the cache,node_modules
and built resources. -
cd packages/react-vitae && npm run clean
will clean a specific package.
Publishing is done automatically through travis.