forked from lutzroeder/netron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·194 lines (194 loc) · 8.73 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
{
"name": "netron",
"productName": "Netron",
"author": {
"name": "Lutz Roeder",
"email": "[email protected]",
"url": "https://www.lutzroeder.com"
},
"version": "7.2.2",
"date": "2023-10-07 01:28:40",
"description": "Visualizer for neural network, deep learning, and machine learning models",
"license": "MIT",
"repository": "lutzroeder/netron",
"main": "source/app.js",
"scripts": {
"start": "node package.js start",
"server": "python package.py build start",
"test": "node test/models.js",
"lint": "node package.js lint",
"clean": "node package.js clean",
"purge": "node package.js purge",
"build": "node package.js build",
"publish": "node package.js publish",
"version": "node package.js version",
"coverage": "node package.js coverage",
"analyze": "node package.js analyze",
"update": "node package.js update",
"pull": "node package.js pull"
},
"dependencies": {
"electron-updater": "6.1.4"
},
"devDependencies": {
"electron": "26.3.0",
"electron-builder": "24.6.4",
"@electron/notarize": "2.1.0",
"eslint": "8.51.0"
},
"eslintConfig": {
"env": {
"es2017": true,
"browser": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"array-callback-return": "error",
"brace-style": "error",
"curly": "error",
"consistent-return": "error",
"default-case": "error",
"default-case-last": "error",
"indent": [ "error", 4, { "SwitchCase": 1 } ],
"keyword-spacing": "error",
"linebreak-style": "off",
"no-array-constructor": "error",
"no-await-in-loop": "error",
"no-console": "error",
"no-constructor-return": "error",
"no-duplicate-imports": "error",
"no-else-return": "error",
"no-extra-semi": "error",
"no-invalid-this": "error",
"no-iterator": "error",
"no-labels": "error",
"no-lone-blocks": "error",
"no-lonely-if": "error",
"no-promise-executor-return": "error",
"no-proto": "error",
"no-self-compare": "error",
"no-sequences": "error",
"no-template-curly-in-string": "error",
"no-trailing-spaces": "error",
"no-unmodified-loop-condition": "error",
"no-unreachable-loop": "error",
"no-unused-private-class-members": "error",
"no-use-before-define": "error",
"object-curly-spacing": [ "error", "always" ],
"prefer-const": [ "error", { "destructuring": "all" } ],
"require-atomic-updates": "error",
"semi": [ "error", "always" ],
"space-before-blocks": "error",
"space-in-parens": "error"
},
"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": "caffemodel", "name": "Caffe Model" },
{ "ext": "circle", "name": "Circle Model" },
{ "ext": "ckpt", "name": "Model Checkpoint" },
{ "ext": "cmf", "name": "CNTK Model" },
{ "ext": "dlc", "name": "DLC Model" },
{ "ext": "dnn", "name": "CNTK Model" },
{ "ext": "h5", "name": "Keras Model" },
{ "ext": "har", "name": "Hailo Model" },
{ "ext": "hd5", "name": "Keras Model" },
{ "ext": "hdf5", "name": "Keras Model" },
{ "ext": "hn", "name": "Hailo 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": "mge", "name": "MegEngine Mge Model" },
{ "ext": "mlmodel", "name": "Core ML Model" },
{ "ext": "mlnet", "name": "ML.NET Model" },
{ "ext": "mlpackage", "name": "Core ML Model Package", "isPackage": true },
{ "ext": "mnn", "name": "MNN Model" },
{ "ext": "model", "name": "Model" },
{ "ext": "nb", "name": "Paddle Lite Model" },
{ "ext": "ngf", "name": "ONNX Model" },
{ "ext": "nn", "name": "Barracuda Model" },
{ "ext": "nnp", "name": "Neural Network Libraries" },
{ "ext": "npy", "name": "NumPy Array" },
{ "ext": "npz", "name": "NumPy Archive" },
{ "ext": "om", "name": "DaVinci OM Model" },
{ "ext": "onnx", "name": "ONNX Model" },
{ "ext": "ort", "name": "ONNX Runtime Model" },
{ "ext": "paddle", "name": "PaddlePaddle Model" },
{ "ext": "param", "name": "NCNN Model" },
{ "ext": "pb", "name": "Protocol Buffer" },
{ "ext": "pbtxt", "name": "Text Protocol Buffer" },
{ "ext": "pdiparams", "name": "PaddlePaddle Model" },
{ "ext": "pdmodel", "name": "PaddlePaddle Model" },
{ "ext": "pdopt", "name": "PaddlePaddle Model" },
{ "ext": "pdparams", "name": "PaddlePaddle Model" },
{ "ext": "pkl", "name": "Pickle Model" },
{ "ext": "prototxt", "name": "Text Protocol Buffer" },
{ "ext": "pt", "name": "PyTorch Model" },
{ "ext": "pth", "name": "PyTorch Model" },
{ "ext": "ptl", "name": "PyTorch Model" },
{ "ext": "rknn", "name": "RKNN Model" },
{ "ext": "safetensors", "name": "Safetensors Checkpoint" },
{ "ext": "t7", "name": "Torch Model" },
{ "ext": "tfl", "name": "TensorFlow Lite Model" },
{ "ext": "tflite", "name": "TensorFlow Lite Model" },
{ "ext": "tmfile", "name": "Tengine Model" },
{ "ext": "tm", "name": "MegEngine Traced Model" },
{ "ext": "tnnproto", "name": "TNN Model" },
{ "ext": "torchscript", "name": "PyTorch Model" },
{ "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" ] } ]
}
}
}