package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "name": "ant-design-pro",
  3. "version": "2.0.0-beta.1",
  4. "description": "An out-of-box UI solution for enterprise applications",
  5. "private": true,
  6. "scripts": {
  7. "precommit": "npm run lint-staged",
  8. "presite": "cd functions && npm install",
  9. "start": "cross-env ESLINT=none umi dev",
  10. "start:no-mock": "cross-env MOCK=none ESLINT=none umi dev",
  11. "build": "cross-env ESLINT=none umi build",
  12. "site": "npm run presite && npm run build && firebase deploy",
  13. "analyze": "cross-env ANALYZE=1 umi build",
  14. "lint:style": "stylelint \"src/**/*.less\" --syntax less",
  15. "lint": "eslint --ext .js src mock tests && npm run lint:style",
  16. "lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style",
  17. "lint-staged": "lint-staged",
  18. "lint-staged:js": "eslint --ext .js",
  19. "test": "umi test",
  20. "test:component": "umi test ./src/components",
  21. "test:all": "node ./tests/run-tests.js",
  22. "prettier": "prettier --write ./src/**/**/**/*"
  23. },
  24. "dependencies": {
  25. "@antv/data-set": "^0.8.0",
  26. "bizcharts": "^3.1.10",
  27. "bizcharts-plugin-slider": "^2.0.3",
  28. "classnames": "^2.2.6",
  29. "enquire-js": "^0.2.1",
  30. "eslint-config-umi": "^0.1.4",
  31. "eslint-plugin-flowtype": "2",
  32. "lodash": "^4.17.4",
  33. "lodash-decorators": "^6.0.0",
  34. "lodash.isequal": "^4.5.0",
  35. "memoize-one": "^3.1.1",
  36. "moment": "^2.22.2",
  37. "numeral": "^2.0.6",
  38. "omit.js": "^1.0.0",
  39. "path-to-regexp": "^2.1.0",
  40. "prop-types": "^15.5.10",
  41. "qs": "^6.5.2",
  42. "rc-drawer": "^1.5.2",
  43. "react-container-query": "^0.11.0",
  44. "react-copy-to-clipboard": "^5.0.1",
  45. "react-document-title": "^2.0.3",
  46. "react-fittext": "^1.0.0",
  47. "rollbar": "^2.3.4",
  48. "rollup": "^0.62.0",
  49. "rollup-plugin-json": "^3.0.0",
  50. "setprototypeof": "^1.1.0",
  51. "umi-plugin-locale": "^1.0.1",
  52. "url-polyfill": "^1.0.13"
  53. },
  54. "devDependencies": {
  55. "@babel/polyfill": "^7.0.0-beta.36",
  56. "@types/react": "^16.4.4",
  57. "@types/react-dom": "^16.0.6",
  58. "antd-theme-webpack-plugin": "^1.0.8",
  59. "babel-eslint": "^8.1.2",
  60. "babel-plugin-dva-hmr": "^0.4.1",
  61. "babel-plugin-import": "^1.8.0",
  62. "babel-plugin-module-resolver": "^3.1.1",
  63. "babel-plugin-transform-decorators-legacy": "^1.3.4",
  64. "babel-runtime": "^6.9.2",
  65. "cross-env": "^5.1.1",
  66. "cross-port-killer": "^1.0.1",
  67. "enzyme": "^3.1.0",
  68. "eslint": "^5.0.1",
  69. "eslint-config-airbnb": "^17.0.0",
  70. "eslint-config-prettier": "^2.9.0",
  71. "eslint-plugin-babel": "^5.1.0",
  72. "eslint-plugin-compat": "^2.1.0",
  73. "eslint-plugin-import": "^2.8.0",
  74. "eslint-plugin-jsx-a11y": "^6.0.3",
  75. "eslint-plugin-markdown": "^1.0.0-beta.6",
  76. "eslint-plugin-react": "^7.9.1",
  77. "gh-pages": "^1.2.0",
  78. "husky": "^0.14.3",
  79. "lint-staged": "^7.2.0",
  80. "mockjs": "^1.0.1-beta3",
  81. "prettier": "1.13.7",
  82. "pro-download": "^1.0.1",
  83. "redbox-react": "^1.5.0",
  84. "regenerator-runtime": "^0.12.0",
  85. "stylelint": "^9.2.1",
  86. "stylelint-config-prettier": "^3.0.4",
  87. "stylelint-config-standard": "^18.0.0",
  88. "umi": "^1.3.13",
  89. "umi-plugin-dva": "^0.9.1",
  90. "umi-plugin-routes": "^0.1.5"
  91. },
  92. "optionalDependencies": {
  93. "puppeteer": "^1.5.0"
  94. },
  95. "lint-staged": {
  96. "**/*.{js,jsx,less}": [
  97. "prettier --write",
  98. "git add"
  99. ],
  100. "**/*.{js,jsx}": "npm run lint-staged:js",
  101. "**/*.less": "stylelint --syntax less"
  102. },
  103. "engines": {
  104. "node": ">=8.0.0"
  105. },
  106. "browserslist": [
  107. "> 1%",
  108. "last 2 versions",
  109. "not ie <= 10"
  110. ]
  111. }