package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. "name": "gcls_page_textbook",
  3. "version": "0.1.0",
  4. "private": true,
  5. "main": "main.js",
  6. "description": "An Electron & Vue.js quick start boilerplate",
  7. "author": "dsy",
  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. "postinstall": "patch-package",
  15. "builder": "electron-builder",
  16. "builder:mac": "electron-builder --mac"
  17. },
  18. "dependencies": {
  19. "@tinymce/tinymce-vue": "^3.2.8",
  20. "axios": "^1.6.8",
  21. "core-js": "^3.37.0",
  22. "dompurify": "^3.1.2",
  23. "element-ui": "^2.15.14",
  24. "js-cookie": "^3.0.5",
  25. "js-audio-recorder": "^1.0.7",
  26. "md5": "^2.3.0",
  27. "nprogress": "^0.2.0",
  28. "tinymce": "^5.10.9",
  29. "vue": "^2.6.14",
  30. "vue-router": "^3.6.5",
  31. "vuedraggable": "^2.24.3",
  32. "vuex": "^3.6.2"
  33. },
  34. "devDependencies": {
  35. "@babel/core": "^7.24.5",
  36. "@babel/eslint-parser": "^7.24.5",
  37. "@electron/fuses": "^1.8.0",
  38. "@rushstack/eslint-patch": "^1.10.2",
  39. "@types/md5": "^2.3.5",
  40. "@vue/cli-plugin-babel": "~5.0.8",
  41. "@vue/cli-plugin-eslint": "~5.0.8",
  42. "@vue/cli-service": "~5.0.8",
  43. "@vue/eslint-config-prettier": "^9.0.0",
  44. "@vue/preload-webpack-plugin": "^2.0.0",
  45. "compression-webpack-plugin": "^6.1.2",
  46. "electron": "29.3.2",
  47. "electron-builder": "^24.13.3",
  48. "eslint": "^8.57.0",
  49. "eslint-plugin-prettier": "^5.1.3",
  50. "eslint-plugin-vue": "^9.25.0",
  51. "nodemon": "^3.1.0",
  52. "patch-package": "^8.0.0",
  53. "postcss-html": "^1.6.0",
  54. "prettier": "^3.2.5",
  55. "sass": "^1.76.0",
  56. "sass-loader": "^14.2.1",
  57. "stylelint": "^15.11.0",
  58. "stylelint-config-recess-order": "^4.6.0",
  59. "stylelint-config-recommended-scss": "^14.0.0",
  60. "stylelint-config-recommended-vue": "^1.5.0",
  61. "stylelint-config-standard-scss": "^12.0.0",
  62. "stylelint-declaration-block-no-ignored-properties": "^2.8.0",
  63. "stylelint-webpack-plugin": "^4.1.1",
  64. "svg-sprite-loader": "^6.0.11",
  65. "svgo": "^3.2.0",
  66. "vue-template-compiler": "^2.6.14"
  67. },
  68. "build": {
  69. "appId": "com.gcls.page.textbook",
  70. "productName": "gcls_page_textbook",
  71. "directories": {
  72. "output": "out"
  73. },
  74. "win": {
  75. "target": "nsis",
  76. "icon": "./public/icon.png"
  77. },
  78. "linux": {
  79. "target": "AppImage",
  80. "icon": "./public/icon.png"
  81. },
  82. "mac": {
  83. "target": "dmg",
  84. "icon": "./public/icon.png"
  85. },
  86. "nsis": {
  87. "oneClick": false,
  88. "allowToChangeInstallationDirectory": true,
  89. "createDesktopShortcut": true,
  90. "createStartMenuShortcut": true,
  91. "perMachine": false
  92. },
  93. "dmg": {
  94. "contents": [
  95. {
  96. "x": 110,
  97. "y": 150
  98. },
  99. {
  100. "x": 240,
  101. "y": 150,
  102. "type": "link",
  103. "path": "/Applications"
  104. }
  105. ]
  106. }
  107. },
  108. "browserslist": [
  109. "> 1%",
  110. "last 2 versions",
  111. "not dead"
  112. ]
  113. }