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:
ENABLE_SOURCEMAPS=true
enables sourcemaps for debuggingENVIRONMENT
(production
by default, may bestaging
ordevelopment
) specifies in which environment the app will be used
Example usage:
ENABLE_SOURCEMAPS=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
Run in development mode:
E2E_TEST=true ENVIRONMENT=development npm run build
serve build -s
npx cypress open