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": "1.0.0",
5 "main": "dist/use-interactions.js",
6 "module": "dist/use-interactions.es.js",
7 "types": "dist/types/index.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 "repository": "https://github.com/FormidableLabs/use-interactions",
26 "bugs": {
27 "url": "https://github.com/FormidableLabs/use-interactions/issues"
28 },
29 "scripts": {
30 "check": "tsc",
31 "build": "rollup -c rollup.config.js",
32 "prepublishOnly": "run-s check build"
33 },
34 "prettier": {
35 "singleQuote": true,
36 "arrowParens": "avoid",
37 "trailingComma": "es5"
38 },
39 "lint-staged": {
40 "*.{js,ts}": "prettier --write",
41 "*.json": "prettier --write",
42 "*.md": "prettier --write"
43 },
44 "husky": {
45 "hooks": {
46 "pre-commit": "lint-staged --quiet --relative"
47 }
48 },
49 "peerDependencies": {
50 "react": ">= 16.8.0"
51 },
52 "devDependencies": {
53 "@rollup/plugin-buble": "^0.21.3",
54 "@rollup/plugin-commonjs": "^19.0.1",
55 "@rollup/plugin-node-resolve": "^13.0.2",
56 "@types/react": "^17.0.14",
57 "husky": "^7.0.1",
58 "lint-staged": "^11.0.1",
59 "npm-run-all": "^4.1.5",
60 "prettier": "^2.1.2",
61 "react": "^17.0.2",
62 "rollup": "^2.27.1",
63 "rollup-plugin-terser": "^7.0.2",
64 "rollup-plugin-typescript2": "^0.30.0",
65 "typescript": "^4.0.3"
66 }
67}