package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "@rc-component/mutate-observer",
  3. "version": "1.1.0",
  4. "description": "React MutateObserver Component",
  5. "keywords": [
  6. "react",
  7. "react-component",
  8. "mutate-observer"
  9. ],
  10. "homepage": "https://github.com/react-component/mutate-observer",
  11. "bugs": {
  12. "url": "https://github.com/react-component/mutate-observer/issues"
  13. },
  14. "repository": {
  15. "type": "git",
  16. "url": "https://github.com/react-component/mutate-observer.git"
  17. },
  18. "license": "MIT",
  19. "author": "574980606@qq.com",
  20. "main": "./lib/index",
  21. "module": "./es/index",
  22. "typings": "es/index.d.ts",
  23. "files": [
  24. "lib",
  25. "es",
  26. "dist"
  27. ],
  28. "scripts": {
  29. "compile": "father build",
  30. "deploy": "npm run docs:build && npm run docs:deploy",
  31. "docs:build": "dumi build",
  32. "docs:deploy": "gh-pages -d docs-dist",
  33. "lint": "eslint src/ --ext .tsx,.ts",
  34. "lint:tsc": "tsc -p tsconfig.json --noEmit",
  35. "now-build": "npm run docs:build",
  36. "prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish",
  37. "prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
  38. "start": "dumi dev",
  39. "test": "umi-test",
  40. "test:coverage": "npm run test --coverage",
  41. "watch": "father dev"
  42. },
  43. "dependencies": {
  44. "@babel/runtime": "^7.18.0",
  45. "classnames": "^2.3.2",
  46. "rc-util": "^5.24.4"
  47. },
  48. "devDependencies": {
  49. "@rc-component/father-plugin": "^1.0.0",
  50. "@testing-library/jest-dom": "^5.16.4",
  51. "@testing-library/react": "^13.0.0",
  52. "@types/jest": "^26.0.20",
  53. "@types/react": "^18.0.0",
  54. "@types/react-dom": "^18.0.0",
  55. "@umijs/fabric": "^2.5.2",
  56. "dumi": "^1.1.0",
  57. "eslint": "^7.18.0",
  58. "father": "^4.0.0-rc.8",
  59. "gh-pages": "^3.1.0",
  60. "np": "^5.0.3",
  61. "prettier": "^2.1.2",
  62. "react": "^18.0.0",
  63. "react-dom": "^18.0.0",
  64. "typescript": "^4.6.3",
  65. "umi-test": "^1.9.7"
  66. },
  67. "peerDependencies": {
  68. "react": ">=16.9.0",
  69. "react-dom": ">=16.9.0"
  70. },
  71. "engines": {
  72. "node": ">=8.x"
  73. }
  74. }