aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-05-04 21:50:32 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-05-16 00:55:03 +0200
commitefc32118b6b079462255890a7cb7c2e09ae9d473 (patch)
tree7bf13f27316c5db78fc6ea38e9a550f9a97452e4 /package.json
parentbuild: integration testing support (diff)
downloadsophie-efc32118b6b079462255890a7cb7c2e09ae9d473.tar.gz
sophie-efc32118b6b079462255890a7cb7c2e09ae9d473.tar.zst
sophie-efc32118b6b079462255890a7cb7c2e09ae9d473.zip
feat: use wayland when available
Auto-detect wayland in the yarn watch script. We use a shell script wrapper to launch sophie with wayland-specific arguments whenever appropriate. Because of this, the electron binary that ships with sophie has been renamed to sophie-bin. Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index 2e60130..9c864cc 100644
--- a/package.json
+++ b/package.json
@@ -23,7 +23,7 @@
23 "test": "node --experimental-vm-modules --no-warnings $(yarn bin jest)", 23 "test": "node --experimental-vm-modules --no-warnings $(yarn bin jest)",
24 "test:ci": "yarn test --ci --coverage --reporters=default --reporters=jest-junit", 24 "test:ci": "yarn test --ci --coverage --reporters=default --reporters=jest-junit",
25 "test:integ": "electron scripts/electronJest.cjs --user-data-dir=userDataDir/integ --config=jest.integ.config.cjs --runInBand", 25 "test:integ": "electron scripts/electronJest.cjs --user-data-dir=userDataDir/integ --config=jest.integ.config.cjs --runInBand",
26 "test:integ:xvfb": "cross-env DISABLE_GPU=true xvfb-run -s \"-screen 0 1920x1080x24\" electron scripts/electronJest.cjs --user-data-dir=userDataDir/integ --config=jest.integ.config.cjs --runInBand", 26 "test:integ:xvfb": "cross-env DISABLE_GPU=true xvfb-run -s \"-screen 0 1920x1080x24\" electron scripts/electronJest.cjs --user-data-dir=userDataDir/integ --disable-features=WebRTCPipeWireCapturer --ozone-platform=x11 --config=jest.integ.config.cjs --runInBand",
27 "test:integ:ci": "cross-env DISABLE_GPU=true yarn test:integ --ci --coverage --reporters=default --reporters=jest-junit", 27 "test:integ:ci": "cross-env DISABLE_GPU=true yarn test:integ --ci --coverage --reporters=default --reporters=jest-junit",
28 "test:integ:xvfb:ci": "yarn test:integ:xvfb --ci --coverage --reporters=default --reporters=jest-junit", 28 "test:integ:xvfb:ci": "yarn test:integ:xvfb --ci --coverage --reporters=default --reporters=jest-junit",
29 "build": "node scripts/build.js", 29 "build": "node scripts/build.js",