package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "premid",
  3. "productName": "PreMiD",
  4. "author": "Florian 'Timeraa' Metz <me@timeraa.dev> (https://github.com/Timeraa)",
  5. "description": "Discord Rich Presence for web services!",
  6. "version": "2.3.4",
  7. "repository": {
  8. "type": "git",
  9. "url": "git://github.com/PreMiD/Linux.git"
  10. },
  11. "bugs": {
  12. "url": "https://github.com/PreMiD/Linux/issues"
  13. },
  14. "homepage": "https://premid.app",
  15. "license": "MPL-2.0",
  16. "scripts": {
  17. "init": "tsc && devScript --copyOnly",
  18. "start": "electron dist/app/. --unhandled-rejections=strict",
  19. "dev": "devScript",
  20. "dist": "tsc && devScript --copyOnly && cd dist/app/ && yarn install",
  21. "build": "electron-builder --project ./dist/app/ -p never",
  22. "build:appimage": "electron-builder --project ./dist/app/ build -l AppImage --x64 -p onTagOrDraft",
  23. "build:n-appimage": "electron-builder --project ./dist/app/ build -l AppImage --x64 -p never"
  24. },
  25. "build": {
  26. "appId": "com.PreMiD.app",
  27. "copyright": "PreMiD",
  28. "linux": {
  29. "maintainer": "PreMiD contributors (https://github.com/PreMiD)",
  30. "category": "Utility",
  31. "artifactName": "${productName}.${ext}",
  32. "icon": "assets/appIcon.icns",
  33. "target": [
  34. "tar.gz",
  35. "deb",
  36. "rpm"
  37. ],
  38. "extraFiles": [
  39. "assets/premid.desktop",
  40. "assets/appIcon.png"
  41. ]
  42. },
  43. "publish": [
  44. {
  45. "provider": "github",
  46. "owner": "PreMiD",
  47. "repo": "Linux",
  48. "vPrefixedTagName": true,
  49. "releaseType": "release"
  50. }
  51. ]
  52. },
  53. "devDependencies": {
  54. "@types/auto-launch": "5.0.1",
  55. "@types/discord-rpc": "3.0.5",
  56. "@types/node": "14.14.37",
  57. "@types/socket.io": "2.1.13",
  58. "electron": "11.3.0",
  59. "electron-builder": "23.0.3",
  60. "ts-devscript": "1.0.8",
  61. "typescript": "4.0.3"
  62. },
  63. "dependencies": {
  64. "auto-launch": "5.0.5",
  65. "discord-rpc": "^3.2.0",
  66. "electron-store": "6.0.1",
  67. "electron-updater": "5.0.1",
  68. "socket.io": "3.1.1",
  69. "source-map-support": "0.5.16"
  70. }
  71. }