UNPKG

@wethegit/react-modal

Version:

A customizable, accessible modal window component for React projects.

107 lines (106 loc) 3.01 kB
{ "name": "@wethegit/react-modal", "version": "3.1.0", "description": "A customizable, accessible modal window component for React projects.", "files": [ "dist" ], "sideEffects": [ "**/*.css" ], "type": "module", "style": "./dist/style.css", "css": "./dist/style.css", "main": "./dist/react-modal.js", "types": "./dist/main.d.ts", "exports": { ".": { "import": { "types": "./dist/main.d.ts", "default": "./dist/react-modal.js" }, "require": "./dist/react-modal.cjs" }, "./style.css": "./dist/style.css" }, "scripts": { "start": "vite", "build": "rm -rf dist && vite build", "changeset": "changeset", "version": "changeset version", "release": "npm run build && changeset publish", "lint:scripts": "eslint --report-unused-disable-directives --max-warnings 0 --ext .tsx,ts --ignore-path .gitignore .", "lint:styles": "stylelint src/**/*.{css,scss}", "lint": "npm run lint:scripts && npm run lint:styles", "format": "prettier . --write", "prepare": "husky" }, "publishConfig": { "access": "public" }, "lint-staged": { "*.{ts,tsx}": "eslint --fix", "*.{css,scss}": "stylelint --fix", "*": "prettier -w -u" }, "keywords": [ "react", "modal", "dialog", "dialogue", "window", "lightbox", "accessible" ], "homepage": "https://github.com/wethegit/react-modal", "repository": { "type": "git", "url": "https://github.com/wethegit/react-modal" }, "bugs": { "url": "https://github.com/wethegit/react-modal/issues" }, "author": "Andrew Rubin <andrew@wethecollective.com> (https://wethecollective.com)", "license": "MIT", "devDependencies": { "@types/node": "~20.17.0", "@types/react": "~18.3.3", "@types/react-dom": "~18.3.0", "@typescript-eslint/eslint-plugin": "~5.62.0", "@typescript-eslint/parser": "~5.62.0", "@vitejs/plugin-react-swc": "^3.0.0", "eslint": "~8.57.0", "eslint-config-preact": "^1.3.0", "eslint-config-prettier": "~9.1.0", "eslint-config-react-app": "~7.0.1", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.7", "husky": "^9.0.11", "lint-staged": "^15.2.5", "postcss": "^8.4.23", "postcss-scss": "^4.0.6", "prettier": "~2.8.8", "react": "19.1.0", "react-dom": "19.1.0", "sass": "^1.62.1", "stylelint": "^15.6.2", "stylelint-config-recommended": "^13.0.0", "stylelint-config-standard": "^34.0.0", "stylelint-config-standard-scss": "^11.1.0", "stylelint-order": "^6.0.3", "stylelint-selector-bem-pattern": "^2.1.1", "typescript": "~5.6.2", "vite": "^4.3.2", "vite-plugin-dts": "~3.9.1" }, "peerDependencies": { "react": "17 - 19", "react-dom": "17 - 19" }, "dependencies": { "@changesets/changelog-github": "~0.5.0", "@changesets/cli": "~2.27.1", "@wethegit/react-hooks": "^3.0.1" } }