version: 0.1
backend:
  phases:
    build:
      commands:
        - '# Execute Amplify CLI with the helper script'
        - amplifyPush --simple
frontend:
  phases:
    preBuild:
      commands:
        - npm ci
        - pwd
        - cp src/aws-exports.js src/aws-exports.ts
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: dist/teamtasks
    files:
      - '**/*'
  cache:
    paths:
      - node_modules/**/*