UNPKG

a11y-dialog

Version:

A tiny script to make dialog windows accessible to assistive technology users.

55 lines (54 loc) 1.83 kB
{ "name": "a11y-dialog", "type": "module", "version": "8.1.4", "description": "A tiny script to make dialog windows accessible to assistive technology users.", "homepage": "https://a11y-dialog.netlify.app/", "license": "MIT", "main": "dist/a11y-dialog.js", "module": "dist/a11y-dialog.esm.js", "types": "dist/a11y-dialog.d.ts", "exports": { ".": { "import": "./dist/a11y-dialog.esm.js", "browser": "./dist/a11y-dialog.js", "require": "./dist/a11y-dialog.cjs", "types": "./dist/a11y-dialog.d.ts" }, "./*": "./*" }, "keywords": ["modal", "dialog", "accessibility", "a11y", "focus"], "author": "Kitty Giraudel (https://kittygiraudel.com)", "repository": { "type": "git", "url": "https://github.com/KittyGiraudel/a11y-dialog" }, "files": ["dist/*"], "scripts": { "build": "rollup -c", "serve": "npx serve cypress/fixtures -p 5000", "test": "cypress run --browser chrome", "test:cjs": "npm install --prefix tests/cjs && npm test --prefix tests/cjs", "test:esm": "npm install --prefix tests/esm && npm test --prefix tests/esm", "test:package": "npm run test:cjs && npm run test:esm", "size": "./size.sh", "prepare": "husky", "lint": "biome check --write --unsafe --no-errors-on-unmatched src/*.ts", "lint:staged": "biome check --write --unsafe --staged --no-errors-on-unmatched src/**/*.ts" }, "devDependencies": { "@biomejs/biome": "^1.8.3", "@cypress/fiddle": "^1.19.3", "@rollup/plugin-node-resolve": "^16.0.0", "@rollup/plugin-terser": "^0.4.0", "@rollup/plugin-typescript": "^12.1.2", "cypress": "^14.0.1", "cypress-real-events": "^1.7.6", "husky": "^9.0.11", "rollup": "^4.4.0", "typescript": "^5.1.6" }, "dependencies": { "focusable-selectors": "^0.8.0" } }