package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "name": "rc-motion",
  3. "version": "2.9.5",
  4. "description": "React lifecycle controlled motion library",
  5. "keywords": [
  6. "react",
  7. "react-component",
  8. "react-motion",
  9. "motion",
  10. "antd",
  11. "ant-design"
  12. ],
  13. "homepage": "https://react-component.github.io/motion",
  14. "bugs": {
  15. "url": "http://github.com/react-component/motion/issues"
  16. },
  17. "repository": {
  18. "type": "git",
  19. "url": "git@github.com:react-component/motion.git"
  20. },
  21. "license": "MIT",
  22. "main": "./lib/index",
  23. "module": "./es/index",
  24. "typings": "es/index.d.ts",
  25. "files": [
  26. "es",
  27. "lib"
  28. ],
  29. "scripts": {
  30. "compile": "father build",
  31. "docs:build": "dumi build",
  32. "docs:deploy": "gh-pages -d .doc",
  33. "lint": "eslint src/ --ext .tsx,.ts",
  34. "now-build": "npm run docs:build",
  35. "prepare": "husky install",
  36. "prepublishOnly": "npm run compile && np --yolo --no-publish",
  37. "prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
  38. "postpublish": "npm run docs:build && npm run docs:deploy",
  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.11.1",
  50. "classnames": "^2.2.1",
  51. "rc-util": "^5.44.0"
  52. },
  53. "devDependencies": {
  54. "@rc-component/father-plugin": "^1.0.1",
  55. "@testing-library/jest-dom": "^5.16.4",
  56. "@testing-library/react": "^15.0.7",
  57. "@types/classnames": "^2.2.9",
  58. "@types/jest": "^26.0.8",
  59. "@types/react": "^18.0.0",
  60. "@types/react-dom": "^18.0.0",
  61. "@umijs/fabric": "^2.0.8",
  62. "cross-env": "^7.0.2",
  63. "dumi": "^2.0.18",
  64. "eslint": "^7.0.0",
  65. "father": "^4.1.2",
  66. "gh-pages": "^6.0.0",
  67. "husky": "^8.0.3",
  68. "lint-staged": "^14.0.1",
  69. "np": "^6.2.4",
  70. "prettier": "^2.1.1",
  71. "rc-test": "^7.0.14",
  72. "react": "^18.3.0",
  73. "react-dom": "^18.3.0",
  74. "typescript": "^4.0.3"
  75. },
  76. "peerDependencies": {
  77. "react": ">=16.9.0",
  78. "react-dom": ">=16.9.0"
  79. },
  80. "cnpm": {
  81. "mode": "npm"
  82. },
  83. "tnpm": {
  84. "mode": "npm"
  85. }
  86. }