package.json 2.7 KB

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