Skip to content

Commit dfedd69

Browse files
committed
doc(readme) - update readme and package.json
1 parent 8246970 commit dfedd69

File tree

5 files changed

+143
-28
lines changed

5 files changed

+143
-28
lines changed

README.md

+30-27
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,30 @@
1-
# NgxSimpleTextEditorApp
2-
3-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.15.
4-
5-
## Development server
6-
7-
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
8-
9-
## Code scaffolding
10-
11-
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`.
12-
13-
## Build
14-
15-
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
16-
17-
## Running unit tests
18-
19-
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
20-
21-
## Running end-to-end tests
22-
23-
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
24-
25-
## Further help
26-
27-
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+
[![npm version](https://badge.fury.io/js/ngx-simple-text-editor.svg)](https://badge.fury.io/js/ngx-simple-text-editor)
2+
[![CircleCI](https://circleci.com/gh/Raiper34/ngx-simple-text-editor.svg?style=shield)](https://circleci.com/gh/Raiper34/ngx-simple-text-editor)
3+
[![Coverage Status](https://coveralls.io/repos/github/Raiper34/ngx-simple-text-editor/badge.svg?branch=main)](https://coveralls.io/github/Raiper34/ngx-simple-text-editor?branch=main)
4+
[![GitHub issues](https://img.shields.io/github/issues/Raiper34/ngx-simple-text-editor)](https://github.com/Raiper34/ngx-simple-text-editor/issues)
5+
![npm bundle size](https://img.shields.io/bundlephobia/min/ngx-simple-text-editor)
6+
![NPM](https://img.shields.io/npm/l/ngx-simple-text-editor)
7+
[![demo](https://badgen.net/badge/demo/online/orange)](https://ngx-simple-text-editor.netlify.app/)
8+
9+
![ngc simple text editor logo](logo.svg)
10+
# Ngx Simple Text editor
11+
Angular simple text editor component.
12+
13+
# Instalation
14+
15+
`npm install ngx-simple-text-editor --save`
16+
17+
then add `NgxSimpleTextEditorModule` into module imports
18+
```typescript
19+
import {NgxSimpleTextEditorModule} from 'ngx-simple-text-editor';
20+
21+
@NgModule({
22+
// ...
23+
imports: [
24+
// ...
25+
NgxSimpleTextEditorModule,
26+
// ...
27+
],
28+
// ...
29+
})
30+
```
File renamed without changes.

projects/ngx-simple-text-editor/package.json

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
22
"name": "ngx-simple-text-editor",
33
"version": "0.0.1",
4+
"description": "Angular simple text editor component.",
5+
"repository": "https://github.com/Raiper34/ngx-simple-text-editor",
6+
"homepage": "https://ngx-simple-text-editor.netlify.app",
7+
"keywords": ["angular", "text", "editor", "text editor", "angular text editor", "wysiwyg", "wysiwyg editor"],
8+
"license": "MIT",
49
"peerDependencies": {
510
"@angular/common": ">=9.0.0",
611
"@angular/core": ">=9.0.0",

src/app/app.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Simple text editor for your Angular project.
1010
</div>
1111
<div>
12-
<img src="/assets/ngx-simple-text-editor.svg" alt="ngx simple text editor">
12+
<img src="assets/logo.svg" alt="ngx simple text editor">
1313
</div>
1414
</div>
1515
</div>

src/assets/logo.svg

+107
Loading

0 commit comments

Comments
 (0)