package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "rc-rate",
  3. "version": "2.13.1",
  4. "description": "React Star Rate Component",
  5. "engines": {
  6. "node": ">=8.x"
  7. },
  8. "keywords": [
  9. "react",
  10. "react-component",
  11. "react-rate",
  12. "rate"
  13. ],
  14. "homepage": "https://github.com/react-component/rate",
  15. "repository": {
  16. "type": "git",
  17. "url": "https://github.com/react-component/rate.git"
  18. },
  19. "bugs": {
  20. "url": "https://github.com/react-component/rate/issues"
  21. },
  22. "files": [
  23. "lib",
  24. "es",
  25. "assets/*.css"
  26. ],
  27. "license": "MIT",
  28. "main": "./lib/index",
  29. "module": "./es/index",
  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. "prepare": "dumi setup",
  36. "prepublishOnly": "npm run compile && np --yolo --no-publish",
  37. "postpublish": "npm run docs:build && npm run docs:deploy",
  38. "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
  39. "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
  40. "test": "rc-test",
  41. "coverage": "rc-test --coverage",
  42. "now-build": "npm run docs:build"
  43. },
  44. "dependencies": {
  45. "@babel/runtime": "^7.10.1",
  46. "classnames": "^2.2.5",
  47. "rc-util": "^5.0.1"
  48. },
  49. "devDependencies": {
  50. "@rc-component/father-plugin": "^1.0.0",
  51. "@types/classnames": "^2.2.9",
  52. "@types/jest": "^29.5.1",
  53. "@types/react": "^17.0.15",
  54. "@types/react-dom": "^17.0.9",
  55. "@umijs/fabric": "^3.0.0",
  56. "cheerio": "1.0.0-rc.12",
  57. "cross-env": "^7.0.0",
  58. "dumi": "^2.1.2",
  59. "enzyme": "^3.1.1",
  60. "enzyme-adapter-react-16": "^1.15.6",
  61. "enzyme-to-json": "^3.1.2",
  62. "eslint": "^7.1.0",
  63. "father": "^4.0.0",
  64. "gh-pages": "^3.1.0",
  65. "less": "^3.0.0",
  66. "np": "^7.0.0",
  67. "rc-test": "^7.0.15",
  68. "rc-tooltip": "^5.0.1",
  69. "react": "^16.0.0",
  70. "react-dom": "^16.0.0",
  71. "typescript": "^5.0.4"
  72. },
  73. "peerDependencies": {
  74. "react": ">=16.9.0",
  75. "react-dom": ">=16.9.0"
  76. }
  77. }