package.json 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name": "rc-input-number",
  3. "version": "9.5.0",
  4. "description": "React input-number component",
  5. "keywords": [
  6. "react",
  7. "react-component",
  8. "react-input-number",
  9. "input-number"
  10. ],
  11. "homepage": "https://github.com/react-component/input-number",
  12. "bugs": {
  13. "url": "https://github.com/react-component/input-number/issues"
  14. },
  15. "repository": {
  16. "type": "git",
  17. "url": "git@github.com:react-component/input-number.git"
  18. },
  19. "license": "MIT",
  20. "author": "tsjxyz@gmail.com",
  21. "main": "./lib/index",
  22. "module": "./es/index",
  23. "types": "./es/index.d.ts",
  24. "files": [
  25. "lib",
  26. "es",
  27. "assets/*.css"
  28. ],
  29. "scripts": {
  30. "compile": "father build && lessc assets/index.less assets/index.css",
  31. "coverage": "rc-test --coverage",
  32. "docs:build": "dumi build",
  33. "docs:deploy": "gh-pages -d docs-dist",
  34. "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
  35. "now-build": "npm run docs:build",
  36. "prepare": "husky install",
  37. "prepublishOnly": "npm run compile && np --yolo --no-publish --branch=antd-5.x",
  38. "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
  39. "start": "dumi dev",
  40. "test": "rc-test"
  41. },
  42. "lint-staged": {
  43. "**/*.{js,jsx,tsx,ts,md,json}": [
  44. "prettier --write",
  45. "git add"
  46. ]
  47. },
  48. "dependencies": {
  49. "@babel/runtime": "^7.10.1",
  50. "@rc-component/mini-decimal": "^1.0.1",
  51. "classnames": "^2.2.5",
  52. "rc-input": "~1.8.0",
  53. "rc-util": "^5.40.1"
  54. },
  55. "devDependencies": {
  56. "@rc-component/father-plugin": "^1.0.1",
  57. "@swc-node/jest": "^1.5.5",
  58. "@testing-library/jest-dom": "^6.1.5",
  59. "@testing-library/react": "^16.0.0",
  60. "@types/classnames": "^2.2.9",
  61. "@types/jest": "^29.2.4",
  62. "@types/react": "^18.0.26",
  63. "@types/react-dom": "^18.0.9",
  64. "@types/responselike": "^1.0.0",
  65. "@umijs/fabric": "^4.0.1",
  66. "@umijs/test": "^4.0.36",
  67. "cross-env": "^7.0.3",
  68. "dumi": "^2.0.13",
  69. "eslint": "^8.54.0",
  70. "eslint-plugin-jest": "^27.2.1",
  71. "eslint-plugin-unicorn": "^56.0.0",
  72. "expect.js": "~0.3.1",
  73. "father": "^4.1.1",
  74. "glob": "^11.0.0",
  75. "husky": "^8.0.3",
  76. "jest-environment-jsdom": "^29.3.1",
  77. "less": "^4.1.3",
  78. "lint-staged": "^15.1.0",
  79. "np": "^10.0.5",
  80. "rc-test": "^7.0.14",
  81. "rc-tooltip": "^6.0.1",
  82. "react": "^18.2.0",
  83. "react-dom": "^18.2.0",
  84. "regenerator-runtime": "^0.14.1",
  85. "ts-node": "^10.9.1",
  86. "typescript": "^5.1.6"
  87. },
  88. "peerDependencies": {
  89. "react": ">=16.9.0",
  90. "react-dom": ">=16.9.0"
  91. }
  92. }