动态菜单和动态路由的 antd pro

package.json 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {
  2. "name": "ant-design-pro",
  3. "version": "1.3.0",
  4. "description": "An out-of-box UI solution for enterprise applications",
  5. "private": true,
  6. "scripts": {
  7. "precommit": "npm run lint-staged",
  8. "start": "cross-env ESLINT=none roadhog dev",
  9. "start:no-proxy": "cross-env NO_PROXY=true ESLINT=none roadhog dev",
  10. "build": "cross-env ESLINT=none roadhog build",
  11. "site": "roadhog-api-doc static && gh-pages -d dist",
  12. "analyze": "cross-env ANALYZE=true roadhog build",
  13. "lint:style": "stylelint \"src/**/*.less\" --syntax less",
  14. "lint": "eslint --ext .js src mock tests && npm run lint:style",
  15. "lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style",
  16. "lint-staged": "lint-staged",
  17. "lint-staged:js": "eslint --ext .js",
  18. "test": "roadhog test",
  19. "test:component": "roadhog test ./src/components",
  20. "test:all": "node ./tests/run-tests.js",
  21. "prettier": "prettier --write ./src/**/**/**/*"
  22. },
  23. "dependencies": {
  24. "@antv/data-set": "^0.8.0",
  25. "@babel/polyfill": "^7.0.0-beta.36",
  26. "antd": "^3.4.3",
  27. "babel-plugin-transform-decorators-legacy": "^1.3.4",
  28. "babel-runtime": "^6.9.2",
  29. "bizcharts": "^3.1.5",
  30. "bizcharts-plugin-slider": "^2.0.1",
  31. "classnames": "^2.2.5",
  32. "dva": "^2.2.3",
  33. "dva-loading": "^1.0.4",
  34. "enquire-js": "^0.2.1",
  35. "lodash": "^4.17.4",
  36. "lodash-decorators": "^4.4.1",
  37. "moment": "^2.19.1",
  38. "numeral": "^2.0.6",
  39. "omit.js": "^1.0.0",
  40. "path-to-regexp": "^2.1.0",
  41. "prop-types": "^15.5.10",
  42. "qs": "^6.5.0",
  43. "rc-drawer-menu": "^0.5.0",
  44. "react": "^16.2.0",
  45. "react-container-query": "^0.9.1",
  46. "react-document-title": "^2.0.3",
  47. "react-dom": "^16.2.0",
  48. "react-fittext": "^1.0.0",
  49. "react-iframe": "^1.1.0",
  50. "rollbar": "^2.3.4",
  51. "url-polyfill": "^1.0.10"
  52. },
  53. "devDependencies": {
  54. "babel-eslint": "^8.1.2",
  55. "babel-plugin-dva-hmr": "^0.4.1",
  56. "babel-plugin-import": "^1.6.7",
  57. "babel-plugin-module-resolver": "^3.1.1",
  58. "cross-env": "^5.1.1",
  59. "cross-port-killer": "^1.0.1",
  60. "enzyme": "^3.1.0",
  61. "eslint": "^4.14.0",
  62. "eslint-config-airbnb": "^16.0.0",
  63. "eslint-config-prettier": "^2.9.0",
  64. "eslint-plugin-babel": "^4.0.0",
  65. "eslint-plugin-compat": "^2.1.0",
  66. "eslint-plugin-import": "^2.8.0",
  67. "eslint-plugin-jsx-a11y": "^6.0.3",
  68. "eslint-plugin-markdown": "^1.0.0-beta.6",
  69. "eslint-plugin-react": "^7.0.1",
  70. "gh-pages": "^1.0.0",
  71. "husky": "^0.14.3",
  72. "lint-staged": "^6.0.0",
  73. "mockjs": "^1.0.1-beta3",
  74. "prettier": "1.11.1",
  75. "pro-download": "^1.0.1",
  76. "redbox-react": "^1.5.0",
  77. "regenerator-runtime": "^0.11.1",
  78. "roadhog": "^2.3.0",
  79. "roadhog-api-doc": "^1.0.2",
  80. "stylelint": "^8.4.0",
  81. "stylelint-config-prettier": "^3.0.4",
  82. "stylelint-config-standard": "^18.0.0"
  83. },
  84. "optionalDependencies": {
  85. "puppeteer": "^1.1.1"
  86. },
  87. "lint-staged": {
  88. "**/*.{js,jsx,less}": [
  89. "prettier --wirter",
  90. "git add"
  91. ],
  92. "**/*.{js,jsx}": "lint-staged:js",
  93. "**/*.less": "stylelint --syntax less"
  94. },
  95. "engines": {
  96. "node": ">=8.0.0"
  97. },
  98. "browserslist": [
  99. "> 1%",
  100. "last 2 versions",
  101. "not ie <= 10"
  102. ]
  103. }