package.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "name": "Netron",
  3. "author": {
  4. "name": "Lutz Roeder",
  5. "email": "[email protected]",
  6. "url": "lutzroeder.com"
  7. },
  8. "version": "1.1.4",
  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 --draft false --prerelease false",
  17. "postinstall": "electron-builder install-app-deps"
  18. },
  19. "dependencies": {
  20. "dagre": "x.x.x",
  21. "d3": "x.x.x",
  22. "electron-updater": "^2.17.6",
  23. "flatbuffers": "^1.8.0",
  24. "handlebars": "x.x.x",
  25. "marked": "x.x.x",
  26. "npm-font-open-sans": "x.x.x",
  27. "protobufjs": "x.x.x"
  28. },
  29. "devDependencies": {
  30. "electron": "x.x.x",
  31. "electron-builder": "x.x.x"
  32. },
  33. "build": {
  34. "publish": [
  35. {
  36. "provider": "github",
  37. "releaseType": "release"
  38. }
  39. ],
  40. "files": [
  41. "src/**/*"
  42. ],
  43. "appId": "com.lutzroeder.netron",
  44. "directories": {
  45. "buildResources": "setup"
  46. },
  47. "fileAssociations": [
  48. {
  49. "ext": [
  50. "onnx",
  51. "pb"
  52. ],
  53. "name": "ONNX Model"
  54. },
  55. {
  56. "ext": [
  57. "saved_model.pb"
  58. ],
  59. "name": "TensorFlow Saved Model"
  60. },
  61. {
  62. "ext": [
  63. "pb"
  64. ],
  65. "name": "TensorFlow Graph"
  66. },
  67. {
  68. "ext": [
  69. "tflite"
  70. ],
  71. "name": "TensorFlow Lite Model"
  72. }
  73. ],
  74. "mac": {
  75. "category": "public.app-category.developer-tools",
  76. "target": [
  77. "dmg",
  78. "zip"
  79. ]
  80. },
  81. "dmg": {
  82. "iconSize": 160,
  83. "contents": [
  84. {
  85. "x": 180,
  86. "y": 170
  87. },
  88. {
  89. "x": 480,
  90. "y": 170,
  91. "type": "link",
  92. "path": "/Applications"
  93. }
  94. ]
  95. },
  96. "linux": {
  97. "target": [
  98. "AppImage",
  99. "deb"
  100. ]
  101. },
  102. "win": {
  103. "target": [
  104. "nsis"
  105. ]
  106. },
  107. "nsis": {
  108. "perMachine": true
  109. }
  110. }
  111. }