npm installnpm startTo build a development bundle (output to /dist) execute:
npm run buildTo build an optimized, minified production bundle (output to /dist) execute:
npm run build:prodTo test either the development or production build execute:
npm run server:prodThe production bundle includes all files that are required for deployment.
To run the unit tests:
npm testIntegration tests are performed with Protractor.
-
Place your E2E-Tests into the folder
test/e2e/src -
Run the tests by invoking
npm run e2e- Make sure your app runs and is accessible
WEBPACK_PORT=19876 npm start- Once bundle is ready, run the E2E-Tests in another console
npm run e2e:start