local.sh 440 B

12345678910111213141516
  1. #!/bin/sh
  2. set -eu
  3. npm run clean:server:test
  4. (
  5. cd client
  6. npm run webdriver-manager update
  7. npm run webpack -- --config webpack/webpack.video-embed.js --mode development
  8. )
  9. npm run concurrently -- -k -s first \
  10. "cd client && npm run webdriver-manager start" \
  11. "cd client && npm run ng -- e2e --port 3333 -c local" \
  12. "NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"log\": { \"level\": \"warning\" } }' npm start"