-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
195 lines (195 loc) · 6.49 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
195
{
"name": "xnat-desktop-client",
"version": "2.0.4",
"description": "XNAT Desktop Client",
"main": "main.js",
"extraMetadata": {
"submitUrl": "https://pharos.wurstworks.com/crashpad"
},
"scripts": {
"start": "npm-run-all -s sass:build electron-start",
"clean": "node -e \"['node_modules'].forEach(x => require('fs-extra').emptyDir(x))\"",
"dev": "npm-run-all -p electron-dev sass",
"sass-cli": "sass --watch XNAT/scss:assets/css",
"dev-win": "start yarn sass-cli & start yarn electron-dev",
"electron-start": "electron .",
"electron-dev": "electron . --debug",
"electron-rebuild": "electron-rebuild -f -s",
"sass": "npm-run-all -s sass:build sass:watch",
"sass:build": "node-sass-chokidar XNAT/scss/style.scss assets/css/style.css --output-style compressed --source-map true",
"sass:watch": "node-sass-chokidar XNAT/scss/ -o assets/css/ -w -r --output-style compressed --source-map true",
"pack-win": "electron-builder --win --dir",
"pack-win-x64": "electron-builder --win --x64 --dir",
"pack-linux": "electron-builder --linux --dir",
"pack-linux-x64": "electron-builder --linux --x64 --dir",
"pack-mac": "electron-builder --mac --dir",
"dist-win-x64": "electron-builder --win --x64 -p always",
"dist-win": "electron-builder --win -p always",
"dist-mac": "electron-builder --mac -p always",
"dist-linux": "electron-builder --linux -p always",
"dist-linux-x64": "electron-builder --linux --x64 -p always",
"package-mac": "electron-packager . --overwrite --platform=darwin --arch=x64 --icon=assets/icons/mac/XDC.icns --prune=true --out=release-builds",
"package-win": "electron-packager . electron-xnat-app --overwrite --asar=true --platform=win32 --arch=ia32 --icon=assets/icons/win/XDC.ico --prune=true --out=release-builds --version-string.CompanyName=CE --version-string.FileDescription=CE --version-string.ProductName=\"Electron XNAT App\"",
"package-linux": "electron-packager . electron-xnat-app --overwrite --asar=true --platform=linux --arch=x64 --icon=assets/icons/png/XDC.png --prune=true --out=release-builds",
"patch-java-binding": "./patch-java-binding.sh",
"postinstall": "find build_resources -name \"._*\" -exec rm '{}' \\;; find build_resources/jre -type f -perm +444 ! -perm +222 -exec chmod +w '{}' \\;; ./patch-java-binding.sh; electron-builder install-app-deps;",
"modify-file": "node modify.js"
},
"author": "Washington University in St. Louis",
"license": "ISC",
"dependencies": {
"anno.js": "^1.0.3",
"archiver": "^2.1.1",
"axios": "^0.18.0",
"blockui-npm": "^1.0.0",
"bootstrap": "^4.0.0",
"bootstrap-table": "^1.16.0",
"bootstrap4-tagsinput-douglasanpa": "^4.1.2",
"cornerstone-core-with-bg": "^2.2.8",
"cornerstone-math": "^0.1.8",
"cornerstone-wado-image-loader": "^2.2.3",
"cstools-overlay": "^3.18.6",
"dicom-parser": "^1.7.6",
"electron-log": "^2.2.17",
"electron-store": "1.3.0",
"electron-updater": "~4.2.0",
"file-saver": "^1.3.8",
"filesize": "^3.6.1",
"font-awesome": "^4.7.0",
"get-folder-size": "^1.0.1",
"glob": "^7.1.2",
"hammerjs": "^2.0.8",
"humanize-duration": "^3.16.0",
"is-online": "^7.0.0",
"is-retry-allowed": "^1.2.0",
"is-symlink": "^1.0.0",
"java": "^0.12.1",
"jquery": "^3.3.1",
"jquery.scrollintoview": "^1.9.4",
"lodash": "^4.17.5",
"lokijs": "^1.5.3",
"magic-check": "^1.0.3",
"mime-types": "^2.1.18",
"mkdir-recursive": "^0.4.0",
"moment": "^2.24.0",
"nedb": "^1.8.0",
"nedb-logger": "^0.1.0",
"nprogress": "^0.2.0",
"pnotify": "^3.2.1",
"popper.js": "^1.12.9",
"pretty-bytes": "^5.1.0",
"promise.prototype.finally": "^3.1.0",
"sha1": "^1.1.1",
"store2": "^2.7.0",
"sudo-prompt": "^8.2.5",
"sweetalert": "^2.1.0",
"sweetalert2": "^9.15.1",
"temp-dir": "^1.0.0",
"unzipper": "^0.8.13",
"x-editable": "^1.5.1",
"xml2js": "^0.4.19"
},
"devDependencies": {
"devtron": "^1.4.0",
"electron": "^3.1.13",
"electron-builder": "^21.2.0",
"electron-notarize": "^1.0.0",
"electron-packager": "^10.1.2",
"node-sass-chokidar": "^1.4.0",
"npm-run-all": "^4.1.2",
"ws": "3.3.2"
},
"build": {
"appId": "com.xnatapp.app",
"productName": "XNAT-Desktop-Client",
"afterSign": "scripts/notarize.js",
"asarUnpack": [
"node_modules/java/**/*",
"node_modules/async/**/*",
"node_modules/lodash/**/*",
"libs/**/*"
],
"directories": {
"buildResources": "build_resources",
"output": "dist"
},
"protocols": [
{
"name": "XNAT Desktop Client Protocols",
"schemes": [
"xnat",
"xnats"
],
"role": "Viewer"
}
],
"win": {
"icon": "assets/icons/win/XDC.ico",
"target": "nsis",
"publisherName": "WASHINGTON UNIVERSITY IN ST. LOUIS",
"verifyUpdateCodeSignature": false,
"extraResources": [
{
"from": "build_resources/jre/win-${arch}",
"to": "jre"
}
]
},
"mac": {
"icon": "assets/icons/mac/XDC.icns",
"category": "public.app-category.medical",
"target": [
"dmg",
"zip"
],
"extraResources": [
{
"from": "build_resources/jre/mac",
"to": "jre"
}
],
"gatekeeperAssess": false,
"hardenedRuntime": true,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist"
},
"linux": {
"artifactName": "${productName}-${version}.AppImage",
"icon": "assets/icons/png/XDC.png",
"target": "AppImage",
"extraResources": [
{
"from": "build_resources/jre/linux-${arch}",
"to": "jre"
}
]
},
"nsis": {
"artifactName": "${productName}-Setup-${version}.exe",
"oneClick": false,
"allowToChangeInstallationDirectory": false,
"perMachine": true,
"runAfterFinish": true,
"createDesktopShortcut": true,
"include": "build/installer.nsh"
},
"publish": [
{
"provider": "generic",
"url": "https://bitbucket.org/xnatdev/xnat-desktop-client/downloads"
}
],
"fileAssociations": [
{
"ext": "xnt",
"description": "XNAT file",
"role": "none"
}
]
},
"comments": {
"dependencies": {
"cornerstone-core-with-bg": "This is a fork of 'cornerstone-core' library with a different canvas background"
}
}
}