74 lines
1.9 KiB
JSON
74 lines
1.9 KiB
JSON
{
|
|
"name": "@rc-component/tooltip",
|
|
"version": "1.4.0",
|
|
"description": "React Tooltip",
|
|
"keywords": [
|
|
"react",
|
|
"react-component",
|
|
"react-tooltip",
|
|
"tooltip"
|
|
],
|
|
"homepage": "http://github.com/react-component/tooltip",
|
|
"bugs": {
|
|
"url": "http://github.com/react-component/tooltip/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:react-component/tooltip.git"
|
|
},
|
|
"license": "MIT",
|
|
"maintainers": [
|
|
"yiminghe@gmail.com"
|
|
],
|
|
"main": "lib/index",
|
|
"module": "es/index",
|
|
"files": [
|
|
"lib",
|
|
"es",
|
|
"assets/*.css",
|
|
"assets/*.less"
|
|
],
|
|
"scripts": {
|
|
"compile": "father build && lessc assets/bootstrap.less assets/bootstrap.css && lessc assets/bootstrap_white.less assets/bootstrap_white.css",
|
|
"docs:build": "dumi build",
|
|
"docs:deploy": "npm run docs:build && gh-pages -d dist",
|
|
"lint": "eslint src/ --ext .tsx,.ts,.jsx,.js",
|
|
"now-build": "npm run docs:build",
|
|
"prepare": "dumi setup",
|
|
"prepublishOnly": "npm run compile && rc-np",
|
|
"postpublish": "npm run docs:build && npm run docs:deploy",
|
|
"start": "dumi dev",
|
|
"test": "rc-test"
|
|
},
|
|
"dependencies": {
|
|
"@rc-component/trigger": "^3.7.1",
|
|
"@rc-component/util": "^1.3.0",
|
|
"clsx": "^2.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@rc-component/father-plugin": "^2.0.1",
|
|
"@rc-component/np": "^1.0.3",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.0",
|
|
"@types/jest": "^29.4.0",
|
|
"@types/node": "^22.15.18",
|
|
"@types/react": "^19.1.4",
|
|
"@types/react-dom": "^19.1.5",
|
|
"@types/warning": "^3.0.0",
|
|
"dumi": "^2.2.13",
|
|
"eslint": "^8.56.0",
|
|
"father": "^4.0.0",
|
|
"gh-pages": "^3.1.0",
|
|
"less": "^4.1.1",
|
|
"prettier": "^3.6.2",
|
|
"rc-test": "^7.0.9",
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0",
|
|
"typescript": "^4.0.5"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=18.0.0",
|
|
"react-dom": ">=18.0.0"
|
|
}
|
|
}
|