Skip to content

kherrick/angular-x-face-detector

Repository files navigation

About

An example built with Angular and the Web Component x-face-detector.

Development

git clone https://github.com/kherrick/angular-x-face-detector.git \
  && cd angular-x-face-detector \
  && npm i \
  && npm start

Code scaffolding

Run npm run ng -- generate component component-name to generate a new component. You can also use npm run ng -- generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run npm run build to build the project. The build artifacts will be stored in the dist/ directory. Use the npm run build:prod flag for a production build.

Running unit tests

Run npm run ng -- test to execute the unit tests via Karma.

Running end-to-end tests

Run npm run ng -- e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use npm run ng -- help or go check out the Angular CLI README.