Skip to content

Commit b6528e2

Browse files
committed
Change readme for npm
1 parent a8b26f3 commit b6528e2

File tree

2 files changed

+15
-27
lines changed

2 files changed

+15
-27
lines changed

Diff for: projects/ng-lazyload-script/README.md

+11-24
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,11 @@
1-
# NgLazyScript
2-
3-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.14.
4-
5-
## Code scaffolding
6-
7-
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`.
8-
> 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.
9-
10-
## Build
11-
12-
Run `ng build ng-lazyload-script` to build the project. The build artifacts will be stored in the `dist/` directory.
13-
14-
## Publishing
15-
16-
After building your library with `ng build ng-lazyload-script`, go to the dist folder `cd dist/ng-lazyload-script` and run `npm publish`.
17-
18-
## Running unit tests
19-
20-
Run `ng test ng-lazyload-script` to execute the unit tests via [Karma](https://karma-runner.github.io).
21-
22-
## Further help
23-
24-
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).
1+
# @ueler/ng-lazyload-script
2+
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.
3+
## Installation
4+
Using npm:
5+
```
6+
npm i --save @ueler/ng-lazyload-script
7+
```
8+
9+
## Further information
10+
See GitHub repository for more information:
11+
https://github.com/ueler/ng-lazyload-script

Diff for: projects/ng-lazyload-script/package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "@ueler/ng-lazyload-script",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"peerDependencies": {
55
"@angular/core": ">=7.0.0",
66
"rxjs": ">=6.0.0"
77
},
8-
"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",
8+
"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.",
99
"keywords": [
1010
"angular",
1111
"angular2",
@@ -14,5 +14,6 @@
1414
"javascript-libraries",
1515
"observable",
1616
"lazy-loading"
17-
]
17+
],
18+
"repository": "https://github.com/ueler/ng-lazyload-script"
1819
}

0 commit comments

Comments
 (0)