Update README.md
This commit is contained in:
committed by
GitHub
parent
28a9abdbf9
commit
c9417d2ee7
21
README.md
21
README.md
@@ -15,17 +15,28 @@
|
||||
|
||||
---
|
||||
|
||||
## Rquirements
|
||||
|
||||
- Node.js
|
||||
- Angular CLI
|
||||
|
||||
## NPM Scripts
|
||||
|
||||
| command | description |
|
||||
|------------------|-----------------------------------------------------------------|
|
||||
| `npm run start` | start development server on `http://localhost:4200/` |
|
||||
| `npm run build` | build production application and save to `./dist` |
|
||||
| `npm run build:library` | build node module and save to `./dist/NlsGuilloche` |
|
||||
|
||||
## Development server
|
||||
|
||||
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.
|
||||
Download dependencies with `npm i` or `yarn`.
|
||||
|
||||
## Code scaffolding
|
||||
|
||||
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`.
|
||||
Run `npm run start` for a dev server. Browser opens and navigates automatically to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
|
||||
|
||||
## Build
|
||||
|
||||
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.
|
||||
Run `npm run build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
|
||||
|
||||
## Author
|
||||
|
||||
|
||||
Reference in New Issue
Block a user