package.json 2.0 KB

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