react-a11y-dialog
Version:
A React component wrapper and React hook around a11y-dialog.
83 lines (82 loc) • 2.32 kB
JSON
{
"name": "react-a11y-dialog",
"type": "module",
"version": "7.4.1",
"description": "A React component wrapper and React hook around a11y-dialog.",
"homepage": "https://github.com/KittyGiraudel/react-a11y-dialog",
"license": "MIT",
"main": "dist/react-a11y-dialog.cjs",
"module": "dist/react-a11y-dialog.js",
"types": "dist/react-a11y-dialog.d.ts",
"exports": {
".": {
"types": "./dist/react-a11y-dialog.d.ts",
"require": {
"development": "./dist/react-a11y-dialog.cjs",
"default": "./dist/react-a11y-dialog.min.cjs"
},
"import": {
"development": "./dist/react-a11y-dialog.js",
"default": "./dist/react-a11y-dialog.min.js"
}
}
},
"files": [
"dist/*"
],
"keywords": [
"modal",
"dialog",
"accessibility",
"a11y",
"focus",
"react",
"component"
],
"author": "Kitty Giraudel (https://kittygiraudel.com)",
"scripts": {
"prepare": "npm run build",
"start": "rollup -c -w",
"build": "rollup -c",
"test": "jest",
"size": "./size.sh",
"lint": "biome check --write --unsafe --no-errors-on-unmatched src/*.tsx",
"lint:staged": "biome check --write --unsafe --staged --no-errors-on-unmatched src/**/*.tsx"
},
"dependencies": {
"a11y-dialog": "^8.0.1"
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@biomejs/biome": "1.9.4",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.0.0",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^16.0.0",
"babel-jest": "^29.4.1",
"jest": "^29.4.1",
"jest-environment-jsdom": "^29.4.1",
"rollup": "^4.4.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"tslib": "^2.6.0",
"typescript": "^5.1.6"
},
"peerDependencies": {
"react": "^16.8.0 || ^17 || ^18 || ^19",
"react-dom": "^16.8.0 || ^17 || ^18 || ^19"
},
"repository": {
"type": "git",
"url": "https://github.com/KittyGiraudel/react-a11y-dialog/"
},
"jest": {
"testEnvironment": "jest-environment-jsdom",
"transform": {
"\\.[jt]sx?$": "babel-jest"
}
}
}