Ngx Starter Kit
If you are interested in smaller example project: Mini-starter-kit
git clone https://github.com/xmlking/ngx-starter-kit.git my-project cd my-project npm install
npm run start for a dev server. Navigate to
http://localhost:4200/. The app will automatically reload if you change any of the source files.
npm run start:mock for a mock server.
npm run start -- --proxy-config proxy.conf.js to start with proxy
npm run build:prod to build the project. The build artifacts will be stored in the
Running unit tests
ng test <module> to execute the unit tests via Jest.
Running end-to-end tests
npm run e2e to execute the end-to-end tests via TestCafe.
Before running the tests make sure you are serving the app via
npm run doc:build to build docs.
npm run doc:serve to serve docs.
npm run deploy:mock to deploy demo app to gp-pages.
Analyzing bundle size
npm run bundle-report
Analyzing and Visualizing the Dependency Graph (affected modules by uncommitted changes)
npm run affected -- --target dep-graph --uncommitted