Skip to content

ptitdam2001/ng2-weather-icons

Repository files navigation

NG2 Weather icons

Angular 2+ library to display a group of icons coming from weather-icons by Erik Flowers.

The library is develop thanks to Angular schematics.

Environment

Installation

npm i -g ng-lib-schematics @angular-devkit/core @angular-devkit/schematics-cli

Configuration

After creating an angular-cli

ng new <library-name> --skip-install

Next, we create our library

schematics ng-lib-schematics:lib-standalone --name <library-name>

To build and publish

If the library contains a package.json, you must run a npm install

At the root of project :

npm run build:lib

To publish into npm:

cd dist/ && npm publish

References & examples