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

package.json 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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. "rollbar": "^2.3.4",
  50. "url-polyfill": "^1.0.10"
  51. },
  52. "devDependencies": {
  53. "babel-eslint": "^8.1.2",
  54. "babel-plugin-dva-hmr": "^0.4.1",
  55. "babel-plugin-import": "^1.6.7",
  56. "babel-plugin-module-resolver": "^3.1.1",
  57. "cross-env": "^5.1.1",
  58. "cross-port-killer": "^1.0.1",
  59. "enzyme": "^3.1.0",
  60. "eslint": "^4.14.0",
  61. "eslint-config-airbnb": "^16.0.0",
  62. "eslint-config-prettier": "^2.9.0",
  63. "eslint-plugin-babel": "^4.0.0",
  64. "eslint-plugin-compat": "^2.1.0",
  65. "eslint-plugin-import": "^2.8.0",
  66. "eslint-plugin-jsx-a11y": "^6.0.3",
  67. "eslint-plugin-markdown": "^1.0.0-beta.6",
  68. "eslint-plugin-react": "^7.0.1",
  69. "gh-pages": "^1.0.0",
  70. "husky": "^0.14.3",
  71. "lint-staged": "^6.0.0",
  72. "mockjs": "^1.0.1-beta3",
  73. "prettier": "1.11.1",
  74. "pro-download": "^1.0.1",
  75. "redbox-react": "^1.5.0",
  76. "regenerator-runtime": "^0.11.1",
  77. "roadhog": "^2.3.0",
  78. "roadhog-api-doc": "^1.0.2",
  79. "stylelint": "^8.4.0",
  80. "stylelint-config-prettier": "^3.0.4",
  81. "stylelint-config-standard": "^18.0.0"
  82. },
  83. "optionalDependencies": {
  84. "puppeteer": "^1.1.1"
  85. },
  86. "lint-staged": {
  87. "**/*.{js,jsx,less}": [
  88. "prettier --wirter",
  89. "git add"
  90. ],
  91. "**/*.{js,jsx}": "lint-staged:js",
  92. "**/*.less": "stylelint --syntax less"
  93. },
  94. "engines": {
  95. "node": ">=8.0.0"
  96. },
  97. "browserslist": [
  98. "> 1%",
  99. "last 2 versions",
  100. "not ie <= 10"
  101. ]
  102. }