package.json 3.3 KB

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