Node.js >= v10 must be installed.
This project uses lerna to manage its monorepo, see the lerna documentation for more commands.
- Running
npm bootstrapin the project's root directory will install everything you need for development.
npm startin 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 lintwill run eslint in all packages at once. -
cd packages/react-vitae && npm lintwill run eslint in a specific package.
-
npm testwill run the tests in all packages at once. -
cd packages/react-vitae && npm testwill run the tests in a specific package.
-
cd packages/react-vitae && npm run buildwill build a specific package. -
npm run cleanwill clean all the packages, removing the cache,node_modulesand built resources. -
cd packages/react-vitae && npm run cleanwill clean a specific package.
Publishing is done automatically through travis.