package.json 2.1 KB

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