forked from lutzroeder/netron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
136 lines (136 loc) · 5.7 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "netron",
"productName": "Netron",
"author": {
"name": "Lutz Roeder",
"email": "[email protected]",
"url": "https://www.lutzroeder.com"
},
"version": "5.6.6",
"description": "Visualizer for neural network, deep learning, and machine learning models",
"license": "MIT",
"repository": "lutzroeder/netron",
"main": "source/app.js",
"scripts": {
"postinstall": "electron-builder install-app-deps",
"start": "[ -d node_modules ] || npm install && npx electron .",
"server": "node ./publish/server.js"
},
"dependencies": {
"electron-updater": "4.6.5"
},
"devDependencies": {
"electron": "17.2.0",
"electron-builder": "22.14.13",
"electron-notarize": "1.2.1",
"eslint": "8.12.0"
},
"eslintConfig": {
"env": {
"es6": true,
"browser": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2015,
"sourceType": "module"
},
"rules": {
"brace-style": [ "error", "stroustrup", { "allowSingleLine": true } ],
"indent": [ "error", 4, { "SwitchCase": 1 } ],
"linebreak-style": "off",
"no-trailing-spaces": "error",
"no-console": "error",
"prefer-const": [ "error", { "destructuring": "all" } ],
"semi": [ "error", "always" ]
},
"globals": {
"flatbuffers": "readonly",
"protobuf": "readonly"
}
},
"build": {
"appId": "com.lutzroeder.netron",
"productName": "Netron",
"files": [ "source/**/*" ],
"directories": { "buildResources": "./publish" },
"fileAssociations": [
{ "ext": "armnn", "name": "Arm NN Model" },
{ "ext": "cmf", "name": "CNTK Model" },
{ "ext": "dnn", "name": "CNTK Model" },
{ "ext": "h5", "name": "Keras Model" },
{ "ext": "hd5", "name": "Keras Model" },
{ "ext": "hdf5", "name": "Keras Model" },
{ "ext": "keras", "name": "Keras Model" },
{ "ext": "kmodel", "name": "Kendryte Model" },
{ "ext": "lite", "name": "TensorFlow Lite Model" },
{ "ext": "mar", "name": "MXNet Model" },
{ "ext": "meta", "name": "TensorFlow Meta Graph" },
{ "ext": "mlmodel", "name": "Core ML Model" },
{ "ext": "mlpackage", "name": "Core ML Model Package", "isPackage": true },
{ "ext": "mnn", "name": "MNN Model" },
{ "ext": "model", "name": "Model" },
{ "ext": "nn", "name": "Barracuda Model" },
{ "ext": "onnx", "name": "ONNX Model" },
{ "ext": "om", "name": "DaVinci OM Model" },
{ "ext": "ort", "name": "ONNX Runtime Model" },
{ "ext": "pb", "name": "Protocol Buffer" },
{ "ext": "pbtxt", "name": "Text Protocol Buffer" },
{ "ext": "prototxt", "name": "Text Protocol Buffer" },
{ "ext": "caffemodel", "name": "Caffe Model" },
{ "ext": "param", "name": "NCNN Model" },
{ "ext": "pth", "name": "PyTorch Model" },
{ "ext": "ptl", "name": "PyTorch Model" },
{ "ext": "pt", "name": "PyTorch Model" },
{ "ext": "t7", "name": "Torch Model" },
{ "ext": "tflite", "name": "TensorFlow Lite Model" },
{ "ext": "tfl", "name": "TensorFlow Lite Model" },
{ "ext": "tmfile", "name": "Tengine" },
{ "ext": "paddle", "name": "PaddlePaddle" },
{ "ext": "pdmodel", "name": "PaddlePaddle" },
{ "ext": "pdparams", "name": "PaddlePaddle" },
{ "ext": "nb", "name": "Paddle Lite" },
{ "ext": "rknn", "name": "RKNN" },
{ "ext": "uff", "name": "UFF Model" },
{ "ext": "xmodel", "name": "Vitis AI Model" }
],
"afterSign": "./publish/notarize.js",
"publish": [
{ "provider": "github", "releaseType": "release" }
],
"linux": {
"target": [ "AppImage", "snap" ]
},
"mac": {
"artifactName": "${productName}-${version}-mac.${ext}",
"category": "public.app-category.developer-tools",
"darkModeSupport": true,
"gatekeeperAssess": false,
"hardenedRuntime": true,
"target": [ "dmg", "zip" ]
},
"win": {
"target": [ "nsis" ],
"signingHashAlgorithms": [ "sha256" ],
"verifyUpdateCodeSignature": false
},
"dmg": {
"artifactName": "${productName}-${version}.${ext}",
"title": "${productName} ${version}",
"writeUpdateInfo": false,
"iconSize": 160,
"contents": [
{ "x": 180, "y": 170 },
{ "x": 480, "y": 170, "type": "link", "path": "/Applications" }
]
},
"nsis": {
"differentialPackage": false
},
"snap": {
"plugs": [ "default", "removable-media" ],
"publish": [ { "provider": "snapStore", "channels": [ "stable" ] } ]
}
}
}