package.json 2.8 KB

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