- This project was generated with Angular CLI version 10.2.3.
But later I've upgraded it to angular 11 and then to 12, also by using Angular CLI with
ng upgrade
command. - I also changed the unit testing tool from
jasmine/karma
tojest
. - And finally, changed e2e tests from
protractor
tocypress
.
Run ng serve
or maybe yarn start
for a dev server. Then navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
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 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 ng test
to execute the unit tests via Jest instead of Angular's default testing tool: Karma. Both tools have similar (if not the same) syntax, but Jest is way faster.
Run ng e2e
to build the project and open Cypress or you can run yarn cyr
to just run end-to-end tests via cypress or you can also run yarn cyo
to open cypress without building the project.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.