Mirror: React hooks for accessible, common web interactions. UI super powers without the UI.
1{
2 "name": "use-interactions",
3 "description": "Reusable and common web interactions with WCAG accessibility criteria for React",
4 "version": "0.1.5",
5 "main": "dist/use-interactions.js",
6 "module": "dist/use-interactions.es.js",
7 "types": "dist/use-interactions.d.ts",
8 "source": "src/index.ts",
9 "sideEffects": false,
10 "license": "MIT",
11 "files": [
12 "LICENSE",
13 "README.md",
14 "dist/"
15 ],
16 "keywords": [
17 "interactions",
18 "modal",
19 "dialog",
20 "a11y",
21 "accessibility",
22 "react",
23 "hook"
24 ],
25 "author": "Phil Pluckthun <phil@kitten.sh>",
26 "repository": "https://github.com/kitten/use-interactions",
27 "bugs": {
28 "url": "https://github.com/kitten/use-interactions/issues"
29 },
30 "scripts": {
31 "check": "tsc",
32 "test": "cypress run --component",
33 "test:open": "cypress open --component",
34 "build": "rollup -c scripts/rollup.config.mjs",
35 "prepublishOnly": "run-s check build",
36 "prepare": "node ./scripts/prepare.js || true"
37 },
38 "prettier": {
39 "singleQuote": true,
40 "arrowParens": "avoid",
41 "trailingComma": "es5"
42 },
43 "lint-staged": {
44 "*.{js,ts}": "prettier --write",
45 "*.json": "prettier --write",
46 "*.md": "prettier --write"
47 },
48 "peerDependencies": {
49 "react": ">= 16.8.0"
50 },
51 "devDependencies": {
52 "@babel/core": "^7.21.8",
53 "@babel/plugin-transform-block-scoping": "^7.21.0",
54 "@babel/plugin-transform-typescript": "^7.21.3",
55 "@cypress/react": "^6.2.0",
56 "@cypress/vite-dev-server": "^3.3.1",
57 "@rollup/plugin-babel": "^6.0.3",
58 "@rollup/plugin-commonjs": "^25.0.0",
59 "@rollup/plugin-node-resolve": "^15.0.2",
60 "@rollup/plugin-terser": "^0.4.3",
61 "@types/react": "^17.0.42",
62 "cypress": "^10.10.0",
63 "cypress-real-events": "^1.7.2",
64 "lint-staged": "^12.3.7",
65 "npm-run-all": "^4.1.5",
66 "prettier": "^2.6.0",
67 "react": "^17.0.2",
68 "react-dom": "^17.0.2",
69 "rollup": "^3.23.0",
70 "rollup-plugin-cjs-check": "^1.0.2",
71 "rollup-plugin-dts": "^5.3.0",
72 "typescript": "^5.0.4",
73 "vite": "^2.8.6"
74 }
75}