diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/e2e.sh | 11 | ||||
-rwxr-xr-x | scripts/watch/client.sh | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/scripts/e2e.sh b/scripts/e2e.sh new file mode 100755 index 000000000..b1e9245c1 --- /dev/null +++ b/scripts/e2e.sh | |||
@@ -0,0 +1,11 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | set -eu | ||
4 | |||
5 | #npm run build:server | ||
6 | npm run clean:server:test | ||
7 | |||
8 | concurrently -k -s first \ | ||
9 | "cd client && npm run ng -- e2e" \ | ||
10 | "NODE_ENV=test NODE_APP_INSTANCE=1 npm start" | ||
11 | |||
diff --git a/scripts/watch/client.sh b/scripts/watch/client.sh index 7dcce5861..f3799d2e9 100755 --- a/scripts/watch/client.sh +++ b/scripts/watch/client.sh | |||
@@ -4,4 +4,4 @@ set -eu | |||
4 | 4 | ||
5 | cd client | 5 | cd client |
6 | 6 | ||
7 | npm run ng -- serve --hmr --host 0.0.0.0 --disable-host-check --port 3000 | 7 | npm run ng -- serve --hmr --configuration hmr --host 0.0.0.0 --disable-host-check --port 3000 |