package.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "name": "knotes-desktop",
  3. "version": "1.0.0",
  4. "description": "kNotes Desktop App - A simple notes application",
  5. "main": "main.js",
  6. "scripts": {
  7. "start": "electron .",
  8. "build": "electron-builder",
  9. "build-all": "electron-builder -mwl",
  10. "build-win": "electron-builder --win",
  11. "build-mac": "electron-builder --mac",
  12. "build-linux": "electron-builder --linux",
  13. "dist": "electron-builder --publish=never"
  14. },
  15. "author": "lhamacorp",
  16. "license": "MIT",
  17. "devDependencies": {
  18. "electron": "^28.2.0",
  19. "electron-builder": "^24.9.1"
  20. },
  21. "build": {
  22. "appId": "com.lhamacorp.knotes",
  23. "productName": "kNotes",
  24. "directories": {
  25. "output": "dist"
  26. },
  27. "files": [
  28. "**/*",
  29. "!node_modules",
  30. "!dist"
  31. ],
  32. "mac": {
  33. "category": "public.app-category.productivity",
  34. "icon": "img/logo.png"
  35. },
  36. "win": {
  37. "target": "nsis",
  38. "icon": "img/logo.png"
  39. },
  40. "linux": {
  41. "target": "AppImage",
  42. "icon": "img/logo.png",
  43. "category": "Office"
  44. },
  45. "nsis": {
  46. "oneClick": false,
  47. "allowToChangeInstallationDirectory": true
  48. }
  49. }
  50. }