zenith-common
v1.0.19
Published
Common user interface components and assets for Client and Worker projects
Downloads
38
Readme
Setup
Pre-requisites
Before installing following tools, if you are using a Microsoft Windows machine, you may want to download and install Git Commandline from here
###NPM NPM is a package management tool for our front-end assets.
In order to use NPM, we need to download and install Node.js. Install Node.js in your workstation.
You can download Node.js from here.
###Yarn Yarn is a toolchain built on top of NPM for locking down dependencies and peer-dependencies inside our package.json file.
- Install yarn globally in your local machine:
$ npm install -g yarn
Now, every time you introduce an NPM package you may run:
yarn add <package>
Or
yarn add --dev <package>
Installation
Install front-end packages:
yarn install
NPM link
In order to create a symbolic link to this package, run the following command in the cmd inside the package folder:
npm link
In the consuming project, run the following command:
npm link zenith-common
Now, anytime you change something in the package, you can run the following command insid eteh package to have those changes reflected in the consuming project:
npm run build