coer-elements 0.0.65 → 0.0.66
Sign up to get free protection for your applications and to get access to all the features.
package/README.md
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
# CoerElements
|
2
|
+
|
3
|
+
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.0.0.
|
4
|
+
|
5
|
+
## Code scaffolding
|
6
|
+
|
7
|
+
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
|
8
|
+
|
9
|
+
```bash
|
10
|
+
ng generate component component-name
|
11
|
+
```
|
12
|
+
|
13
|
+
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
14
|
+
|
15
|
+
```bash
|
16
|
+
ng generate --help
|
17
|
+
```
|
18
|
+
|
19
|
+
## Building
|
20
|
+
|
21
|
+
To build the library, run:
|
22
|
+
|
23
|
+
```bash
|
24
|
+
ng build coer-elements
|
25
|
+
```
|
26
|
+
|
27
|
+
This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
|
28
|
+
|
29
|
+
### Publishing the Library
|
30
|
+
|
31
|
+
Once the project is built, you can publish your library by following these steps:
|
32
|
+
|
33
|
+
1. Navigate to the `dist` directory:
|
34
|
+
```bash
|
35
|
+
cd dist/coer-elements
|
36
|
+
```
|
37
|
+
|
38
|
+
2. Run the `npm publish` command to publish your library to the npm registry:
|
39
|
+
```bash
|
40
|
+
npm publish
|
41
|
+
```
|
42
|
+
|
43
|
+
## Running unit tests
|
44
|
+
|
45
|
+
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
46
|
+
|
47
|
+
```bash
|
48
|
+
ng test
|
49
|
+
```
|
50
|
+
|
51
|
+
## Running end-to-end tests
|
52
|
+
|
53
|
+
For end-to-end (e2e) testing, run:
|
54
|
+
|
55
|
+
```bash
|
56
|
+
ng e2e
|
57
|
+
```
|
58
|
+
|
59
|
+
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
|
60
|
+
|
61
|
+
## Additional Resources
|
62
|
+
|
63
|
+
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|