package.json 3.6 KB

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