package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "name": "@rc-component/async-validator",
  3. "version": "5.0.4",
  4. "description": "Validate form asynchronous",
  5. "keywords": [
  6. "async-validator",
  7. "form"
  8. ],
  9. "homepage": "http://github.com/react-component/async-validator",
  10. "bugs": {
  11. "url": "http://github.com/react-component/async-validator/issues"
  12. },
  13. "repository": {
  14. "type": "git",
  15. "url": "git@github.com:react-component/async-validator.git"
  16. },
  17. "license": "MIT",
  18. "main": "./lib/index",
  19. "module": "./es/index",
  20. "types": "./lib/index.d.ts",
  21. "files": [
  22. "es",
  23. "lib"
  24. ],
  25. "scripts": {
  26. "compile": "father build",
  27. "docs:build": "dumi build",
  28. "docs:deploy": "gh-pages -d .docs-dist",
  29. "gh-pages": "npm run docs:build && npm run docs:deploy",
  30. "lint": "eslint src --ext .tsx,.ts,.jsx,.js",
  31. "now-build": "npm run docs:build",
  32. "prepublishOnly": "npm run compile && np --yolo --no-publish",
  33. "prettier": "prettier . --write",
  34. "postpublish": "npm run gh-pages",
  35. "start": "dumi dev",
  36. "test": "rc-test",
  37. "coverage": "rc-test --coverage",
  38. "tsc": "tsc --noEmit"
  39. },
  40. "pre-commit": [
  41. "lint-staged"
  42. ],
  43. "lint-staged": {
  44. "*.{tsx,js,jsx,ts,json}": [
  45. "prettier --write"
  46. ]
  47. },
  48. "dependencies": {
  49. "@babel/runtime": "^7.24.4"
  50. },
  51. "devDependencies": {
  52. "@rc-component/father-plugin": "^1.0.2",
  53. "@types/jest": "^29.5.12",
  54. "@types/react": "18.x",
  55. "@types/react-dom": "18.x",
  56. "@umijs/fabric": "^4.0.1",
  57. "dumi": "^2.2.17",
  58. "eslint": "^8.0.0",
  59. "father": "^4.4.0",
  60. "gh-pages": "^6.1.1",
  61. "lint-staged": "^15.2.2",
  62. "np": "^10.0.3",
  63. "prettier": "^3.2.5",
  64. "rc-test": "^7.0.15",
  65. "react": "^18.2.0",
  66. "react-dom": "^18.2.0",
  67. "typescript": "5.x"
  68. },
  69. "engines": {
  70. "node": ">=14.x"
  71. },
  72. "publishConfig": {
  73. "access": "public"
  74. }
  75. }