package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "rc-field-form",
  3. "version": "2.7.0",
  4. "description": "React Form Component",
  5. "typings": "es/index.d.ts",
  6. "engines": {
  7. "node": ">=8.x"
  8. },
  9. "keywords": [
  10. "react",
  11. "react-component",
  12. "react-form",
  13. "form"
  14. ],
  15. "homepage": "https://github.com/react-component/field-form",
  16. "author": "smith3816@gmail.com",
  17. "repository": {
  18. "type": "git",
  19. "url": "https://github.com/react-component/field-form.git"
  20. },
  21. "bugs": {
  22. "url": "https://github.com/react-component/field-form/issues"
  23. },
  24. "files": [
  25. "lib",
  26. "es",
  27. "dist",
  28. "assets/*.css"
  29. ],
  30. "license": "MIT",
  31. "main": "./lib/index",
  32. "module": "./es/index",
  33. "scripts": {
  34. "start": "dumi dev",
  35. "docs:build": "dumi build",
  36. "docs:deploy": "gh-pages -d docs-dist",
  37. "compile": "father build",
  38. "deploy": "npm run docs:build && npm run docs:deploy",
  39. "prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
  40. "test": "rc-test",
  41. "test:coverage": "umi-test --coverage",
  42. "prepublishOnly": "npm run compile ",
  43. "lint": "eslint src/ --ext .tsx,.ts",
  44. "lint:tsc": "tsc -p tsconfig.json --noEmit",
  45. "now-build": "npm run docs:build"
  46. },
  47. "peerDependencies": {
  48. "react": ">=16.9.0",
  49. "react-dom": ">=16.9.0"
  50. },
  51. "dependencies": {
  52. "@babel/runtime": "^7.18.0",
  53. "@rc-component/async-validator": "^5.0.3",
  54. "rc-util": "^5.32.2"
  55. },
  56. "devDependencies": {
  57. "@rc-component/father-plugin": "^1.0.0",
  58. "@testing-library/jest-dom": "^6.1.4",
  59. "@testing-library/react": "^16.0.0",
  60. "@types/jest": "^29.2.5",
  61. "@types/lodash": "^4.14.135",
  62. "@types/node": "^22.0.2",
  63. "@types/react": "^18.0.0",
  64. "@types/react-dom": "^18.0.0",
  65. "@umijs/fabric": "^4.0.1",
  66. "dumi": "^2.0.0",
  67. "eslint": "^8.54.0",
  68. "eslint-plugin-jest": "^27.6.0",
  69. "eslint-plugin-unicorn": "^56.0.1",
  70. "father": "^4.0.0",
  71. "gh-pages": "^6.1.0",
  72. "jest": "^29.0.0",
  73. "np": "^10.0.2",
  74. "prettier": "^3.1.0",
  75. "rc-test": "^7.0.15",
  76. "react": "^18.0.0",
  77. "react-dnd": "^8.0.3",
  78. "react-dnd-html5-backend": "^8.0.3",
  79. "react-dom": "^18.0.0",
  80. "react-redux": "^9.0.4",
  81. "redux": "^5.0.0",
  82. "typescript": "^5.1.6"
  83. }
  84. }