In order to develop and build this project you need Node.js ^8.9.0
and NPM ^5.5.1
installed.
Start development server:
npm start
# or
PORT=8080 npm start
Build project for production:
npm run build
Build options are specified using environment variables:
DEBUG_ENABLED=true
enables sourcemaps for debuggingENVIRONMENT
(production
by default, may bestaging
ordevelopment
) specifies in which environment the app will be used
Example usage:
DEBUG_ENABLED=true ENVIRONMENT=staging npm run build
All translations can be edited at ./source/i18n/translations
.
npm run test:lint
npm run test:types
npm run test:unit
npm run test:e2e
Enable debugging:
DEBUG_ENABLED=true npm run test:e2e
Run specific test suite:
npm run test:e2e -- --suite happyPath
Test suites are defined in suites
option of wdio.config.js
.
If you want to add a breakpoint, just add await browser.debug();
at the desired point of a test file.