package.json 3.7 KB

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