package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. {
  2. "name": "eep_page",
  3. "version": "2025.12.07",
  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.7.0",
  31. "jquery": "^3.7.1",
  32. "js-audio-recorder": "^1.0.7",
  33. "mathjax": "^3.2.2",
  34. "md5": "^2.3.0",
  35. "nprogress": "^0.2.0",
  36. "opencc-js": "^1.0.5",
  37. "simple-mind-map": "^0.14.0",
  38. "three": "^0.181.2",
  39. "tinymce": "^5.10.9",
  40. "v-fit-columns": "^0.2.0",
  41. "vue": "^2.6.14",
  42. "vue-esign": "^1.1.4",
  43. "vue-router": "^3.6.5",
  44. "vue-signature-pad": "^2.0.5",
  45. "vuedraggable": "^2.24.3",
  46. "vuex": "^3.6.2"
  47. },
  48. "devDependencies": {
  49. "@babel/core": "^7.28.5",
  50. "@babel/eslint-parser": "^7.28.5",
  51. "@electron/fuses": "^1.8.0",
  52. "@rushstack/eslint-patch": "^1.15.0",
  53. "@types/md5": "^2.3.6",
  54. "@vue/cli-plugin-babel": "~5.0.9",
  55. "@vue/cli-plugin-eslint": "~5.0.9",
  56. "@vue/cli-service": "~5.0.9",
  57. "@vue/eslint-config-prettier": "^9.0.0",
  58. "@vue/preload-webpack-plugin": "^2.0.0",
  59. "compression-webpack-plugin": "^6.1.2",
  60. "electron": "29.3.2",
  61. "electron-builder": "^24.13.3",
  62. "eslint": "^8.57.1",
  63. "eslint-plugin-prettier": "^5.5.4",
  64. "eslint-plugin-vue": "^9.33.0",
  65. "nodemon": "^3.1.11",
  66. "patch-package": "^8.0.1",
  67. "postcss-html": "^1.8.0",
  68. "prettier": "^3.7.3",
  69. "sass": "^1.94.2",
  70. "sass-loader": "^14.2.1",
  71. "stylelint": "^15.11.0",
  72. "stylelint-config-recess-order": "^4.6.0",
  73. "stylelint-config-recommended-scss": "^14.0.0",
  74. "stylelint-config-recommended-vue": "^1.5.0",
  75. "stylelint-config-standard-scss": "^12.0.0",
  76. "stylelint-declaration-block-no-ignored-properties": "^2.8.0",
  77. "stylelint-webpack-plugin": "^4.1.1",
  78. "svg-sprite-loader": "^6.0.11",
  79. "svgo": "^3.3.2",
  80. "vue-template-compiler": "^2.6.14"
  81. },
  82. "build": {
  83. "appId": "com.gcls.page.textbook",
  84. "productName": "智慧梧桐数字教材编辑器",
  85. "copyright": "Copyright © 2025 ${author}",
  86. "directories": {
  87. "output": "out"
  88. },
  89. "asar": true,
  90. "win": {
  91. "target": "nsis",
  92. "icon": "./public/icon.png",
  93. "artifactName": "${productName}-Setup.${ext}"
  94. },
  95. "linux": {
  96. "target": "AppImage",
  97. "icon": "./public/icon.png",
  98. "artifactName": "${productName}-Setup.${ext}"
  99. },
  100. "mac": {
  101. "target": "dmg",
  102. "icon": "./public/icon.png",
  103. "artifactName": "${productName}-Setup.${ext}"
  104. },
  105. "nsis": {
  106. "oneClick": false,
  107. "allowToChangeInstallationDirectory": true,
  108. "createDesktopShortcut": true,
  109. "createStartMenuShortcut": true,
  110. "perMachine": false
  111. },
  112. "dmg": {
  113. "contents": [
  114. {
  115. "x": 110,
  116. "y": 150
  117. },
  118. {
  119. "x": 240,
  120. "y": 150,
  121. "type": "link",
  122. "path": "/Applications"
  123. }
  124. ]
  125. }
  126. },
  127. "browserslist": [
  128. "> 1%",
  129. "last 2 versions",
  130. "not dead"
  131. ]
  132. }