package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "rc-textarea",
  3. "version": "1.10.2",
  4. "description": "Pretty Textarea react component used in used in ant.design",
  5. "keywords": [
  6. "react",
  7. "react-component",
  8. "react-textarea",
  9. "textarea",
  10. "antd",
  11. "ant-design"
  12. ],
  13. "main": "./lib/index",
  14. "module": "./es/index",
  15. "files": [
  16. "assets/*.css",
  17. "assets/*.less",
  18. "es",
  19. "lib",
  20. "dist"
  21. ],
  22. "homepage": "https://react-component.github.io/textarea",
  23. "repository": {
  24. "type": "git",
  25. "url": "git@github.com:react-component/textarea.git"
  26. },
  27. "bugs": {
  28. "url": "http://github.com/react-component/textarea/issues"
  29. },
  30. "license": "MIT",
  31. "scripts": {
  32. "start": "dumi dev",
  33. "docs:build": "dumi build",
  34. "docs:deploy": "gh-pages -d .doc",
  35. "compile": "father build && lessc assets/index.less assets/index.css",
  36. "gh-pages": "npm run docs:build && npm run docs:deploy",
  37. "prepublishOnly": "npm run compile && np --yolo --no-publish --branch=antd-5.x",
  38. "postpublish": "npm run gh-pages",
  39. "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
  40. "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
  41. "pretty-quick": "pretty-quick",
  42. "test": "umi-test",
  43. "coverage": "umi-test --coverage"
  44. },
  45. "dependencies": {
  46. "@babel/runtime": "^7.10.1",
  47. "classnames": "^2.2.1",
  48. "rc-input": "~1.8.0",
  49. "rc-resize-observer": "^1.0.0",
  50. "rc-util": "^5.27.0"
  51. },
  52. "devDependencies": {
  53. "@rc-component/father-plugin": "^1.0.0",
  54. "@testing-library/jest-dom": "^5.16.5",
  55. "@testing-library/react": "^15.0.0",
  56. "@types/classnames": "^2.2.9",
  57. "@types/react": "^18.0.0",
  58. "@types/react-dom": "^18.0.0",
  59. "@umijs/fabric": "^2.0.8",
  60. "coveralls": "^3.0.6",
  61. "cross-env": "^7.0.2",
  62. "dumi": "^2.0.0",
  63. "eslint": "^7.0.0",
  64. "father": "^4.0.0",
  65. "gh-pages": "^3.1.0",
  66. "husky": "^4.2.5",
  67. "less": "^3.10.3",
  68. "np": "^10.2.0",
  69. "prettier": "^2.0.5",
  70. "pretty-quick": "^2.0.1",
  71. "react": "^18.0.0",
  72. "react-dom": "^18.0.0",
  73. "cheerio": "1.0.0-rc.12",
  74. "umi-test": "^1.9.7"
  75. },
  76. "peerDependencies": {
  77. "react": ">=16.9.0",
  78. "react-dom": ">=16.9.0"
  79. },
  80. "husky": {
  81. "hooks": {
  82. "pre-commit": "pretty-quick --staged"
  83. }
  84. }
  85. }