package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {
  2. "name": "happyjob-dk",
  3. "version": "1.0.0",
  4. "description": "Collection of happyjob-dk.",
  5. "author": "neverland <chenjiahan@neverl.com>",
  6. "license": "MIT",
  7. "scripts": {
  8. "serve": "vue-cli-service serve",
  9. "build": "vue-cli-service build",
  10. "lint": "vue-cli-service lint"
  11. },
  12. "dependencies": {
  13. "amfe-flexible": "^2.2.1",
  14. "axios": "^0.18.0",
  15. "core-js": "^3.4.3",
  16. "vant": "^2.2.0",
  17. "vue": "^2.6.10",
  18. "vue-baidu-map": "^0.21.22",
  19. "vue-router": "^3.0.5",
  20. "vuex": "^3.0.1",
  21. "vuex-class": "^0.3.1",
  22. "weixin-jsapi": "^1.1.0"
  23. },
  24. "devDependencies": {
  25. "@vue/cli-plugin-babel": "^4.1.1",
  26. "@vue/cli-plugin-eslint": "^3.3.0",
  27. "@vue/cli-service": "^4.1.1",
  28. "@vue/eslint-config-standard": "^4.0.0",
  29. "babel-eslint": "^10.0.1",
  30. "babel-plugin-import": "^1.12.0",
  31. "eslint": "^5.16.0",
  32. "eslint-plugin-vue": "^5.1.0",
  33. "less": "^3.8.1",
  34. "less-loader": "^5.0.0",
  35. "vue-template-compiler": "^2.6.10",
  36. "postcss-pxtorem": "^4.0.1"
  37. },
  38. "eslintConfig": {
  39. "root": true,
  40. "env": {
  41. "node": true
  42. },
  43. "extends": [
  44. "plugin:vue/essential",
  45. "eslint:recommended"
  46. ],
  47. "parserOptions": {
  48. "parser": "babel-eslint"
  49. },
  50. "rules": {
  51. "generator-star-spacing": "off",
  52. "no-mixed-operators": 0,
  53. "linebreak-style": [
  54. 0,
  55. "error",
  56. "windows"
  57. ],
  58. "vue/max-attributes-per-line": [
  59. 2,
  60. {
  61. "singleline": 5,
  62. "multiline": {
  63. "max": 1,
  64. "allowFirstLine": false
  65. }
  66. }
  67. ],
  68. "vue/attribute-hyphenation": 0,
  69. "vue/html-self-closing": 0,
  70. "vue/component-name-in-template-casing": 0,
  71. "vue/html-closing-bracket-spacing": 0,
  72. "vue/singleline-html-element-content-newline": 0,
  73. "vue/no-unused-components": 0,
  74. "vue/multiline-html-element-content-newline": 0,
  75. "vue/no-use-v-if-with-v-for": 0,
  76. "vue/html-closing-bracket-newline": 0,
  77. "vue/no-parsing-error": 0,
  78. "no-console": 0
  79. }
  80. },
  81. "postcss": {
  82. "plugins": {
  83. "autoprefixer": {}
  84. }
  85. },
  86. "browserslist": [
  87. "Android >= 4.0",
  88. "iOS >= 7"
  89. ]
  90. }