UNPKG

@applitools/screenshoter

Version:

Applitools universal screenshoter for web and native applications

88 lines 3.14 kB
{ "name": "@applitools/screenshoter", "version": "3.12.13", "description": "Applitools universal screenshoter for web and native applications", "keywords": [ "applitools", "test automation", "visual regression", "automation", "testing", "tests", "screenshots" ], "homepage": "https://applitools.com", "bugs": { "url": "https://github.com/applitools/eyes.sdk.javascript1/issues" }, "repository": { "type": "git", "url": "git://github.com/applitools/eyes.sdk.javascript1.git", "directory": "js/packages/screenshoter" }, "license": "SEE LICENSE IN LICENSE", "author": { "name": "Applitools Team", "email": "team@applitools.com" }, "exports": { ".": { "default": "./index.js" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "main": "./index.js", "files": [ "src", "index.js" ], "scripts": { "lint": "run --top-level eslint . --ext .js", "test": "yarn test:it && yarn test:e2e", "test:unit": "MOCHA_GROUP=unit run --top-level mocha ./test/unit/*.spec.js", "test:it": "MOCHA_GROUP=it run --top-level mocha ./test/it/*.spec.js", "test:e2e": "yarn test:e2e:web && yarn test:e2e:android && yarn test:e2e:ios", "test:e2e:web": "MOCHA_GROUP=web run --top-level mocha ./test/e2e/web/*.spec.js", "test:e2e:android": "APPLITOOLS_TEST_REMOTE=sauce MOCHA_GROUP=android run --top-level mocha ./test/e2e/android*/*.spec.js --parallel --jobs ${MOCHA_JOBS:-3}", "test:e2e:ios": "APPLITOOLS_TEST_REMOTE=sauce MOCHA_GROUP=ios run --top-level mocha ./test/e2e/ios*/*.spec.js --parallel --jobs ${MOCHA_JOBS:-4}", "setup": "yarn setup:web", "setup:web": "run --top-level browsers:setup", "setup:android": "echo \"setup:android - do nothing\"", "setup:ios": "echo \"setup:ios - do nothing\"", "android:setup": "node ./scripts/android-emulator.js", "android:shutdown": "adb -s emulator-5555 emu kill || true && adb -s emulator-5557 emu kill || true", "ios:setup": "node ./scripts/ios-simulator.js", "appium:setup": "mkdir -p ./logs && appium --address 127.0.0.1 --port 4723 --base-path /wd/hub --log-level error:info --log ./logs/appium.log --relaxed-security &" }, "dependencies": { "@applitools/image": "1.2.6", "@applitools/logger": "2.2.8", "@applitools/snippets": "2.7.0", "@applitools/utils": "1.14.1" }, "devDependencies": { "@applitools/driver": "^1.25.1", "@applitools/spec-driver-webdriver": "^1.5.6", "@applitools/test-utils": "^1.5.17", "appium": "^1.22.3", "pixelmatch": "^5.3.0", "webdriver": "^7.31.1" }, "engines": { "node": ">=12.13.0" }, "publishConfig": { "access": "public" }, "lavamoat": { "allowScripts": { "appium>appium-android-driver>appium-chromedriver": false, "appium>appium-base-driver>ws>bufferutil": false, "appium>appium-base-driver>ws>utf-8-validate": false, "appium>appium-tizen-driver>jimp>@babel/polyfill>core-js": false, "appium>appium-tizen-driver>jimp>core-js": false, "appium>appium-windows-driver": false } } }