@itsmycargo/batten
v1.6.3
Published
Batten - Basic Components
Downloads
7
Readme
Batten
The front-end framework for building experiences for ItsMyCargo
Batten is
Components
Component | NPM Package | Description --------------|--------------------|------------ batten | | Core UI Components
Contributing
This repository uses lerna for building multiple NPM packages from single repository. Most commands are used via
lerna
.
Local Development
To develop Batten locally, especially with existing project that uses batten, NPM packagers can be linked together.
First install lerna globally (A tool for managing JavaScript projects with multiple packages.)
$ yarn global add lerna
Then run inside batten
root directory command:
$ lerna exec yarn link
Then inside your project link components you need, for example:
$ npm/yarn link @itsmycargo/batten
To build new components while testing, you can run build in watch mode:
$ yarn build:watch