package.json 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "name": "Hotax",
  3. "version": "3.0.1",
  4. "description": "Enterprise applications - Content Manage System",
  5. "private": true,
  6. "scripts": {
  7. "precommit": "npm run lint-staged",
  8. "start": "cross-env DISABLE_ESLINT=true roadhog dev",
  9. "start:no-proxy": "cross-env API=DEV NO_PROXY=true DISABLE_ESLINT=true roadhog dev",
  10. "build": "cross-env API=PRO DISABLE_ESLINT=true 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. },
  22. "dependencies": {
  23. "@antv/data-set": "^0.8.0",
  24. "@babel/polyfill": "^7.0.0-beta.36",
  25. "antd": "^3.3.0",
  26. "babel-runtime": "^6.9.2",
  27. "bizcharts": "^3.1.3-beta.1",
  28. "bizcharts-plugin-slider": "^2.0.1",
  29. "classnames": "^2.2.5",
  30. "dva": "^2.1.0",
  31. "dva-loading": "^1.0.4",
  32. "enquire-js": "^0.1.1",
  33. "fastclick": "^1.0.6",
  34. "hls.js": "^0.9.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-dnd": "^2.6.0",
  47. "react-dnd-html5-backend": "^2.6.0",
  48. "react-document-title": "^2.0.3",
  49. "react-dom": "^16.2.0",
  50. "react-fittext": "^1.0.0",
  51. "rollbar": "^2.3.4",
  52. "url-polyfill": "^1.0.10"
  53. },
  54. "devDependencies": {
  55. "babel-eslint": "^8.1.2",
  56. "babel-plugin-dva-hmr": "^0.4.1",
  57. "babel-plugin-import": "^1.6.7",
  58. "babel-plugin-transform-decorators-legacy": "^1.3.4",
  59. "cross-env": "^5.1.1",
  60. "cross-port-killer": "^1.0.1",
  61. "enzyme": "^3.1.0",
  62. "eslint": "^4.14.0",
  63. "eslint-config-airbnb": "^16.0.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. "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": "^0.3.4",
  79. "stylelint": "^8.4.0",
  80. "stylelint-config-standard": "^18.0.0"
  81. },
  82. "optionalDependencies": {
  83. "nightmare": "^2.10.0"
  84. },
  85. "lint-staged": {
  86. "**/*.{js,jsx}": "lint-staged:js",
  87. "**/*.less": "stylelint --syntax less"
  88. },
  89. "browserslist": [
  90. "> 1%",
  91. "last 2 versions",
  92. "not ie <= 10"
  93. ]
  94. }