cs-service-tms-customer-portal-ui
v1.0.0
Published
A portal for shipping customers to keep track of all the information related to their orders.
Downloads
5
Readme
Customer Portal
The client side aurelia app for the customers of our TMS customers.
Quick Start (Development)
yarn
yarn start:dev
A 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
yarn
Prettier
Using vscode, it is recommended to turn on autoFixOnSave.
// .vscode/settings.json
"tslint.autoFixOnSave": true
Alternatively, run tslint fix via command line.
yarn lint:fix
Running the app locally
Dev mode
yarn start:dev
Staging mode
yarn start:stage
Prod mode
yarn start:prod
Testing
Unit testing
Currently we're using the jasmine testing framework with the karma test runner.
yarn test:unit
End to end testing
Currently we're using Nightwatch.
yarn test:e2e
Building
Outputs to dist/
Dev bundle
yarn build:dev
Staging bundle
yarn build:stage
Prod bundle
yarn build:prod
Clean up
To get back to a state prior to the yarn build:xxx
yarn clean
To get back to a state prior to yarn
(i.e. after initially pulling down the code):
yarn uninstall