|
4 | 4 | "browserslist": "> 0.5%, last 2 versions, not dead", |
5 | 5 | "license": "GPL-3.0-or-later", |
6 | 6 | "scripts": { |
7 | | - "start": "concurrently 'npm:start-web' 'npm:start-e2e'", |
| 7 | + "start": "concurrently 'yarn:start-web' 'yarn:start-e2e'", |
8 | 8 | "build": "webpack build --mode production && tailwindcss --input static/css/main.css --output static/main.build.css --minify", |
9 | 9 |
|
10 | | - "test": "cargo test --color always --features kube && concurrently --kill-others 'npm:start-e2e' 'npm:test-e2e'", |
| 10 | + "test": "cargo test --color always --features kube && concurrently --kill-others 'yarn:start-e2e' 'yarn:test-e2e'", |
11 | 11 | "test-e2e": "until curl -sSf http://localhost:8080 >/dev/null; do sleep 1; done; hurl --test --jobs 1 ./hurl", |
12 | 12 | "test-server": "cargo test --color always --features e2e-test", |
13 | 13 |
|
14 | | - "start-web": "concurrently 'npm:tailwind-dev' 'npm:webpack-dev'", |
| 14 | + "start-web": "concurrently --name tailwind,webpack 'yarn:tailwind-dev' 'yarn:webpack-dev'", |
15 | 15 | "tailwind-dev": "tailwindcss --input static/css/main.css --output static/main.build.css --watch", |
16 | 16 | "webpack-dev": "webpack watch --mode development", |
17 | 17 |
|
18 | | - "start-e2e": "concurrently 'npm:start-server' 'npm:e2e-server'", |
| 18 | + "start-e2e": "concurrently --name magicentry,dummy --kill-others 'yarn:start-server' 'yarn:e2e-server'", |
19 | 19 | "start-server": "RUST_LOG_STYLE=always CONFIG_FILE=config.sample.yaml watchexec --debounce 2 --watch ./Cargo.toml --watch ./src --watch ./static --watch ./benches --restart cargo run --color always --features e2e-test", |
20 | 20 | "start-test": "RUST_LOG_STYLE=always watchexec --debounce 2 --watch ./Cargo.toml --watch ./src --watch ./static --watch ./benches --restart cargo test --color always --features kube", |
21 | 21 | "e2e-server": "http-server hurl -p 8081", |
|
0 commit comments