package.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. {
  2. "name": "eep_page_reader",
  3. "version": "2026.7.7",
  4. "private": true,
  5. "main": "main.js",
  6. "description": "智慧梧桐数字教材阅读器",
  7. "author": "合新软件",
  8. "scripts": {
  9. "electron": "nodemon --watch main.js --exec \"electron .\"",
  10. "dev": "vue-cli-service serve",
  11. "build": "vue-cli-service build",
  12. "build:beiyu": "vue-cli-service build --mode beiyu",
  13. "lint": "vue-cli-service lint",
  14. "lint:style:fix": "stylelint \"src/**/*.{css,scss,vue}\" --fix",
  15. "lint:fix": "eslint \"src/**/*.{js,vue}\" --fix",
  16. "postinstall": "patch-package",
  17. "builder": "electron-builder",
  18. "builder:win": "npm run build && npm run builder",
  19. "builder:beiyu": "npm run build:beiyu && npm run builder",
  20. "builder:mac": "electron-builder --mac"
  21. },
  22. "dependencies": {
  23. "@tinymce/tinymce-vue": "^3.2.8",
  24. "7zip-bin": "^5.2.0",
  25. "axios": "^1.7.2",
  26. "cnchar": "^3.2.6",
  27. "core-js": "^3.47.0",
  28. "dompurify": "^3.1.5",
  29. "element-ui": "^2.15.14",
  30. "hanzi-writer": "^3.1.0",
  31. "js-audio-recorder": "^1.0.7",
  32. "mathjax": "^3.2.2",
  33. "md5": "^2.3.0",
  34. "nprogress": "^0.2.0",
  35. "opencc-js": "^1.0.5",
  36. "simple-mind-map": "^0.14.0",
  37. "three": "^0.181.2",
  38. "tinymce": "^5.10.9",
  39. "v-fit-columns": "^0.2.0",
  40. "video.js": "^8.23.7",
  41. "videojs-markers": "^1.0.1",
  42. "vis-data": "^8.0.3",
  43. "vis-network": "^10.0.2",
  44. "vue": "^2.6.14",
  45. "vue-esign": "^1.1.4",
  46. "vue-router": "^3.6.5",
  47. "vue-signature-pad": "^2.0.5",
  48. "vuedraggable": "^2.24.3",
  49. "vuex": "^3.6.2",
  50. "web-highlighter": "^0.7.4"
  51. },
  52. "devDependencies": {
  53. "@babel/core": "^7.28.5",
  54. "@babel/eslint-parser": "^7.28.5",
  55. "@electron/fuses": "^2.1.3",
  56. "@rushstack/eslint-patch": "^1.15.0",
  57. "@types/md5": "^2.3.6",
  58. "@vue/cli-plugin-babel": "~5.0.9",
  59. "@vue/cli-plugin-eslint": "~5.0.9",
  60. "@vue/cli-service": "~5.0.9",
  61. "@vue/eslint-config-prettier": "^9.0.0",
  62. "@vue/preload-webpack-plugin": "^2.0.0",
  63. "compression-webpack-plugin": "^6.1.2",
  64. "electron": "43.0.0",
  65. "electron-builder": "^24.13.3",
  66. "eslint": "^8.57.1",
  67. "eslint-plugin-prettier": "^5.5.4",
  68. "eslint-plugin-vue": "^9.33.0",
  69. "nodemon": "^3.1.11",
  70. "patch-package": "^8.0.1",
  71. "postcss-html": "^1.8.0",
  72. "prettier": "^3.7.3",
  73. "sass": "^1.94.2",
  74. "sass-loader": "^14.2.1",
  75. "stylelint": "^15.11.0",
  76. "stylelint-config-recess-order": "^4.6.0",
  77. "stylelint-config-recommended-scss": "^14.0.0",
  78. "stylelint-config-recommended-vue": "^1.5.0",
  79. "stylelint-config-standard-scss": "^12.0.0",
  80. "stylelint-declaration-block-no-ignored-properties": "^2.8.0",
  81. "stylelint-webpack-plugin": "^4.1.1",
  82. "svg-sprite-loader": "^6.0.11",
  83. "svgo": "^3.3.2",
  84. "vue-template-compiler": "^2.6.14"
  85. },
  86. "build": {
  87. "appId": "com.gcls.page.eepReader",
  88. "productName": "智慧梧桐数字教材阅读器",
  89. "copyright": "Copyright © 2026 ${author}",
  90. "electronDist": "C:/Users/17582/AppData/Local/electron/Cache",
  91. "npmRebuild": false,
  92. "directories": {
  93. "output": "out"
  94. },
  95. "asar": true,
  96. "fileAssociations": [
  97. {
  98. "ext": "eep",
  99. "name": "智慧梧桐数字教材阅读器离线文件",
  100. "description": "智慧梧桐数字教材阅读器离线文件",
  101. "role": "open"
  102. }
  103. ],
  104. "win": {
  105. "target": "nsis",
  106. "icon": "./public/icon.png",
  107. "artifactName": "${productName}-Setup.${ext}"
  108. },
  109. "linux": {
  110. "target": "AppImage",
  111. "icon": "./public/icon.png",
  112. "artifactName": "${productName}-Setup.${ext}"
  113. },
  114. "mac": {
  115. "target": "dmg",
  116. "icon": "./public/icon.png",
  117. "artifactName": "${productName}-Setup.${ext}"
  118. },
  119. "nsis": {
  120. "oneClick": false,
  121. "allowToChangeInstallationDirectory": true,
  122. "createDesktopShortcut": true,
  123. "createStartMenuShortcut": true,
  124. "perMachine": false
  125. },
  126. "dmg": {
  127. "contents": [
  128. {
  129. "x": 110,
  130. "y": 150
  131. },
  132. {
  133. "x": 240,
  134. "y": 150,
  135. "type": "link",
  136. "path": "/Applications"
  137. }
  138. ]
  139. }
  140. },
  141. "browserslist": [
  142. "> 1%",
  143. "last 2 versions",
  144. "not dead"
  145. ]
  146. }