UNPKG

react-aria-modal

Version:

A fully accessible and flexible React modal built according WAI-ARIA Authoring Practices

66 lines (65 loc) 1.78 kB
{ "name": "react-aria-modal", "version": "5.0.2", "description": "A fully accessible and flexible React modal built according WAI-ARIA Authoring Practices", "main": "dist/react-aria-modal.js", "scripts": { "lint": "eslint .", "format": "prettier --write '*/**.js'", "demo-bundle": "browserify demo/js -t babelify -o demo/demo-bundle.js", "start": "budo demo/js/index.js:demo-bundle.js --live --dir demo -- -t babelify -o demo/demo-bundle.js", "build": "babel src -d dist", "prepublishOnly": "npm run build", "test": "npm run lint" }, "repository": { "type": "git", "url": "git+https://github.com/davidtheclark/react-aria-modal.git" }, "keywords": [ "react", "react-component", "modal", "accessibility", "accessible", "dialog" ], "author": "David Clark", "license": "MIT", "bugs": { "url": "https://github.com/davidtheclark/react-aria-modal/issues" }, "homepage": "https://github.com/davidtheclark/react-aria-modal#readme", "dependencies": { "focus-trap-react": "^10.1.4", "no-scroll": "^2.1.1" }, "peerDependencies": { "react": ">=16.3.0", "react-dom": ">=16.3.0" }, "devDependencies": { "@babel/cli": "^7.2.3", "@babel/core": "^7.3.3", "@babel/plugin-proposal-class-properties": "^7.3.3", "@babel/preset-env": "^7.15.0", "@babel/preset-react": "^7.0.0", "babel-eslint": "^10.0.1", "babelify": "^10.0.0", "browserify": "^16.2.3", "budo": "^11.8.4", "eslint": "^5.14.0", "prettier": "1.16.4", "react": "^18.2.0", "react-dom": "^18.2.0" }, "babel": { "presets": [ "@babel/preset-react", "@babel/preset-env" ], "plugins": [ "@babel/plugin-proposal-class-properties" ] } }