package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "rc-checkbox",
  3. "version": "3.5.0",
  4. "description": "checkbox ui component for react",
  5. "keywords": [
  6. "react",
  7. "react-component",
  8. "react-checkbox",
  9. "checkbox"
  10. ],
  11. "homepage": "http://github.com/react-component/checkbox",
  12. "bugs": {
  13. "url": "http://github.com/react-component/checkbox/issues"
  14. },
  15. "repository": {
  16. "type": "git",
  17. "url": "git@github.com:react-component/checkbox.git"
  18. },
  19. "license": "MIT",
  20. "main": "lib/index.js",
  21. "module": "es/index.js",
  22. "typings": "es/index.d.ts",
  23. "files": [
  24. "assets/*.css",
  25. "es",
  26. "lib"
  27. ],
  28. "scripts": {
  29. "build": "dumi build",
  30. "compile": "father build && lessc assets/index.less assets/index.css",
  31. "coverage": "jest --coverage",
  32. "gh-pages": "npm run build && father doc deploy -d .docs",
  33. "lint": "eslint src/ --ext .tsx,.ts",
  34. "prepare": "husky install && dumi setup",
  35. "prepublishOnly": "npm run compile && np --yolo --no-publish",
  36. "start": "dumi dev",
  37. "test": "jest"
  38. },
  39. "lint-staged": {
  40. "*.{js,jsx,less,md,json}": [
  41. "prettier --write"
  42. ],
  43. "*.ts?(x)": [
  44. "prettier --parser=typescript --write"
  45. ]
  46. },
  47. "dependencies": {
  48. "@babel/runtime": "^7.10.1",
  49. "classnames": "^2.3.2",
  50. "rc-util": "^5.25.2"
  51. },
  52. "devDependencies": {
  53. "@rc-component/father-plugin": "^1.0.1",
  54. "@testing-library/react": "^14.1.2 ",
  55. "@testing-library/jest-dom": "^6.1.5",
  56. "@testing-library/user-event": "^14.4.3",
  57. "@types/classnames": "^2.3.1",
  58. "@types/jest": "^29.2.4",
  59. "@types/react": "^18.0.26",
  60. "@types/react-dom": "^18.0.9",
  61. "@umijs/fabric": "^4.0.1",
  62. "@umijs/test": "^4.0.34",
  63. "coveralls": "^3.0.6",
  64. "dumi": "^2.0.12",
  65. "eslint": "^8.55.0",
  66. "eslint-plugin-jest": "^27.6.0",
  67. "eslint-plugin-unicorn": "^50.0.1",
  68. "father": "^4.1.1",
  69. "husky": "9.0.5",
  70. "jest": "^29.3.1",
  71. "jest-environment-jsdom": "^29.3.1",
  72. "less": "^4.2.0",
  73. "lint-staged": "^15.1.0",
  74. "np": "^9.0.0",
  75. "react": "^18.2.0",
  76. "react-dom": "^18.2.0",
  77. "ts-node": "^10.9.1",
  78. "typescript": "^5.2.2"
  79. },
  80. "peerDependencies": {
  81. "react": ">=16.9.0",
  82. "react-dom": ">=16.9.0"
  83. }
  84. }