This template should help get you started developing with Angular 13. It includes opinionated configurations for VS Code, ESLint, Stylelint, Prettier and Commitlint with commit hooks.
This project was generated with Angular CLI version 13.3.5.
VSCode + Angular Language Service + recommended extensions from workspace.
# Make sure you have the Angular CLI installed globally
$ npm install -g @angular/cli
# Then go ahead and install all the dependencies
$ npm install
If you need help setting up your local development environment, check out the Angular docs.
Run npm run start
for a dev server. Navigate to http://localhost:4200/
. The application 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 npm run build
to build the project. The build artifacts will be stored in the dist/
directory.
Run npm run test
to execute the unit tests via Karma. Alternatively, run npm run test:watch
to keep Karma watching for file updates.
Karma expects to be able to open a Chrome instance in local development and a headless instance in CI.
Run npm run e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
Run npm run lint
to run all the linters configured for this project in parallel: ESLint, Stylelint, Prettier and markdownlint.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.