package.json 1.6 KB

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