package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. "name": "cloudlink",
  3. "version": "0.1.0",
  4. "private": true,
  5. "main": "plugins/electron.js",
  6. "description": "cloudlink",
  7. "scripts": {
  8. "serve": "vue-cli-service serve",
  9. "build": "vue-cli-service build",
  10. "build:package": "node plugins/build.js",
  11. "build:cli": "node plugins/user-option.js",
  12. "upload": "python upload.py /usr/share/nginx/html/ xiaodou-ai-admin",
  13. "start": "yarn run serve",
  14. "start:win": "electron . win",
  15. "start:mac": "electron . mac",
  16. "lint": "vue-cli-service lint"
  17. },
  18. "dependencies": {
  19. "@ant-design/icons-vue": "^6.1.0",
  20. "@codemirror/lang-javascript": "^6.1.7",
  21. "@codemirror/lang-sql": "^6.5.4",
  22. "@codemirror/lang-vue": "^0.1.1",
  23. "@codemirror/theme-one-dark": "^6.1.2",
  24. "@codemirror/view": "^6.10.1",
  25. "@ssthouse/vue3-tree-chart": "^0.2.6",
  26. "@vue-js-cron/ant": "^1.1.2",
  27. "@vueuse/core": "^9.13.0",
  28. "ant-design-vue": "^4.0.0-rc.3",
  29. "axios": "^1.3.5",
  30. "chalk": "^5.3.0",
  31. "codemirror": "^6.0.1",
  32. "commander": "^11.1.0",
  33. "core-js": "^3.8.3",
  34. "dayjs": "^1.11.13",
  35. "echarts": "^5.4.2",
  36. "flicker-vue-hooks": "^1.0.64",
  37. "highlight": "^0.2.4",
  38. "html2canvas": "^1.4.1",
  39. "inquirer": "^8.2.6",
  40. "json-editor-vue3": "^1.1.1",
  41. "markdown-it": "^14.1.0",
  42. "minimist": "^1.2.8",
  43. "mitt": "^3.0.0",
  44. "normalize.css": "^8.0.1",
  45. "path-browserify": "^1.0.1",
  46. "pinia": "^2.0.33",
  47. "pinia-plugin-persistedstate": "^3.2.0",
  48. "style-resources-loader": "^1.5.0",
  49. "vue": "^3.3.4",
  50. "vue-class-component": "^8.0.0-0",
  51. "vue-countup-v3": "^1.4.0",
  52. "vue-draggable-next": "^2.2.1",
  53. "vue-hooks-plus": "^1.6.2",
  54. "vue-router": "^4.0.3",
  55. "w3c-keyname": "^2.2.8"
  56. },
  57. "devDependencies": {
  58. "@typescript-eslint/eslint-plugin": "^5.4.0",
  59. "@typescript-eslint/parser": "^5.4.0",
  60. "@vue/cli-plugin-babel": "~5.0.0",
  61. "@vue/cli-plugin-eslint": "~5.0.0",
  62. "@vue/cli-plugin-router": "~5.0.0",
  63. "@vue/cli-plugin-typescript": "~5.0.0",
  64. "@vue/cli-service": "~5.0.0",
  65. "@vue/eslint-config-standard": "^6.1.0",
  66. "@vue/eslint-config-typescript": "^9.1.0",
  67. "electron": "^25.2.0",
  68. "eslint": "^7.32.0",
  69. "eslint-plugin-import": "^2.25.3",
  70. "eslint-plugin-node": "^11.1.0",
  71. "eslint-plugin-promise": "^5.1.0",
  72. "eslint-plugin-vue": "^8.0.3",
  73. "less": "^4.0.0",
  74. "less-loader": "^8.0.0",
  75. "lint-staged": "^11.1.2",
  76. "typescript": "~4.5.5",
  77. "webpack-bundle-analyzer": "^4.9.0"
  78. },
  79. "eslintConfig": {
  80. "root": true,
  81. "env": {
  82. "node": true
  83. },
  84. "extends": [
  85. "plugin:vue/vue3-essential",
  86. "@vue/standard",
  87. "@vue/typescript/recommended"
  88. ],
  89. "parserOptions": {
  90. "ecmaVersion": 2020
  91. },
  92. "rules": {}
  93. },
  94. "browserslist": [
  95. "> 1%",
  96. "last 2 versions",
  97. "not dead",
  98. "not ie 11"
  99. ],
  100. "gitHooks": {
  101. "pre-commit": "lint-staged"
  102. },
  103. "lint-staged": {
  104. "*.{js,jsx,vue,ts,tsx}": "vue-cli-service lint"
  105. }
  106. }