package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "Netron",
  3. "author": {
  4. "name": "Lutz Roeder",
  5. "email": "[email protected]",
  6. "url": "lutzroeder.com"
  7. },
  8. "version": "0.4.5",
  9. "description": "Viewer for ONNX neural network models",
  10. "license": "MIT",
  11. "repository": "lutzroeder/netron",
  12. "main": "src/app.js",
  13. "scripts": {
  14. "start": "electron .",
  15. "dist": "electron-builder --mac --linux --win",
  16. "release": "electron-builder --mac --linux --win --publish always",
  17. "postinstall": "electron-builder install-app-deps"
  18. },
  19. "dependencies": {
  20. "dagre-d3-renderer": "x.x.x",
  21. "electron-updater": "^2.16.1",
  22. "handlebars": "^4.0.11",
  23. "npm-font-open-sans": "^1.1.0",
  24. "protobufjs": "x.x.x"
  25. },
  26. "devDependencies": {
  27. "electron": "x.x.x",
  28. "electron-builder": "x.x.x"
  29. },
  30. "build": {
  31. "files": [
  32. "src/**/*"
  33. ],
  34. "appId": "com.lutzroeder.netron",
  35. "directories": {
  36. "buildResources": "setup"
  37. },
  38. "fileAssociations": {
  39. "ext": [
  40. "pb",
  41. "onnx"
  42. ],
  43. "name": "ONNX Model"
  44. },
  45. "mac": {
  46. "category": "public.app-category.developer-tools",
  47. "target": [
  48. "dmg",
  49. "zip"
  50. ]
  51. },
  52. "dmg": {
  53. "iconSize": 160,
  54. "contents": [
  55. {
  56. "x": 180,
  57. "y": 170
  58. },
  59. {
  60. "x": 480,
  61. "y": 170,
  62. "type": "link",
  63. "path": "/Applications"
  64. }
  65. ]
  66. },
  67. "linux": {
  68. "target": [
  69. "AppImage",
  70. "deb"
  71. ]
  72. },
  73. "win": {
  74. "target": [
  75. "nsis"
  76. ]
  77. },
  78. "nsis": {
  79. "perMachine": true
  80. }
  81. }
  82. }