package.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. {
  2. "name": "rc-picker",
  3. "version": "4.11.3",
  4. "description": "React date & time picker",
  5. "keywords": [
  6. "react",
  7. "react-component",
  8. "react-picker"
  9. ],
  10. "main": "./lib/index",
  11. "module": "./es/index",
  12. "files": [
  13. "assets/*.css",
  14. "assets/*.less",
  15. "es",
  16. "lib"
  17. ],
  18. "homepage": "https://react-component.github.io/picker",
  19. "repository": {
  20. "type": "git",
  21. "url": "git@github.com:react-component/picker.git"
  22. },
  23. "bugs": {
  24. "url": "http://github.com/react-component/picker/issues"
  25. },
  26. "license": "MIT",
  27. "scripts": {
  28. "start": "dumi dev",
  29. "build": "dumi build",
  30. "compile": "father build && lessc assets/index.less assets/index.css",
  31. "gh-pages": "npm run build && father doc deploy",
  32. "prepublishOnly": "npm run compile && np --yolo --no-publish --any-branch",
  33. "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
  34. "lint:tsc": "tsc -p tsconfig.json --noEmit",
  35. "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
  36. "test": "rc-test",
  37. "coverage": "father test --coverage",
  38. "now-build": "npm run build",
  39. "prepare": "npx husky"
  40. },
  41. "dependencies": {
  42. "@babel/runtime": "^7.24.7",
  43. "@rc-component/trigger": "^2.0.0",
  44. "classnames": "^2.2.1",
  45. "rc-overflow": "^1.3.2",
  46. "rc-resize-observer": "^1.4.0",
  47. "rc-util": "^5.43.0"
  48. },
  49. "engines": {
  50. "node": ">=8.x"
  51. },
  52. "devDependencies": {
  53. "@rc-component/father-plugin": "^1.0.0",
  54. "@testing-library/react": "^16.0.0",
  55. "@types/classnames": "^2.2.9",
  56. "@types/jest": "^29.4.0",
  57. "@types/luxon": "^3.2.0",
  58. "@types/react": "^18.0.28",
  59. "@types/react-dom": "^18.0.8",
  60. "coveralls": "^3.0.6",
  61. "cross-env": "^7.0.2",
  62. "date-fns": "2.x",
  63. "dayjs": "1.x",
  64. "dumi": "^2.1.15",
  65. "eslint": "^8.56.0",
  66. "eslint-plugin-eslint-comments": "^3.2.0",
  67. "eslint-plugin-jest": "^28.8.1",
  68. "eslint-plugin-react-hooks": "^4.6.0",
  69. "eslint-plugin-unicorn": "^55.0.0",
  70. "father": "^4.0.0",
  71. "glob": "^10.4.1",
  72. "husky": "^9.0.11",
  73. "less": "^4.2.0",
  74. "lint-staged": "^15.2.7",
  75. "luxon": "3.x",
  76. "mockdate": "^3.0.2",
  77. "moment": "^2.24.0",
  78. "moment-timezone": "^0.5.45",
  79. "np": "^10.0.2",
  80. "prettier": "^3.1.0",
  81. "rc-test": "^7.0.9",
  82. "react": "^18.2.0",
  83. "react-dom": "^18.2.0",
  84. "typescript": "^5.3.0"
  85. },
  86. "peerDependencies": {
  87. "date-fns": ">= 2.x",
  88. "dayjs": ">= 1.x",
  89. "luxon": ">= 3.x",
  90. "moment": ">= 2.x",
  91. "react": ">=16.9.0",
  92. "react-dom": ">=16.9.0"
  93. },
  94. "peerDependenciesMeta": {
  95. "date-fns": {
  96. "optional": true
  97. },
  98. "dayjs": {
  99. "optional": true
  100. },
  101. "luxon": {
  102. "optional": true
  103. },
  104. "moment": {
  105. "optional": true
  106. }
  107. }
  108. }