{ "name": "@axe-core/playwright", "version": "4.14.0", "description": "Provides a method to inject and analyze web pages using axe", "contributors": [ { "name": "Michael Siek (me@michaelsiek.com)" } ], "files": [ "/dist" ], "keywords": [ "a11y", "unit", "testing", "tdd", "bdd", "accessibility", "axe", "playwright", "axe-core" ], "repository": { "type": "git", "url": "https://github.com/dequelabs/axe-core-npm.git" }, "license": "MPL-2.0", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } }, "publishConfig": { "access": "public" }, "engines": { "node": ">=22.12.0" }, "scripts": { "prebuild": "rimraf dist", "build": "tsup src/index.ts --dts --format esm,cjs", "test": "mocha --timeout 60000 -r ts-node/register 'test/**.spec.ts'", "test:export": "pnpm run test:esm && pnpm run test:commonjs && pnpm run test:ts", "test:esm": "node test/esmTest.mjs", "test:commonjs": "node test/commonjsTest.js", "test:ts": "tsc --ignoreConfig test/tsTest.ts --noEmit --skipLibCheck --esModuleInterop", "coverage": "nyc pnpm run test", "prepare": "pnpm exec playwright install && pnpm run build", "lint:package": "pnpm run pack:lint && publint --strict ../../node_modules/.cache/package-lint/playwright.tgz", "lint:types": "pnpm run pack:lint && attw ../../node_modules/.cache/package-lint/playwright.tgz", "pack:lint": "pnpm pack --config.ignore-scripts=true --out ../../node_modules/.cache/package-lint/playwright.tgz" }, "dependencies": { "axe-core": "~4.14.0" }, "devDependencies": { "@playwright/test": "^1.60.0", "@types/chai": "^5.2.3", "@types/express": "^5.0.3", "@types/mocha": "^10.0.0", "@types/node": "^24.10.1", "async-listen": "^3.0.1", "axe-test-fixtures": "github:dequelabs/axe-test-fixtures#v1", "chai": "^4.3.6", "express": "^5.1.0", "mocha": "^11.7.1", "nyc": "^18.0.0", "rimraf": "^6.0.1", "tsup": "^8.0.1" }, "peerDependencies": { "playwright-core": ">= 1.0.0" }, "nyc": { "include": [ "src/index.ts" ], "extension": [ ".ts" ], "reporter": [ "text-summary", "html" ], "sourceMap": true, "instrument": true, "checkCoverage": true, "statements": 95, "branches": 90, "functions": 100, "lines": 95 } }