package.json 3.4 KB

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