server.sh 185 B

12345678910
  1. #!/bin/bash
  2. set -eu
  3. rm -rf ./dist
  4. npm run tsc
  5. cp "./tsconfig.json" "./dist"
  6. cp -r "./server/static" "./server/assets" "./dist/server"
  7. cp -r "./server/lib/emails" "./dist/server/lib"