- To install or update run
bower install angular-farol-components#1.2.5 -S -F
- To install run ``` npm install angular-farol-components
- To update run ```
npm update angular-farol-components
In order to develop the Farol Components for AngularJS we recommend that you first read the subsection based on the package manager you are using:
In order to debug use gulp debug task. Read more bellow in building section.
Use bower link in the SDK project repository in order to store the link name and path in Bower.
On the project used to develop the library you can run bower link angular-farol-components and it will start using the development version from your SDK.
If you decide to rollback to the production version of the library you shall remember to run bower unlink angular-farol-components and run the installation step again.
Use npm link in the SDK project repository in order to store the link name and path in NPM.
On the project used to develop the library you can run npm link angular-farol-components and it will start using the development version from your SDK.
We use gulp in order to build the Farol SDK for JavaScript. There are two different tasks that you can call from your terminal:
gulpwill build the production versiongulp debugwill build the debug version but will not uglify the code
In order to release a new version you shall follow the steps bellow:
- Make the desired changes;
- Update CHANGELOG.md file;
- Commit your changes;
- Run the commands below:
- Run the following command choosing among major/minor/patch version in the {{SEMVER}} variable:
npm version {{SEMVER}}