package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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. "start": "HARD_SOURCE=none 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. "build-site": "roadhog-api-doc static",
  12. "site": "roadhog-api-doc static && gh-pages -d dist",
  13. "analyze": "cross-env ANALYZE=true roadhog 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": "roadhog test",
  20. "test:component": "roadhog 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. "@babel/polyfill": "^7.0.0-beta.36",
  27. "antd": "^3.4.3",
  28. "bizcharts": "^3.1.5",
  29. "bizcharts-plugin-slider": "^2.0.3",
  30. "classnames": "^2.2.5",
  31. "dva": "^2.2.3",
  32. "dva-loading": "^2.0.1",
  33. "enquire-js": "^0.2.1",
  34. "less": "2.7.2",
  35. "lodash": "^4.17.4",
  36. "lodash-decorators": "^5.0.0",
  37. "moment": "^2.22.0",
  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": "^1.1.0",
  44. "react": "^16.4.0",
  45. "react-container-query": "^0.11.0",
  46. "react-document-title": "^2.0.3",
  47. "react-dom": "^16.4.0",
  48. "react-fittext": "^1.0.0",
  49. "rollbar": "^2.3.4",
  50. "url-polyfill": "^1.0.10"
  51. },
  52. "devDependencies": {
  53. "@types/react": "^16.3.8",
  54. "@types/react-dom": "^16.0.5",
  55. "antd-theme-webpack-plugin": "^1.0.8",
  56. "babel-eslint": "^8.1.2",
  57. "babel-plugin-dva-hmr": "^0.4.1",
  58. "babel-plugin-import": "^1.6.7",
  59. "babel-plugin-module-resolver": "^3.1.1",
  60. "babel-plugin-transform-decorators-legacy": "^1.3.4",
  61. "babel-runtime": "^6.9.2",
  62. "cross-env": "^5.1.1",
  63. "cross-port-killer": "^1.0.1",
  64. "enzyme": "^3.1.0",
  65. "eslint": "^4.14.0",
  66. "eslint-config-airbnb": "^16.0.0",
  67. "eslint-config-prettier": "^2.9.0",
  68. "eslint-plugin-babel": "^5.1.0",
  69. "eslint-plugin-compat": "^2.1.0",
  70. "eslint-plugin-import": "^2.8.0",
  71. "eslint-plugin-jsx-a11y": "^6.0.3",
  72. "eslint-plugin-markdown": "^1.0.0-beta.6",
  73. "eslint-plugin-react": "^7.0.1",
  74. "gh-pages": "^1.0.0",
  75. "husky": "^0.14.3",
  76. "lint-staged": "^7.0.5",
  77. "mockjs": "^1.0.1-beta3",
  78. "prettier": "1.13.2",
  79. "pro-download": "^1.0.1",
  80. "redbox-react": "^1.5.0",
  81. "regenerator-runtime": "^0.11.1",
  82. "roadhog": "^2.4.2",
  83. "roadhog-api-doc": "^1.0.3",
  84. "stylelint": "^9.2.1",
  85. "stylelint-config-prettier": "^3.0.4",
  86. "stylelint-config-standard": "^18.0.0"
  87. },
  88. "optionalDependencies": {
  89. "puppeteer": "^1.4.0"
  90. },
  91. "lint-staged": {
  92. "**/*.{js,jsx,less}": [
  93. "prettier --write",
  94. "git add"
  95. ],
  96. "**/*.{js,jsx}": "npm run lint-staged:js",
  97. "**/*.less": "stylelint --syntax less"
  98. },
  99. "engines": {
  100. "node": ">=8.0.0"
  101. },
  102. "browserslist": [
  103. "> 1%",
  104. "last 2 versions",
  105. "not ie <= 10"
  106. ]
  107. }