1.0.0 • Published 1 year ago
cs-service-tms-customer-portal-ui v1.0.0
Customer Portal
The client side aurelia app for the customers of our TMS customers.
Quick Start (Development)
yarn
yarn start:devA BrowserSync development server will serve to http://localhost:42402/#/, and "hot reload" is enabled, so any changes you make to source code will automatically refresh the browser to reflect the latest changes.
Common commands
Installation
yarnPrettier
Using vscode, it is recommended to turn on autoFixOnSave.
// .vscode/settings.json
"tslint.autoFixOnSave": trueAlternatively, run tslint fix via command line.
yarn lint:fixRunning the app locally
Dev mode
yarn start:devStaging mode
yarn start:stageProd mode
yarn start:prodTesting
Unit testing
Currently we're using the jasmine testing framework with the karma test runner.
yarn test:unitEnd to end testing
Currently we're using Nightwatch.
yarn test:e2eBuilding
Outputs to dist/
Dev bundle
yarn build:devStaging bundle
yarn build:stageProd bundle
yarn build:prodClean up
To get back to a state prior to the yarn build:xxx
yarn cleanTo get back to a state prior to yarn (i.e. after initially pulling down the code):
yarn uninstall1.0.0
1 year ago