UNPKG

@rc-component/dialog

Version:
95 lines (94 loc) 2.6 kB
{ "name": "@rc-component/dialog", "version": "1.2.0", "description": "dialog ui component for react", "keywords": [ "react", "react-component", "react-dialog", "dialog", "ui" ], "homepage": "http://github.com/react-component/dialog", "bugs": { "url": "http://github.com/react-component/dialog/issues" }, "repository": { "type": "git", "url": "git@github.com:react-component/dialog.git" }, "license": "MIT", "author": "yiminghe@gmail.com", "main": "./lib/index", "module": "./es/index", "files": [ "lib", "es", "assets/*.css", "dist" ], "scripts": { "compile": "father build && lessc assets/index.less assets/index.css && lessc assets/bootstrap.less assets/bootstrap.css", "coverage": "rc-test --coverage", "deploy": "npm run docs:build && npm run docs:deploy", "docs:build": "dumi build", "docs:deploy": "gh-pages -d dist", "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md", "lint:tsc": "tsc -p tsconfig.json --noEmit", "now-build": "npm run docs:build", "prepare": "husky install", "prepublishOnly": "npm run compile && rc-np", "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"", "start": "dumi dev", "test": "rc-test", "tsc": "bunx tsc --noEmit" }, "lint-staged": { "**/*.{js,jsx,tsx,ts,md,json}": [ "prettier --write", "git add" ] }, "dependencies": { "@rc-component/motion": "^1.1.3", "@rc-component/portal": "^2.0.0", "@rc-component/util": "^1.0.1", "classnames": "^2.2.6" }, "devDependencies": { "@rc-component/drawer": "^1.0.0", "@rc-component/select": "^1.0.0", "@rc-component/father-plugin": "^2.0.2", "@rc-component/np": "^1.0.3", "@testing-library/jest-dom": "^6.1.6", "@testing-library/react": "^13.0.0", "@types/jest": "^29.4.0", "@types/keyv": "3.1.4", "@types/react": "^18.0.24", "@types/react-dom": "^18.0.8", "@umijs/fabric": "^3.0.0", "bootstrap": "^4.3.1", "cheerio": "1.0.0-rc.12", "cross-env": "^7.0.0", "dumi": "^2.1.3", "eslint": "^7.1.0", "eslint-config-airbnb": "^19.0.4", "eslint-plugin-react": "^7.20.6", "father": "^4.1.5", "gh-pages": "^6.1.1", "glob": "^11.0.0", "husky": "^8.0.3", "less": "^4.1.3", "lint-staged": "^15.2.0", "prettier": "^3.2.1", "rc-test": "^7.0.14", "react": "^18.0.0", "react-dom": "^18.0.0", "react-draggable": "^4.4.3", "typescript": "^5.4.3" }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" } }