diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2022-12-06 21:14:09 +0100 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2022-12-14 10:38:50 +0100 |
| commit | 8b9c8e08b9ad168b4f86e0833097fbab0cc3e246 (patch) | |
| tree | 77629c9b736d9685e60046b5f7b14c8ebaae0380 /gui/package.json | |
| parent | 238e475f1bb5d6f48c37d4eb9a6048f1c0aa31c7 (diff) | |
| download | mullvadvpn-8b9c8e08b9ad168b4f86e0833097fbab0cc3e246.tar.xz mullvadvpn-8b9c8e08b9ad168b4f86e0833097fbab0cc3e246.zip | |
Build standalone tests
Diffstat (limited to 'gui/package.json')
| -rw-r--r-- | gui/package.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/package.json b/gui/package.json index ad328a9c73..7b5ad913bf 100644 --- a/gui/package.json +++ b/gui/package.json @@ -75,6 +75,7 @@ "gulp-inject-string": "^1.1.2", "gulp-sourcemaps": "^3.0.0", "gulp-typescript": "^5.0.1", + "pkg": "^5.8.0", "playwright": "^1.26.1", "prettier": "^2.2.1", "sinon": "^14.0.1", @@ -89,6 +90,8 @@ "postinstall": "cross-env ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES=true electron-builder install-app-deps", "build": "gulp build", "build-proto": "gulp build-proto", + "pack-test-executable": "pkg --config test.pkg.json --output ../dist/mullvadvpn-app-e2e-tests build/standalone-tests.js", + "build-test-executable": "npm run build && npm run pack-test-executable", "lint": "eslint --ext tsx,ts .", "format": "prettier \"**/*.{js,css,ts,tsx}\" --write", "tsc": "tsc -p . --noEmit", |
