Skip to content

fairlance/frontend

Repository files navigation

CircleCI

Fairlance frontend aurelia-skeleton-webpack

npm install
npm start

Bundling

To build a development bundle (output to /dist) execute:

npm run build

To build an optimized, minified production bundle (output to /dist) execute:

npm run build:prod

To test either the development or production build execute:

npm run server:prod

The production bundle includes all files that are required for deployment.

Running The Unit Tests

To run the unit tests:

npm test

Running The E2E Tests

Integration tests are performed with Protractor.

  1. Place your E2E-Tests into the folder test/e2e/src

  2. Run the tests by invoking

npm run e2e

Running e2e tests manually

  1. Make sure your app runs and is accessible
WEBPACK_PORT=19876 npm start
  1. Once bundle is ready, run the E2E-Tests in another console
npm run e2e:start