This quickstart is under active development and hasn't yet reached its final form.
It may not be fully compatible with current versions of Angular.
This is a simple library quickstart for Angular libraries, implementing the Angular Package Format v4.0.
Currently only unscoped, primary entry-point libraries are supported.
Features:
- a simple example library
- unit tests for the library
- a demo application that consumes the library in JIT mode and runs in watch mode
- an integration app that consumes the library in JIT and AOT mode and runs e2e tests
Common tasks are present as npm scripts:
npm startto run a live-reload server with the demo appnpm run testto test in watch mode, ornpm run test:onceto only run oncenpm run buildto build the librarynpm run lintto lintnpm run cleanto cleannpm run integrationto run the integration e2e testsnpm install ./relative/path/to/libafternpm run buildto test locally in another app
If you need to debug the integration app, please check ./integration/README.md.