This project was generated with Angular CLI version 1.6.7.
Technologies used:
Run npm start
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
- Code is reformatted by Prettier and checked by TSLint.
- FE developers are HIGHLY encouraged to activate one of the extensions for their IDE.
- Prettier and TSLint are also run in a precommit hook and before the build process.
- SCSS style is based on 7-1 pattern
- Angular style is based on official styleguide
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 backstop:test
to run test - Run
npm run backstop:reference
to get reference images - Run
npm run backstop:approve
to approve diff
NB! local development server must be running for this to work (npm start
)
Run npm run test
to execute the unit tests via Karma.
Run npm run e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.