Ngx Starter Kit
This project was generated using Nx.
π Nx is a set of Angular CLI power-ups for modern development.
live Demo
If you are interested in smaller example project: Mini-starter-kit
PANTS (
Install
git clone https://github.com/xmlking/ngx-starter-kit.git my-project
cd my-project
yarn
Development server
Run yarn start
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run yarn start:mock
for a mock server.
Run yarn start -- --proxy-config proxy.conf.js
to start with proxy
Build
Run npm run build:prod
to build the project. The build artifacts will be stored in the dist/
directory.
Running unit tests
Run yarn test <module>
to execute the unit tests via Jest.
Running end-to-end tests
Run yarn e2e
to execute the end-to-end tests via Cypress.
Docs
Run yarn doc:build
to build docs.
Run yarn doc:serve
to serve docs.
Deploy
Run yarn deploy:mock
to deploy demo app to gp-pages.
Analyzing bundle size yarn bundle-report
Analyzing and Visualizing the Dependency Graph (affected modules by uncommitted changes)
yarn affected -- --target dep-graph --uncommitted