0.0.0 • Published 1 year ago

web-client-host-app v0.0.0

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

B2W Web Client

Monorepo for shared client side, web packages.

To avoid build issues, please have the following tools installed at the following versions:

  • Node: 14.17.1
  • NPM: 6.14.13

To easily manage multiple Node version on one machine, use Node Version Manager:

For details on each package in this repo, please see the README.md file in each package directory.

Angular Client

This is an Angular workspace consisting of multiple library projects (under the "Packages" folder). These libraries are intended to be generic and usable across B2W's product suite. None of the code in these libraries should know anything about Ops, Estimate, Inform or any other B2W product. The intent of this code is to allow B2W to build high quality, consistent web UIs more quickly with less regression.

Build (Development)

Run npm run build-dev to perform a development build for local consumption.

Build (Production)

Run npm run build-production to build the project for production. The build artifacts will be stored in the dist/ directory.

Linting

Run npm run lint to run the linter and report any errors. npm run lint-fix will automatically fix as many linting errors as possible. The lint spec helps create a "pit of success" and should be as strict as possible.

Unit Tests

Run npm run test to execute the unit tests. For a code coverage report, run npm run test-coverage-report.

End to End (E2E) Tests

TBD