lint 409 B

123456789101112131415161718192021
  1. #!/usr/bin/env bash
  2. set -e
  3. cd "$(dirname "$0")/.."
  4. echo "==> Running eslint"
  5. ./node_modules/.bin/eslint .
  6. echo "==> Building"
  7. ./scripts/build
  8. echo "==> Checking types"
  9. ./node_modules/typescript/bin/tsc
  10. echo "==> Running Are The Types Wrong?"
  11. ./node_modules/.bin/attw --pack dist -f json >.attw.json || true
  12. node scripts/utils/attw-report.cjs
  13. echo "==> Running publint"
  14. ./node_modules/.bin/publint dist