UNPKG

@serenity-js/playwright

Version:

Adapter that integrates @serenity-js/web with Playwright, enabling Serenity/JS reporting and using the Screenplay Pattern to write component and end-to-end test scenarios

108 lines (107 loc) 2.97 kB
{ "name": "@serenity-js/playwright", "version": "3.43.2", "description": "Adapter that integrates @serenity-js/web with Playwright, enabling Serenity/JS reporting and using the Screenplay Pattern to write component and end-to-end test scenarios", "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" } }, "./lib/*": "./lib/*", "./esm/*": "./esm/*", "./package.json": "./package.json" }, "keywords": [ "automation", "browser", "component", "e2e", "end-to-end", "integration", "serenity", "serenity-js", "screenplay", "screenplay-pattern", "playwright", "angular", "react", "vue", "svelte", "tdd", "bdd", "test", "testing" ], "scripts": { "clean": "rimraf target", "~test": "c8 npm run test:no-coverage", "~test:no-coverage": "mocha --config .mocharc.yml --spec='spec/**/*.spec.*'", "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": "^20 || ^22 || ^24" }, "dependencies": { "@serenity-js/core": "3.43.2", "@serenity-js/web": "3.43.2", "tiny-types": "2.0.5" }, "peerDependencies": { "playwright-core": "~1.60.0" }, "devDependencies": { "@integration/testing-tools": "3.0.0", "@types/chai": "4.3.20", "@types/chai-as-promised": "7.1.8", "@types/mocha": "10.0.10", "@types/sinon": "21.0.1", "c8": "11.0.0", "chai": "4.5.0", "chai-as-promised": "7.1.2", "mocha": "11.7.5", "mocha-multi": "1.1.7", "playwright-core": "1.60.0", "sinon": "20.0.0", "sinon-chai": "3.7.0", "tiny-types": "2.0.5", "tsx": "4.21.0", "typescript": "5.9.3" }, "gitHead": "df42aa042648f878111b6217cda68e5d0faa430e" }