package.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. {
  2. "name": "rc-input",
  3. "version": "1.8.0",
  4. "description": "React input component",
  5. "keywords": [
  6. "react",
  7. "react-component",
  8. "react-input",
  9. "input",
  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. ],
  21. "homepage": "https://github.com/react-component/input",
  22. "repository": {
  23. "type": "git",
  24. "url": "git@github.com:react-component/input.git"
  25. },
  26. "bugs": {
  27. "url": "http://github.com/react-component/input/issues"
  28. },
  29. "license": "MIT",
  30. "scripts": {
  31. "start": "dumi dev",
  32. "docs:build": "dumi build",
  33. "docs:deploy": "gh-pages -d .doc",
  34. "compile": "father build && lessc assets/index.less assets/index.css",
  35. "gh-pages": "GH_PAGES=1 npm run docs:build && npm run docs:deploy",
  36. "prepublishOnly": "npm run compile && np --yolo --no-publish --branch antd-5.x",
  37. "postpublish": "npm run gh-pages",
  38. "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
  39. "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
  40. "pretty-quick": "pretty-quick",
  41. "lint-staged": "lint-staged",
  42. "test": "rc-test",
  43. "coverage": "rc-test --coverage",
  44. "prepare": "husky install"
  45. },
  46. "dependencies": {
  47. "@babel/runtime": "^7.11.1",
  48. "classnames": "^2.2.1",
  49. "rc-util": "^5.18.1"
  50. },
  51. "devDependencies": {
  52. "@testing-library/jest-dom": "^6.6.3",
  53. "@testing-library/react": "^16.0.1",
  54. "@testing-library/user-event": "^14.0.0-beta",
  55. "@types/classnames": "^2.2.9",
  56. "@types/jest": "^29.5.14",
  57. "@types/react": "^19.0.0",
  58. "@types/react-dom": "^19.0.1",
  59. "@umijs/fabric": "^4.0.0",
  60. "coveralls": "^3.0.6",
  61. "cross-env": "^7.0.2",
  62. "dumi": "^2.1.14",
  63. "eslint": "^8.0.0",
  64. "father": "^4.3.7",
  65. "gh-pages": "^6.2.0",
  66. "husky": "^9.1.7",
  67. "less": "^4.2.1",
  68. "lint-staged": "^15.2.11",
  69. "np": "^10.1.0",
  70. "prettier": "^3.4.2",
  71. "pretty-quick": "^4.0.0",
  72. "rc-test": "^7.0.15",
  73. "react": "^18.0.0",
  74. "react-dom": "^18.0.0",
  75. "typescript": "^5.7.2"
  76. },
  77. "peerDependencies": {
  78. "react": ">=16.0.0",
  79. "react-dom": ">=16.0.0"
  80. },
  81. "husky": {
  82. "hooks": {
  83. "pre-commit": "pretty-quick --staged"
  84. }
  85. },
  86. "lint-staged": {
  87. "**/*.{js,jsx,tsx,ts,md,json}": [
  88. "prettier --write"
  89. ]
  90. },
  91. "cnpm": {
  92. "mode": "npm"
  93. },
  94. "tnpm": {
  95. "mode": "npm"
  96. }
  97. }