package.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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-router": "^3.0.3",
  29. "vue-ydui": "^1.2.6",
  30. "vuex": "^3.0.1",
  31. "wechat-jssdk": "^5.0.4",
  32. "ydui-district": "^1.1.0"
  33. },
  34. "devDependencies": {
  35. "@vue/cli-plugin-babel": "^3.8.0",
  36. "@vue/cli-plugin-eslint": "^3.8.0",
  37. "@vue/cli-service": "^3.8.0",
  38. "@vue/eslint-config-prettier": "^4.0.1",
  39. "autodll-webpack-plugin": "^0.4.2",
  40. "babel-eslint": "^10.0.1",
  41. "babel-plugin-import": "^1.12.0",
  42. "eslint": "^5.16.0",
  43. "eslint-plugin-vue": "^5.0.0",
  44. "hard-source-webpack-plugin": "^0.13.1",
  45. "lint-staged": "^8.1.5",
  46. "sass": "^1.18.0",
  47. "sass-loader": "^7.1.0",
  48. "vconsole": "^3.3.2",
  49. "vue-template-compiler": "^2.6.10"
  50. },
  51. "eslintConfig": {
  52. "root": true,
  53. "env": {
  54. "node": true
  55. },
  56. "extends": [
  57. "plugin:vue/essential",
  58. "@vue/prettier"
  59. ],
  60. "rules": {
  61. "no-console": 0
  62. },
  63. "parserOptions": {
  64. "parser": "babel-eslint"
  65. }
  66. },
  67. "postcss": {
  68. "plugins": {
  69. "autoprefixer": {}
  70. }
  71. },
  72. "browserslist": [
  73. "> 1%",
  74. "last 2 versions"
  75. ],
  76. "gitHooks": {
  77. "pre-commit": "lint-staged"
  78. },
  79. "lint-staged": {
  80. "*.{js,vue}": [
  81. "vue-cli-service lint",
  82. "git add"
  83. ]
  84. }
  85. }