You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
270 B

  1. #!/usr/bin/env bash
  2. set -o errexit
  3. root="$(dirname "$0")/.."
  4. app="${root}/frontend"
  5. (
  6. cd "${app}"
  7. if [[ ! -d node_modules/.bin ]]; then
  8. echo "Installing dependencies"
  9. npm install
  10. fi
  11. echo "Starting frontend server"
  12. npm run lintfix
  13. npm run dev
  14. )