package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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 preview",
  10. "dev": "electron-vite dev",
  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",
  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. "js-md5": "^0.8.3",
  49. "lodash": "^4.17.21",
  50. "mitt": "^3.0.0",
  51. "nprogress": "^0.2.0",
  52. "pinia": "^2.0.23",
  53. "pinia-plugin-persistedstate": "^3.2.1",
  54. "query-string": "^8.0.3",
  55. "vue": "^3.2.40",
  56. "vue-ls": "^4.2.0",
  57. "vue-router": "^4.0.14"
  58. },
  59. "devDependencies": {
  60. "@arco-plugins/vite-vue": "^1.4.5",
  61. "@commitlint/cli": "^17.1.2",
  62. "@commitlint/config-conventional": "^17.1.0",
  63. "@electron-toolkit/eslint-config": "^1.0.2",
  64. "@electron-toolkit/eslint-config-ts": "^1.0.1",
  65. "@electron-toolkit/tsconfig": "^1.0.1",
  66. "@rushstack/eslint-patch": "^1.7.1",
  67. "@types/crypto-js": "^4.2.1",
  68. "@types/lodash": "^4.14.186",
  69. "@types/mockjs": "^1.0.7",
  70. "@types/node": "^18.19.9",
  71. "@types/nprogress": "^0.2.0",
  72. "@typescript-eslint/eslint-plugin": "^5.40.0",
  73. "@typescript-eslint/parser": "^5.40.0",
  74. "@vitejs/plugin-vue": "^5.0.3",
  75. "@vitejs/plugin-vue-jsx": "^2.0.1",
  76. "@vue/babel-plugin-jsx": "^1.1.1",
  77. "@vue/eslint-config-prettier": "^9.0.0",
  78. "@vue/eslint-config-typescript": "^12.0.0",
  79. "consola": "^2.15.3",
  80. "cross-env": "^7.0.3",
  81. "electron": "^28.2.0",
  82. "electron-builder": "^24.9.1",
  83. "electron-vite": "^2.2.0",
  84. "eslint": "^8.56.0",
  85. "eslint-config-airbnb-base": "^15.0.0",
  86. "eslint-config-prettier": "^8.5.0",
  87. "eslint-import-resolver-typescript": "^3.5.1",
  88. "eslint-plugin-import": "^2.26.0",
  89. "eslint-plugin-prettier": "^4.2.1",
  90. "eslint-plugin-vue": "^9.20.1",
  91. "husky": "^8.0.1",
  92. "less": "^4.1.3",
  93. "lint-staged": "^13.0.3",
  94. "mockjs": "^1.1.0",
  95. "postcss-html": "^1.5.0",
  96. "prettier": "^2.8.8",
  97. "rollup": "^3.9.1",
  98. "rollup-plugin-visualizer": "^5.8.2",
  99. "typescript": "^4.9.5",
  100. "unplugin-vue-components": "^0.24.1",
  101. "vite": "^4.3.9",
  102. "vite-plugin-compression": "^0.5.1",
  103. "vite-plugin-eslint": "^1.8.1",
  104. "vite-plugin-imagemin": "^0.6.1",
  105. "vite-svg-loader": "^3.6.0",
  106. "vue": "^3.4.15",
  107. "vue-tsc": "^1.8.27"
  108. },
  109. "engines": {
  110. "node": ">=14.0.0"
  111. },
  112. "resolutions": {
  113. "bin-wrapper": "npm:bin-wrapper-china",
  114. "rollup": "^2.56.3",
  115. "gifsicle": "5.2.0"
  116. }
  117. }