UNPKG

@rc-component/mentions

Version:
84 lines (83 loc) 2.14 kB
{ "name": "@rc-component/mentions", "version": "1.6.0", "description": "React Mentions", "keywords": [ "react", "react-component", "react-mentions", "mentions" ], "homepage": "http://github.com/react-component/mentions", "bugs": { "url": "http://github.com/react-component/mentions/issues" }, "repository": { "type": "git", "url": "git@github.com:react-component/mentions.git" }, "license": "MIT", "main": "./lib/index", "module": "./es/index", "files": [ "assets/*.css", "es", "dist", "lib" ], "scripts": { "compile": "father build", "coverage": "rc-test --coverage", "docs:build": "dumi build", "docs:deploy": "gh-pages -d .doc", "gh-pages": "npm run docs:build && npm run docs:deploy", "lint": "eslint src/ --ext .tsx,.ts", "prepare": "husky install", "prepublishOnly": "npm run compile && rc-np", "postpublish": "npm run gh-pages", "start": "dumi dev", "test": "rc-test" }, "lint-staged": { "**/*.{js,jsx,tsx,ts,md,json}": [ "prettier --write", "git add" ] }, "dependencies": { "@rc-component/input": "~1.1.0", "@rc-component/menu": "~1.2.0", "@rc-component/textarea": "~1.1.0", "@rc-component/trigger": "^3.0.0", "@rc-component/util": "^1.3.0", "clsx": "^2.1.1" }, "devDependencies": { "@rc-component/father-plugin": "^2.0.2", "@rc-component/np": "^1.0.3", "@testing-library/jest-dom": "^6.4.6", "@testing-library/react": "^16.0.0", "@types/node": "^24.5.2", "@types/react": "^18.0.8", "@types/react-dom": "^18.0.3", "@types/warning": "^3.0.0", "@umijs/fabric": "^3.0.0", "dumi": "^2.0.18", "eslint": "^8.0.0", "eslint-plugin-jest": "^28.11.0", "eslint-plugin-unicorn": "^56.0.1", "father": "^4.0.0", "gh-pages": "^5.0.0", "husky": "^9.1.6", "lint-staged": "^15.2.7", "prettier": "^3.3.2", "rc-test": "^7.0.14", "react": "^18.0.0", "react-dom": "^18.0.0", "typescript": "~5.8.3" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" } }