This project was generated with Angular CLI version 8.3.22.
Jest configuration via schematics from: Jest-Schematic Thanks for this!
Integrated Testing-Library for Angular: Testing-Library
Installed using npx -p @storybook/cli sb init
RootStore
approach that has FeatureModuleStore
s. reference
Store: ng add @ngrx/store
Store Devtools: ng add @ngrx/store-devtools
Effects: ng add @ngrx/effects
Entity: ng add @ngrx/entity
Setup of FeatureModules: ng g m featureModuleName/featureModuleName-store --flat false --module root-store/root-store.module.ts
Installed immer and bumped up TS version to 3.7 to simplify the reducer.
Updated bundle budgets, installed webpack build analyzer. npm i -D webpack-bundle-analyzer
Run ng build --prod --stats-json
, then npx webpack-bundle-analyzer .\dist\ng8-testing-library\stats-es2015.json
.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
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 ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run npm test
to execute the unit tests via Jest.
Run npm test -- --watch
to execute test with --watch
mode on.
Run npm test -- --coverage
to get a coverage report with tests.
Run ng 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.