package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. {
  2. "name": "halo-admin",
  3. "version": "1.0.3",
  4. "private": true,
  5. "scripts": {
  6. "serve": "vue-cli-service serve",
  7. "build": "vue-cli-service build",
  8. "lint": "vue-cli-service lint",
  9. "test:unit": "vue-cli-service test:unit"
  10. },
  11. "dependencies": {
  12. "animate.css": "^3.7.0",
  13. "ant-design-vue": "~1.3.13",
  14. "axios": "^0.18.0",
  15. "element-ui": "^2.10.1",
  16. "enquire.js": "^2.1.6",
  17. "marked": "^0.6.2",
  18. "mavon-editor": "^2.7.4",
  19. "moment": "^2.24.0",
  20. "nprogress": "^0.2.0",
  21. "viser-vue": "^2.4.6",
  22. "vue": "^2.6.10",
  23. "vue-awesome-swiper": "^3.1.3",
  24. "vue-clipboard2": "^0.3.0",
  25. "vue-codemirror-lite": "^1.0.4",
  26. "vue-count-to": "^1.0.13",
  27. "vue-cropper": "0.4.9",
  28. "vue-i18n": "^8.0.0",
  29. "vue-ls": "^3.2.1",
  30. "vue-material": "^1.0.0-beta-11",
  31. "vue-router": "^3.0.6",
  32. "vue-video-player": "^5.0.2",
  33. "vuejs-logger": "^1.5.3",
  34. "vuex": "^3.1.1"
  35. },
  36. "devDependencies": {
  37. "@babel/plugin-transform-modules-commonjs": "^7.5.0",
  38. "@babel/plugin-transform-strict-mode": "^7.2.0",
  39. "@babel/polyfill": "^7.4.4",
  40. "@vue/cli-plugin-babel": "^3.8.0",
  41. "@vue/cli-plugin-eslint": "^3.8.0",
  42. "@vue/cli-plugin-unit-jest": "^3.8.0",
  43. "@vue/cli-service": "^3.8.0",
  44. "@vue/eslint-config-standard": "^4.0.0",
  45. "@vue/test-utils": "^1.0.0-beta.20",
  46. "babel-core": "7.0.0-bridge.0",
  47. "babel-eslint": "^10.0.1",
  48. "babel-jest": "^24.8.0",
  49. "babel-plugin-import": "^1.11.2",
  50. "eslint": "^5.16.0",
  51. "eslint-plugin-html": "^5.0.5",
  52. "eslint-plugin-vue": "^5.2.2",
  53. "generate-asset-webpack-plugin": "^0.3.0",
  54. "less": "^3.9.0",
  55. "less-loader": "^5.0.0",
  56. "vue-svg-icon-loader": "^2.1.1",
  57. "vue-template-compiler": "^2.6.10"
  58. },
  59. "eslintConfig": {
  60. "root": true,
  61. "env": {
  62. "node": true
  63. },
  64. "extends": [
  65. "plugin:vue/strongly-recommended",
  66. "@vue/standard"
  67. ],
  68. "parserOptions": {
  69. "parser": "babel-eslint"
  70. },
  71. "rules": {
  72. "space-before-function-paren": [
  73. "error",
  74. "never"
  75. ],
  76. "generator-star-spacing": "off",
  77. "no-mixed-operators": 0,
  78. "vue/max-attributes-per-line": [
  79. 2,
  80. {
  81. "singleline": 5,
  82. "multiline": {
  83. "max": 1,
  84. "allowFirstLine": false
  85. }
  86. }
  87. ],
  88. "vue/attribute-hyphenation": 0,
  89. "vue/html-self-closing": 0,
  90. "vue/component-name-in-template-casing": 0,
  91. "vue/html-closing-bracket-spacing": 0,
  92. "vue/singleline-html-element-content-newline": 0,
  93. "vue/no-unused-components": 0,
  94. "vue/multiline-html-element-content-newline": 0,
  95. "vue/no-use-v-if-with-v-for": 0,
  96. "vue/html-closing-bracket-newline": 0,
  97. "vue/no-parsing-error": 0,
  98. "no-console": 0,
  99. "no-tabs": 0,
  100. "quotes": [
  101. 2,
  102. "single",
  103. {
  104. "avoidEscape": true,
  105. "allowTemplateLiterals": true
  106. }
  107. ],
  108. "semi": [
  109. 2,
  110. "never",
  111. {
  112. "beforeStatementContinuationChars": "never"
  113. }
  114. ],
  115. "no-delete-var": 2,
  116. "prefer-const": [
  117. 2,
  118. {
  119. "ignoreReadBeforeAssign": false
  120. }
  121. ]
  122. }
  123. },
  124. "postcss": {
  125. "plugins": {
  126. "autoprefixer": {}
  127. }
  128. },
  129. "browserslist": [
  130. "> 1%",
  131. "last 2 versions",
  132. "not ie <= 10"
  133. ]
  134. }