package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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. "v-viewer": "^1.4.2",
  22. "viser-vue": "^2.4.6",
  23. "vue": "^2.6.10",
  24. "vue-awesome-swiper": "^3.1.3",
  25. "vue-clipboard2": "^0.3.0",
  26. "vue-codemirror-lite": "^1.0.4",
  27. "vue-count-to": "^1.0.13",
  28. "vue-cropper": "0.4.9",
  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. "vuedraggable": "^2.23.2",
  34. "vuejs-logger": "^1.5.3",
  35. "vuex": "^3.1.1"
  36. },
  37. "devDependencies": {
  38. "@babel/plugin-transform-modules-commonjs": "^7.5.0",
  39. "@babel/plugin-transform-strict-mode": "^7.2.0",
  40. "@babel/polyfill": "^7.4.4",
  41. "@vue/cli-plugin-babel": "^3.8.0",
  42. "@vue/cli-plugin-eslint": "^3.8.0",
  43. "@vue/cli-plugin-unit-jest": "^3.8.0",
  44. "@vue/cli-service": "^3.8.0",
  45. "@vue/eslint-config-standard": "^4.0.0",
  46. "@vue/test-utils": "^1.0.0-beta.20",
  47. "babel-core": "7.0.0-bridge.0",
  48. "babel-eslint": "^10.0.1",
  49. "babel-jest": "^24.8.0",
  50. "babel-plugin-import": "^1.11.2",
  51. "eslint": "^5.16.0",
  52. "eslint-plugin-html": "^5.0.5",
  53. "eslint-plugin-vue": "^5.2.2",
  54. "generate-asset-webpack-plugin": "^0.3.0",
  55. "less": "^3.9.0",
  56. "less-loader": "^5.0.0",
  57. "vue-svg-icon-loader": "^2.1.1",
  58. "vue-template-compiler": "^2.6.10"
  59. },
  60. "eslintConfig": {
  61. "root": true,
  62. "env": {
  63. "node": true
  64. },
  65. "extends": [
  66. "plugin:vue/strongly-recommended",
  67. "@vue/standard"
  68. ],
  69. "parserOptions": {
  70. "parser": "babel-eslint"
  71. },
  72. "rules": {
  73. "space-before-function-paren": [
  74. "error",
  75. "never"
  76. ],
  77. "generator-star-spacing": "off",
  78. "no-mixed-operators": 0,
  79. "vue/max-attributes-per-line": [
  80. 2,
  81. {
  82. "singleline": 5,
  83. "multiline": {
  84. "max": 1,
  85. "allowFirstLine": false
  86. }
  87. }
  88. ],
  89. "vue/attribute-hyphenation": 0,
  90. "vue/html-self-closing": 0,
  91. "vue/component-name-in-template-casing": 0,
  92. "vue/html-closing-bracket-spacing": 0,
  93. "vue/singleline-html-element-content-newline": 0,
  94. "vue/no-unused-components": 0,
  95. "vue/multiline-html-element-content-newline": 0,
  96. "vue/no-use-v-if-with-v-for": 0,
  97. "vue/html-closing-bracket-newline": 0,
  98. "vue/no-parsing-error": 0,
  99. "no-console": 0,
  100. "no-tabs": 0,
  101. "quotes": [
  102. 2,
  103. "single",
  104. {
  105. "avoidEscape": true,
  106. "allowTemplateLiterals": true
  107. }
  108. ],
  109. "semi": [
  110. 2,
  111. "never",
  112. {
  113. "beforeStatementContinuationChars": "never"
  114. }
  115. ],
  116. "no-delete-var": 2,
  117. "prefer-const": [
  118. 2,
  119. {
  120. "ignoreReadBeforeAssign": false
  121. }
  122. ]
  123. }
  124. },
  125. "postcss": {
  126. "plugins": {
  127. "autoprefixer": {}
  128. }
  129. },
  130. "browserslist": [
  131. "> 1%",
  132. "last 2 versions",
  133. "not ie <= 10"
  134. ]
  135. }