UNPKG

@applitools/eyes-playwright

Version:
104 lines 3.92 kB
{ "name": "@applitools/eyes-playwright", "version": "1.39.2", "description": "Applitools Eyes SDK for Playwright", "keywords": [ "eyes-playwright", "applitools", "eyes", "test automation", "visual regression", "automation", "testing", "tests", "playwright" ], "homepage": "https://applitools.com/tutorials/sdks/playwright-ts-standard", "license": "SEE LICENSE IN LICENSE", "author": { "name": "Applitools Team", "email": "team@applitools.com" }, "main": "./dist/index.js", "types": "./types/index.d.ts", "files": [ "dist", "types" ], "exports": { ".": { "types": "./types/index.d.ts", "default": "./dist/index.js" }, "./reporter": { "types": "./types/fixture/fixture/reporter.d.ts", "default": "./dist/fixture/reporter.js" }, "./fixture": { "types": "./types/fixture.d.ts", "default": "./dist/fixture/index.js" } }, "bin": { "eyes-setup": "./dist/fixture/cli.js" }, "scripts": { "lint": "run --top-level eslint '**/*.ts'", "build": "run build:ts && run build:report && run build:cli", "build:ts": "run build:ts:sdk && run build:ts:fixture", "build:ts:sdk": "run --top-level tspc --project ./tsconfig.build.json", "build:ts:fixture": "run --top-level tspc --project ./tsconfig.fixture.json", "build:report": "rollup --config src/fixture/build/rollup.config.ts --configPlugin typescript && cp src/fixture/reporterStyle.css dist/fixture && cp -R src/fixture/images dist/fixture", "build:cli": "cp -R src/fixture/example dist/fixture", "generate:tests": "NODE_OPTIONS='--experimental-import-meta-resolve --experimental-loader=@applitools/generic/dist/code-loader.js' generic ./test/generic/config.mjs", "test": "APPLITOOLS_SHOW_LOGS=true APPLITOOLS_LOG_FILE=\"./logs/$(uuidgen).log\" APPLITOOLS_BATCH_NAME='JS Tests: eyes-playwright' APPLITOOLS_BATCH_ID=$(uuidgen) run --top-level mocha './test/*.spec.{js,ts}' --exit", "test:coverage": "APPLITOOLS_SHOW_LOGS=true APPLITOOLS_LOG_FILE=\"./logs/$(uuidgen).log\" APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-playwright' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage run --top-level mocha './test/generated-coverage/*.spec.js' --parallel --jobs ${MOCHA_JOBS:-8} --exit", "test:fixture": "APPLITOOLS_SHOW_LOGS=true APPLITOOLS_LOG_FILE=\"./logs/$(npx uuid).log\" APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-playwright-fixture' APPLITOOLS_BATCH_ID=$(npx uuid) run playwright test", "setup": "run playwright:setup && run --top-level xvfb:setup", "playwright:setup": "yarn playwright install --with-deps chromium firefox webkit", "up:framework": "echo \"$(jq '.devDependencies.playwright = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json" }, "dependencies": { "@applitools/eyes": "1.36.1", "@applitools/req": "1.8.2", "@applitools/spec-driver-playwright": "1.7.2", "@applitools/utils": "1.11.1", "@azure/storage-blob": "^12.28.0", "@inquirer/prompts": "7.0.1", "chalk": "4.1.2", "yargs": "17.7.2" }, "devDependencies": { "@applitools/api-extractor": "^1.2.22", "@applitools/bongo": "^5.10.0", "@applitools/generic": "^3.9.2", "@applitools/test-utils": "^1.5.17", "@playwright/test": "1.47.0", "@rollup/plugin-commonjs": "^28.0.0", "@rollup/plugin-node-resolve": "^15.3.0", "@rollup/plugin-typescript": "^12.1.0", "@types/node": "^12.20.55", "jszip": "^3.10.1", "nock": "^13.3.2", "playwright": "1.49.0", "rollup": "^4.1.4" }, "peerDependencies": { "@playwright/test": ">=1.0.0", "playwright": ">=1.0.0" }, "peerDependenciesMeta": { "@playwright/test": { "optional": true }, "playwright": { "optional": true } }, "engines": { "node": ">=12.13.0" }, "publishConfig": { "access": "public" } }