package.json 2.9 KB

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