package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "name": "h5",
  3. "version": "0.1.0",
  4. "private": true,
  5. "scripts": {
  6. "serve": "vue-cli-service serve",
  7. "build": "vue-cli-service build",
  8. "dev": "vue-cli-service serve",
  9. "lint": "vue-cli-service lint"
  10. },
  11. "dependencies": {
  12. "animate.css": "^3.7.2",
  13. "async-validator": "^1.11.2",
  14. "axios": "^0.19.0",
  15. "clipboard": "^2.0.4",
  16. "core-js": "^2.6.5",
  17. "dayjs": "^1.8.14",
  18. "echarts": "^4.2.1",
  19. "emoji-awesome": "0.0.2",
  20. "html2canvas": "^1.0.0-rc.3",
  21. "lodash.debounce": "^4.0.8",
  22. "mpvue-calendar": "^2.2.2",
  23. "vant": "^2.2.12",
  24. "vue": "^2.6.10",
  25. "vue-awesome-swiper": "^3.1.3",
  26. "vue-core-image-upload": "^2.4.11",
  27. "vue-echarts": "^4.0.3",
  28. "vue-lazyload": "^1.3.3",
  29. "vue-router": "^3.0.3",
  30. "vue-ydui": "^1.2.6",
  31. "vuex": "^3.0.1",
  32. "wechat-jssdk": "^5.0.4",
  33. "ydui-district": "^1.1.0"
  34. },
  35. "devDependencies": {
  36. "@vue/cli-plugin-babel": "^3.8.0",
  37. "@vue/cli-plugin-eslint": "^3.8.0",
  38. "@vue/cli-service": "^3.8.0",
  39. "@vue/eslint-config-prettier": "^4.0.1",
  40. "autodll-webpack-plugin": "^0.4.2",
  41. "babel-eslint": "^10.0.1",
  42. "babel-plugin-import": "^1.12.0",
  43. "eslint": "^5.16.0",
  44. "eslint-plugin-vue": "^5.0.0",
  45. "hard-source-webpack-plugin": "^0.13.1",
  46. "lint-staged": "^8.1.5",
  47. "sass": "^1.18.0",
  48. "sass-loader": "^7.1.0",
  49. "vconsole": "^3.3.2",
  50. "vue-template-compiler": "^2.6.10"
  51. },
  52. "eslintConfig": {
  53. "root": true,
  54. "env": {
  55. "node": true
  56. },
  57. "extends": [
  58. "plugin:vue/essential",
  59. "@vue/prettier"
  60. ],
  61. "rules": {
  62. "no-console": 0
  63. },
  64. "parserOptions": {
  65. "parser": "babel-eslint"
  66. }
  67. },
  68. "postcss": {
  69. "plugins": {
  70. "autoprefixer": {}
  71. }
  72. },
  73. "browserslist": [
  74. "> 1%",
  75. "last 2 versions"
  76. ],
  77. "gitHooks": {
  78. "pre-commit": "lint-staged"
  79. },
  80. "lint-staged": {
  81. "*.{js,vue}": [
  82. "vue-cli-service lint",
  83. "git add"
  84. ]
  85. }
  86. }