package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "name": "teachcloud-mark-tool",
  3. "description": "teachcloud mark tool",
  4. "version": "1.0.0",
  5. "main": "./out/main/index.js",
  6. "author": "chulinice",
  7. "license": "MIT",
  8. "scripts": {
  9. "start": "electron-vite dev",
  10. "dev": "electron-vite dev --watch",
  11. "format": "prettier --write .",
  12. "report": "cross-env REPORT=true npm run build",
  13. "preview": "npm run build && vite preview --host",
  14. "typecheck:node": "tsc --noEmit --skipLibCheck -p tsconfig.node.json --composite false",
  15. "typecheck:web": "vue-tsc --noEmit --skipLibCheck -p tsconfig.web.json --composite false",
  16. "typecheck": "npm run typecheck:node && npm run typecheck:web",
  17. "lint-staged": "npx lint-staged",
  18. "prepare": "husky install",
  19. "postinstall": "electron-builder install-app-deps",
  20. "build": "npm run typecheck && electron-vite build",
  21. "build:unpack": "npm run build && electron-builder --dir",
  22. "build:win": "npm run build && electron-builder --win --x64 --arm64",
  23. "build:mac": "npm run build && electron-builder --mac",
  24. "build:linux": "npm run build && electron-builder --linux"
  25. },
  26. "lint-staged": {
  27. "*.{js,ts,jsx,tsx}": [
  28. "prettier --write",
  29. "eslint --fix"
  30. ],
  31. "*.vue": [
  32. "prettier --write",
  33. "eslint --fix"
  34. ],
  35. "*.{less,css}": [
  36. "prettier --write"
  37. ]
  38. },
  39. "dependencies": {
  40. "@arco-design/web-vue": "^2.44.7",
  41. "@electron-toolkit/preload": "^3.0.0",
  42. "@electron-toolkit/utils": "^3.0.0",
  43. "@types/vue-ls": "^3.2.7",
  44. "@vueuse/core": "^9.3.0",
  45. "axios": "^0.24.0",
  46. "crypto-js": "^4.2.0",
  47. "dayjs": "^1.11.5",
  48. "electron-log": "^5.1.5",
  49. "gm": "^1.25.0",
  50. "image-size": "^1.1.1",
  51. "js-md5": "^0.8.3",
  52. "lodash": "^4.17.21",
  53. "mitt": "^3.0.0",
  54. "nprogress": "^0.2.0",
  55. "pdfkit": "^0.15.0",
  56. "pg-hstore": "^2.3.4",
  57. "pinia": "^2.0.23",
  58. "pinia-plugin-persistedstate": "^3.2.1",
  59. "query-string": "^8.0.3",
  60. "sequelize": "^6.37.3",
  61. "sqlite3": "5.1.6",
  62. "vue": "^3.2.40",
  63. "vue-ls": "^4.2.0",
  64. "vue-router": "^4.0.14"
  65. },
  66. "devDependencies": {
  67. "@arco-plugins/vite-vue": "^1.4.5",
  68. "@commitlint/cli": "^17.1.2",
  69. "@commitlint/config-conventional": "^17.1.0",
  70. "@electron-toolkit/eslint-config": "^1.0.2",
  71. "@electron-toolkit/eslint-config-ts": "^1.0.1",
  72. "@electron-toolkit/tsconfig": "^1.0.1",
  73. "@rushstack/eslint-patch": "^1.7.1",
  74. "@types/crypto-js": "^4.2.1",
  75. "@types/gm": "^1.25.4",
  76. "@types/lodash": "^4.14.186",
  77. "@types/mockjs": "^1.0.7",
  78. "@types/node": "^18.19.9",
  79. "@types/nprogress": "^0.2.0",
  80. "@types/pdfkit": "^0.13.4",
  81. "@typescript-eslint/eslint-plugin": "^5.40.0",
  82. "@typescript-eslint/parser": "^5.40.0",
  83. "@vitejs/plugin-vue": "^5.0.3",
  84. "@vitejs/plugin-vue-jsx": "^2.0.1",
  85. "@vue/babel-plugin-jsx": "^1.1.1",
  86. "@vue/eslint-config-prettier": "^9.0.0",
  87. "@vue/eslint-config-typescript": "^12.0.0",
  88. "consola": "^2.15.3",
  89. "cross-env": "^7.0.3",
  90. "electron": "^28.2.0",
  91. "electron-builder": "^24.9.1",
  92. "electron-vite": "^2.2.0",
  93. "eslint": "^8.56.0",
  94. "eslint-config-airbnb-base": "^15.0.0",
  95. "eslint-config-prettier": "^8.5.0",
  96. "eslint-import-resolver-typescript": "^3.5.1",
  97. "eslint-plugin-import": "^2.26.0",
  98. "eslint-plugin-prettier": "^4.2.1",
  99. "eslint-plugin-vue": "^9.20.1",
  100. "husky": "^8.0.1",
  101. "less": "^4.1.3",
  102. "lint-staged": "^13.0.3",
  103. "mockjs": "^1.1.0",
  104. "postcss-html": "^1.5.0",
  105. "prettier": "^2.8.8",
  106. "rollup": "^3.9.1",
  107. "rollup-plugin-visualizer": "^5.8.2",
  108. "typescript": "^4.9.5",
  109. "unplugin-vue-components": "^0.24.1",
  110. "vite": "~4.3.9",
  111. "vite-plugin-compression": "^0.5.1",
  112. "vite-plugin-eslint": "^1.8.1",
  113. "vite-plugin-imagemin": "^0.6.1",
  114. "vite-svg-loader": "^3.6.0",
  115. "vue": "^3.4.15",
  116. "vue-tsc": "^1.8.27"
  117. },
  118. "engines": {
  119. "node": ">=14.0.0"
  120. },
  121. "resolutions": {
  122. "bin-wrapper": "npm:bin-wrapper-china",
  123. "rollup": "^2.56.3",
  124. "gifsicle": "5.2.0"
  125. }
  126. }