package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "rc-select",
  3. "version": "14.16.8",
  4. "description": "React Select",
  5. "engines": {
  6. "node": ">=8.x"
  7. },
  8. "keywords": [
  9. "react",
  10. "react-component",
  11. "react-select",
  12. "select"
  13. ],
  14. "main": "./lib/index",
  15. "module": "./es/index",
  16. "types": "./lib/index.d.ts",
  17. "files": [
  18. "assets/*.css",
  19. "assets/*.less",
  20. "es",
  21. "lib"
  22. ],
  23. "homepage": "http://github.com/react-component/select",
  24. "repository": {
  25. "type": "git",
  26. "url": "git@github.com:react-component/select.git"
  27. },
  28. "bugs": {
  29. "url": "http://github.com/react-component/select/issues"
  30. },
  31. "license": "MIT",
  32. "scripts": {
  33. "start": "dumi dev",
  34. "build": "dumi build",
  35. "prepare": "husky && dumi setup",
  36. "compile": "father build && lessc assets/index.less assets/index.css",
  37. "prepublishOnly": "npm run compile && np --yolo --no-publish --branch antd-5.x",
  38. "prettier": "prettier --write --ignore-unknown .",
  39. "lint": "eslint src/ docs/ tests/ --ext .tsx,.ts,.jsx,.js",
  40. "test": "rc-test",
  41. "tsc": "tsc --noEmit",
  42. "now-build": "npm run build"
  43. },
  44. "lint-staged": {
  45. "*": "prettier --write --ignore-unknown"
  46. },
  47. "peerDependencies": {
  48. "react": "*",
  49. "react-dom": "*"
  50. },
  51. "dependencies": {
  52. "@babel/runtime": "^7.10.1",
  53. "@rc-component/trigger": "^2.1.1",
  54. "classnames": "2.x",
  55. "rc-motion": "^2.0.1",
  56. "rc-overflow": "^1.3.1",
  57. "rc-util": "^5.16.1",
  58. "rc-virtual-list": "^3.5.2"
  59. },
  60. "devDependencies": {
  61. "@rc-component/father-plugin": "^1.0.2",
  62. "@testing-library/jest-dom": "^6.4.5",
  63. "@testing-library/react": "^15.0.6",
  64. "@types/jest": "^29.5.12",
  65. "@types/react": "^18.2.45",
  66. "@types/react-dom": "^18.2.18",
  67. "babel-jest": "^29.6.1",
  68. "cross-env": "^7.0.0",
  69. "dumi": "^2.2.13",
  70. "eslint": "^8.55.0",
  71. "eslint-plugin-jest": "^28.8.1",
  72. "eslint-plugin-unicorn": "^56.0.0",
  73. "father": "^4.0.0",
  74. "husky": "^9.1.5",
  75. "jsonp": "^0.2.1",
  76. "less": "^4.2.0",
  77. "lint-staged": "^15.2.9",
  78. "np": "^10.0.7",
  79. "prettier": "^3.1.1",
  80. "querystring": "^0.2.1",
  81. "rc-dialog": "^9.0.0",
  82. "rc-test": "^7.0.9",
  83. "react": "^18.2.0",
  84. "react-dom": "^18.2.0",
  85. "typescript": "^5.2.2"
  86. }
  87. }