npm install
npm start
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.
To run the unit tests:
npm test
Integration 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