
targets:
  default:
    - production
  production:
    - clean
    - lint
    - test
    - build
  development:
    - build
tasks:
  clean:
    - name: Cleaning dist/ folder
      commands:
      - rimraf dist
  lint:
    - name: Linting Sourcecode
      description: ... performing static code analysis
      commands:
      - npm run ufp-lint -- -f codeframe
      - npm run ufp-lint -- -f junit -o test-report/eslint/eslint-junit.xml

  test:
    - name: Testing
      description: ... performs the unit tests
      commands:
#      - npm run ufp-test
  build:
    - name: Building
      allowedToFail: false
      description: ... actually executing the build
      commands:
      - npm run ufp-compile:production



