UNPKG

@serenity-js/playwright-test

Version:

Serenity/JS test runner adapter for Playwright Test, combining Playwright's developer experience with the advanced reporting and automation capabilities of Serenity/JS

169 lines (168 loc) 4.49 kB
{ "name": "@serenity-js/playwright-test", "version": "3.44.1", "description": "Serenity/JS test runner adapter for Playwright Test, combining Playwright's developer experience with the advanced reporting and automation capabilities of Serenity/JS", "author": { "name": "Jan Molak", "email": "jan.molak@smartcodeltd.co.uk", "url": "https://janmolak.com" }, "funding": { "url": "https://github.com/sponsors/serenity-js" }, "homepage": "https://serenity-js.org", "license": "Apache-2.0", "publishConfig": { "access": "public", "provenance": true }, "main": "./lib/index.js", "types": "./lib/index.d.ts", "type": "module", "module": "./esm/index.js", "exports": { ".": { "import": { "types": "./esm/index.d.ts", "default": "./esm/index.js" }, "require": { "types": "./lib/index.d.ts", "default": "./lib/index.js" } }, "./events": { "import": { "types": "./esm/events/index.d.ts", "default": "./esm/events/index.js" }, "require": { "types": "./lib/events/index.d.ts", "default": "./lib/events/index.js" } }, "./reporter": { "import": { "types": "./esm/reporter/index.d.ts", "default": "./esm/reporter/index.js" }, "require": { "types": "./lib/reporter/index.d.ts", "default": "./lib/reporter/index.js" } }, "./api": { "import": { "types": "./esm/api/index.d.ts", "default": "./esm/api/index.js" }, "require": { "types": "./lib/api/index.d.ts", "default": "./lib/api/index.js" } }, "./lib/events": { "import": { "types": "./esm/events/index.d.ts", "default": "./esm/events/index.js" }, "require": { "types": "./lib/events/index.d.ts", "default": "./lib/events/index.js" } }, "./lib/reporter": { "import": { "types": "./esm/reporter/index.d.ts", "default": "./esm/reporter/index.js" }, "require": { "types": "./lib/reporter/index.d.ts", "default": "./lib/reporter/index.js" } }, "./lib/api": { "import": { "types": "./esm/api/index.d.ts", "default": "./esm/api/index.js" }, "require": { "types": "./lib/api/index.d.ts", "default": "./lib/api/index.js" } }, "./lib/*.js": "./lib/*.js", "./lib/*": "./lib/*", "./esm/*.js": "./esm/*.js", "./esm/*": "./esm/*.js", "./package.json": "./package.json" }, "keywords": [ "automation", "browser", "component", "e2e", "end-to-end", "integration", "serenity", "serenity-js", "screenplay", "screenplay-pattern", "runner", "playwright", "playwright-test", "angular", "react", "vue", "svelte", "tdd", "bdd", "test", "testing" ], "scripts": { "clean": "rimraf target", "~test": "c8 npm run test:no-coverage", "~test:no-coverage": "playwright test", "compile": "npm run compile:clean && npm run compile:esm && npm run compile:cjs-package && npm run compile:cjs", "compile:clean": "rimraf lib esm", "compile:esm": "tsc --project tsconfig-esm.build.json", "compile:cjs-package": "node -e \"require('fs').mkdirSync('lib', { recursive: true }); require('fs').writeFileSync('lib/package.json', '{ \\\"type\\\": \\\"commonjs\\\" }')\"", "compile:cjs": "tsc --project tsconfig-cjs.build.json" }, "repository": { "type": "git", "url": "https://github.com/serenity-js/serenity-js.git", "directory": "packages/playwright" }, "bugs": { "url": "https://github.com/serenity-js/serenity-js/issues" }, "engines": { "node": ">=22.12 || ^24" }, "dependencies": { "@serenity-js/core": "3.44.1", "@serenity-js/playwright": "3.44.1", "@serenity-js/rest": "3.44.1", "@serenity-js/web": "3.44.1", "axios": "1.18.1", "deepmerge": "4.3.1", "tiny-types": "2.0.5" }, "peerDependencies": { "@playwright/test": "~1.61.1" }, "devDependencies": { "@integration/testing-tools": "3.0.0", "@playwright/test": "1.61.1", "@types/chai": "4.3.20", "@types/mocha": "10.0.10", "c8": "11.0.0", "mocha": "11.7.6", "mocha-multi": "1.1.7", "ts-node": "10.9.2", "typescript": "5.9.3" }, "gitHead": "b007339c32c01f5d33aa87e02e18422e8184c486" }