package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "react-amap-next",
  3. "version": "1.1.1",
  4. "description": "这是高德地图的react版本,相比react-amap更加简单,更加贴合react用户",
  5. "keywords": [
  6. "react",
  7. "react-amap",
  8. "react-amap-next",
  9. "amap",
  10. "高德地图"
  11. ],
  12. "homepage": "https://github.com/windsome/react-amap-next",
  13. "author": "windsome.feng <36081189@qq.com> (https://github.com/windsome/)",
  14. "scripts": {
  15. "build:umd": "cross-env BABEL_ENV=umd babel src/lib --out-dir lib",
  16. "start": "react-scripts start",
  17. "build": "react-scripts build",
  18. "test": "react-scripts test --env=jsdom",
  19. "eject": "react-scripts eject"
  20. },
  21. "dependencies": {
  22. "classnames": "^2.2.6",
  23. "lodash": "^4.17.10",
  24. "react": "^16.4.1",
  25. "react-dom": "^16.4.1",
  26. "react-scripts": "1.1.4"
  27. },
  28. "devDependencies": {
  29. "babel-cli": "6.14.0",
  30. "babel-plugin-external-helpers": "^6.22.0",
  31. "babel-plugin-transform-class-properties": "^6.24.1",
  32. "babel-plugin-transform-object-rest-spread": "^6.26.0",
  33. "babel-preset-env": "^1.6.1",
  34. "babel-preset-react": "^6.24.1",
  35. "cross-env": "^5.1.4",
  36. "prop-types": "^15.6.0"
  37. },
  38. "babel": {
  39. "env": {
  40. "umd": {
  41. "presets": [
  42. [
  43. "env",
  44. {
  45. "modules": false
  46. }
  47. ],
  48. "react"
  49. ],
  50. "plugins": [
  51. "transform-object-rest-spread",
  52. "transform-class-properties",
  53. "external-helpers"
  54. ]
  55. }
  56. }
  57. }
  58. }