UNPKG

@guidepup/virtual-screen-reader

Version:

Virtual Screen Reader driver for unit test automation.

109 lines (108 loc) 3.39 kB
{ "name": "@guidepup/virtual-screen-reader", "version": "0.32.1", "description": "Virtual Screen Reader driver for unit test automation.", "author": "Craig Morten <craig.morten@hotmail.co.uk>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/guidepup/virtual-screen-reader" }, "bugs": { "url": "https://github.com/guidepup/virtual-screen-reader/issues" }, "homepage": "https://github.com/guidepup/virtual-screen-reader", "keywords": [ "screen reader", "screen-reader", "accessibility", "a11y", "guidepup" ], "engines": { "node": ">=20" }, "main": "./lib/cjs/index.js", "types": "./lib/cjs/index.d.ts", "module": "./lib/esm/index.legacy-esm.js", "exports": { "./package.json": "./package.json", ".": { "import": { "types": "./lib/esm/index.d.mts", "default": "./lib/esm/index.mjs" }, "require": { "types": "./lib/cjs/index.d.ts", "default": "./lib/cjs/index.cjs" } }, "./browser.js": { "unpkg": "./lib/esm/index.browser.js", "browser": "./lib/esm/index.browser.js", "import": "./lib/esm/index.browser.js", "default": "./lib/esm/index.browser.js" } }, "sideEffects": false, "scripts": { "build": "yarn clean && yarn compile", "ci": "yarn clean && yarn lint && yarn test:coverage && yarn build && yarn types:test", "clean": "rimraf lib", "compile": "tsup", "lint": "eslint src test --cache", "lint:fix": "yarn lint --fix", "prepublish": "yarn build", "test": "jest", "test:coverage": "yarn test --coverage", "types:test": "attw --pack . --exclude-entrypoints browser.js", "wpt:hosts": "./test/wpt/wpt make-hosts-file | sudo tee -a /etc/hosts", "wpt:init": "git submodule update --init --recursive", "wpt:reset": "rimraf ./test/wpt && yarn wpt:init", "wpt:test": "ts-mocha -p ./tsconfig.test.json ./test/wpt-jsdom/run-wpts.js", "wpt:update": "yarn wpt:init --remote && cd test/wpt && python wpt.py manifest --path ../wpt-jsdom/wpt-manifest.json" }, "dependencies": { "@testing-library/dom": "^10.4.0", "@testing-library/user-event": "^14.6.1", "dom-accessibility-api": "^0.7.0", "html-aria": "^0.5.1" }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.3.0", "@types/expect": "^24.3.2", "@types/jest": "^29.5.14", "@types/json-schema": "^7.0.15", "@types/mocha": "^10.0.10", "@types/node": "^22.15.2", "@types/prop-types": "^15.7.14", "@types/react": "^19.1.2", "@types/react-dom": "^19.1.2", "@types/scheduler": "^0.26.0", "@types/semver": "^7.7.0", "chalk": "^4.0.0", "css.escape": "^1.5.1", "eslint": "^9.25.1", "eslint-config-prettier": "^10.1.2", "globals": "^16.0.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "js-yaml": "^4.1.0", "jsdom": "^26.1.0", "minimatch": "^10.0.1", "mocha": "^11.1.0", "mocha-sugar-free": "^1.4.0", "react": "^19.1.0", "react-dom": "^19.1.0", "rimraf": "^6.0.1", "ts-jest": "^29.3.2", "ts-jest-resolver": "^2.0.1", "ts-mocha": "^10.0.0", "ts-node": "^10.9.2", "tsup": "^8.4.0", "typescript": "^5.8.3", "typescript-eslint": "^8.31.0" } }