package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "name": "react-smooth",
  3. "version": "4.0.4",
  4. "description": "react animation library",
  5. "main": "lib/index",
  6. "module": "es6/index",
  7. "files": [
  8. "*.md",
  9. "es6",
  10. "lib",
  11. "umd",
  12. "src"
  13. ],
  14. "keywords": [
  15. "react",
  16. "reactjs",
  17. "animation",
  18. "react-component"
  19. ],
  20. "scripts": {
  21. "build": "npm run build-cjs && npm run build-es6 && rimraf umd && npm run build-umd && npm run build-min",
  22. "build-cjs": "rimraf lib && cross-env BABEL_ENV=commonjs babel ./src -d lib",
  23. "build-es6": "rimraf es6 && babel ./src -d es6",
  24. "build-umd": "cross-env NODE_ENV=development BABEL_ENV=commonjs webpack --entry ./src/index.js -o umd",
  25. "build-min": "cross-env NODE_ENV=production BABEL_ENV=commonjs webpack --entry ./src/index.js -o umd",
  26. "test": "cross-env BABEL_ENV=test jest",
  27. "demo": "webpack serve --config demo/webpack.config.js --port 4000 --host 127.0.0.1 --progress --profile --content-base demo/",
  28. "autofix": "eslint src --fix",
  29. "lint": "eslint src"
  30. },
  31. "pre-commit": [
  32. "lint"
  33. ],
  34. "repository": {
  35. "type": "git",
  36. "url": "https://github.com/recharts/react-smooth.git"
  37. },
  38. "author": "JasonHzq",
  39. "bugs": {
  40. "url": "https://github.com/recharts/react-smooth/issues"
  41. },
  42. "homepage": "https://github.com/recharts/react-smooth#readme",
  43. "peerDependencies": {
  44. "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
  45. "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
  46. },
  47. "dependencies": {
  48. "fast-equals": "^5.0.1",
  49. "prop-types": "^15.8.1",
  50. "react-transition-group": "^4.4.5"
  51. },
  52. "devDependencies": {
  53. "@babel/cli": "^7.23.0",
  54. "@babel/core": "^7.23.2",
  55. "@babel/eslint-parser": "^7.22.15",
  56. "@babel/plugin-proposal-class-properties": "^7.18.6",
  57. "@babel/plugin-proposal-decorators": "^7.23.2",
  58. "@babel/plugin-proposal-export-default-from": "^7.22.17",
  59. "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
  60. "@babel/plugin-proposal-function-bind": "^7.22.5",
  61. "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
  62. "@babel/plugin-transform-runtime": "^7.23.2",
  63. "@babel/preset-env": "^7.23.2",
  64. "@babel/preset-react": "^7.22.15",
  65. "@babel/runtime": "^7.23.2",
  66. "@testing-library/dom": "^9.3.3",
  67. "@testing-library/jest-dom": "^5.17.0",
  68. "@testing-library/react": "^14.0.0",
  69. "babel-loader": "^9.1.3",
  70. "core-js": "^3.33.0",
  71. "cross-env": "^7.0.3",
  72. "eslint": "^8.51.0",
  73. "eslint-config-airbnb": "^19.0.4",
  74. "eslint-config-prettier": "^7.2.0",
  75. "eslint-plugin-import": "^2.28.1",
  76. "eslint-plugin-jsx-a11y": "^6.7.1",
  77. "eslint-plugin-prettier": "^3.4.1",
  78. "eslint-plugin-react": "^7.33.2",
  79. "jest": "^29.7.0",
  80. "jest-environment-jsdom": "^29.7.0",
  81. "json-loader": "^0.5.7",
  82. "pre-commit": "^1.2.2",
  83. "prettier": "^2.8.8",
  84. "react": "^18.2.0",
  85. "react-dom": "^18.2.0",
  86. "webpack": "^5.89.0",
  87. "webpack-bundle-analyzer": "^4.9.1",
  88. "webpack-cli": "^5.1.4",
  89. "webpack-dev-server": "^4.15.1"
  90. },
  91. "sideEffects": false,
  92. "license": "MIT"
  93. }