package.json 2.9 KB

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