@ueler/ng-lazyload-script
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "@ueler/ng-lazyload-script", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"peerDependencies": { | ||
@@ -8,3 +8,3 @@ "@angular/core": ">=7.0.0", | ||
}, | ||
"description": "Load external javascript libraries/files (e.g. Google Maps JavaScript API, Stripe JavaScript API, ...) in your components and services on the fly (when you need them) and execute code as soon as its loaded", | ||
"description": "Load external javascript libraries/files (e.g. Google Maps JavaScript API, Stripe JavaScript API, ...) in your components and services on the fly (when you need them) and execute code as soon as it's loaded.", | ||
"keywords": [ | ||
@@ -19,2 +19,3 @@ "angular", | ||
], | ||
"repository": "https://github.com/ueler/ng-lazyload-script", | ||
"main": "bundles/ueler-ng-lazyload-script.umd.js", | ||
@@ -21,0 +22,0 @@ "module": "fesm5/ueler-ng-lazyload-script.js", |
@@ -1,24 +0,11 @@ | ||
# NgLazyScript | ||
# @ueler/ng-lazyload-script | ||
Load external javascript libraries/files (e.g. Google Maps JavaScript API, Stripe JavaScript API, ...) in your components and services on the fly (when you need them) and execute code as soon as it's loaded. | ||
## Installation | ||
Using npm: | ||
``` | ||
npm i --save @ueler/ng-lazyload-script | ||
``` | ||
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.14. | ||
## Code scaffolding | ||
Run `ng generate component component-name --project ng-lazyload-script` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project ng-lazyload-script`. | ||
> Note: Don't forget to add `--project ng-lazyload-script` or else it will be added to the default project in your `angular.json` file. | ||
## Build | ||
Run `ng build ng-lazyload-script` to build the project. The build artifacts will be stored in the `dist/` directory. | ||
## Publishing | ||
After building your library with `ng build ng-lazyload-script`, go to the dist folder `cd dist/ng-lazyload-script` and run `npm publish`. | ||
## Running unit tests | ||
Run `ng test ng-lazyload-script` to execute the unit tests via [Karma](https://karma-runner.github.io). | ||
## Further help | ||
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). | ||
## Further information | ||
See GitHub repository for more information: | ||
https://github.com/ueler/ng-lazyload-script |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
34719
12