package.json 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "name": "rc-dialog",
  3. "version": "9.6.0",
  4. "description": "dialog ui component for react",
  5. "keywords": [
  6. "react",
  7. "react-component",
  8. "react-dialog",
  9. "dialog",
  10. "ui"
  11. ],
  12. "homepage": "http://github.com/react-component/dialog",
  13. "bugs": {
  14. "url": "http://github.com/react-component/dialog/issues"
  15. },
  16. "repository": {
  17. "type": "git",
  18. "url": "git@github.com:react-component/dialog.git"
  19. },
  20. "license": "MIT",
  21. "author": "yiminghe@gmail.com",
  22. "main": "./lib/index",
  23. "module": "./es/index",
  24. "files": [
  25. "lib",
  26. "es",
  27. "assets/*.css",
  28. "dist"
  29. ],
  30. "scripts": {
  31. "compile": "father build && lessc assets/index.less assets/index.css && lessc assets/bootstrap.less assets/bootstrap.css",
  32. "coverage": "rc-test --coverage",
  33. "deploy": "npm run docs:build && npm run docs:deploy",
  34. "docs:build": "dumi build",
  35. "docs:deploy": "gh-pages -d dist",
  36. "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
  37. "lint:tsc": "tsc -p tsconfig.json --noEmit",
  38. "now-build": "npm run docs:build",
  39. "prepare": "husky install",
  40. "prepublishOnly": "npm run compile && np --yolo --no-publish",
  41. "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
  42. "start": "dumi dev",
  43. "test": "rc-test"
  44. },
  45. "lint-staged": {
  46. "**/*.{js,jsx,tsx,ts,md,json}": [
  47. "prettier --write",
  48. "git add"
  49. ]
  50. },
  51. "dependencies": {
  52. "@babel/runtime": "^7.10.1",
  53. "@rc-component/portal": "^1.0.0-8",
  54. "classnames": "^2.2.6",
  55. "rc-motion": "^2.3.0",
  56. "rc-util": "^5.21.0"
  57. },
  58. "devDependencies": {
  59. "@rc-component/father-plugin": "^1.0.1",
  60. "@testing-library/jest-dom": "^6.1.6",
  61. "@testing-library/react": "^12.0.0",
  62. "@types/enzyme": "^3.10.7",
  63. "@types/jest": "^29.4.0",
  64. "@types/keyv": "3.1.4",
  65. "@types/react": "^18.0.24",
  66. "@types/react-dom": "^18.0.8",
  67. "@umijs/fabric": "^3.0.0",
  68. "bootstrap": "^4.3.1",
  69. "cheerio": "1.0.0-rc.12",
  70. "cross-env": "^7.0.0",
  71. "dumi": "^2.1.3",
  72. "enzyme": "^3.1.1",
  73. "enzyme-adapter-react-16": "^1.0.1",
  74. "enzyme-to-json": "^3.1.2",
  75. "eslint": "^7.1.0",
  76. "eslint-config-airbnb": "^19.0.4",
  77. "eslint-plugin-react": "^7.20.6",
  78. "father": "^4.1.5",
  79. "gh-pages": "^6.1.1",
  80. "glob": "^11.0.0",
  81. "husky": "^8.0.3",
  82. "less": "^4.1.3",
  83. "lint-staged": "^15.2.0",
  84. "np": "^10.0.5",
  85. "prettier": "^3.2.1",
  86. "rc-drawer": "^7.0.0",
  87. "rc-select": "^14.11.0",
  88. "rc-test": "^7.0.14",
  89. "react": "^16.9.0",
  90. "react-dom": "^16.9.0",
  91. "react-draggable": "^4.4.3",
  92. "typescript": "^5.4.3"
  93. },
  94. "peerDependencies": {
  95. "react": ">=16.9.0",
  96. "react-dom": ">=16.9.0"
  97. }
  98. }