Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Angular components for use with the Climate Change API

License

Notifications You must be signed in to change notification settings

azavea/climate-change-components

Repository files navigation

Climate Change Components

This project houses components, services and models for accessing the Azavea Climate API in an Angular 4+ project.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

First run yarn install to install dependencies.

Run yarn run build:library to build the project. The build artifacts will be stored in the lib-dist/ directory. Use the npm pack to produce a tarball that can be installed using npm install or published with npm publish.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Publishing new versions

Publishing a new version to NPM is handled by Travis CI when tags are pushed to Github.

Make sure to update the version number in package.json before creating a new tag.

Update the CHANGELOG when publishing a new release.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.