package.json 2.2 KB

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