You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
990 B

  1. {
  2. "appId": "com.electron.app",
  3. "directories": {
  4. "output": "dist"
  5. },
  6. "nsis": {
  7. "oneClick": false,
  8. "perMachine": false,
  9. "allowToChangeInstallationDirectory": true,
  10. "shortcutName": "Electron App"
  11. },
  12. "win": {
  13. "target": "nsis"
  14. },
  15. "linux": {
  16. "target": ["snap"]
  17. },
  18. "files": [
  19. "build/main/**/*",
  20. {
  21. "from": "build/renderer",
  22. "to": "renderer",
  23. "filter": ["**/*"]
  24. },
  25. {
  26. "from": "src/main/static",
  27. "to": "static",
  28. "filter": ["**/*"]
  29. },
  30. "!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}",
  31. "!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}",
  32. "!**/node_modules/*.d.ts",
  33. "!**/node_modules/.bin",
  34. "!src",
  35. "!config",
  36. "!README.md",
  37. "!scripts",
  38. "!build/renderer",
  39. "!dist"
  40. ]
  41. }