-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
65 lines (65 loc) · 3.24 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
{
"name": "StoX",
"productName": "StoX",
"version": "4.1.2",
"description": "StoX: An open source software for marine survey analyses",
"main": "build/index.js",
"scripts": {
"start": "tsc && electron ./build/index.js",
"start-server": "tsc && electron ./build/index.js --server",
"start-dev": "tsc-node-dev --respawn --transpileOnly ./index.ts && electron ./build/index.js",
"prepare": "node ./prepare.js",
"package-win": "tsc && electron-packager . --platform win32 --arch x64 --out dist/ --overwrite --asar --icon=assets/stox_icon.ico",
"package-mac": "tsc && electron-packager . --platform darwin --arch x64 --out dist/ --overwrite",
"package-linux": "tsc && electron-packager . --platform linux --arch x64 --out dist/ --overwrite",
"installer-win": "node installers/windows/createmsiinstaller.js",
"installer-mac": "electron-installer-dmg ./dist/StoX-darwin-x64/StoX.app --out dist/installers/ StoX-installer",
"installer-linux": "electron-installer-debian --src dist/StoX-linux-x64/ --dest dist/installers/ --arch amd64",
"package-and-installer-win": "npm run package-win && npm run installer-win",
"package-and-installer-sign-win": "npm run package-win && npm run signstox && npm run installer-win && npm run signinstaller",
"package-and-installer-mac": "npm run package-mac && npm run installer-mac",
"package-and-installer-linux": "npm run package-linux && npm run installer-linux",
"build-frontend": "npm run prepare && cd frontend && npm install --no-fund && ng build --configuration production --base-href --aot=true --build-optimizer=true && cd ..",
"build-frontend_no_prepare": "cd frontend && npm install --no-fund && ng build --configuration production --base-href --aot=true --build-optimizer=true && cd ..",
"build-win": "npm run build-frontend && npm run package-win && npm run installer-win ",
"build-mac": "npm run build-frontend && npm run package-and-installer-mac",
"build-linux": "npm run build-frontend && npm run package-and-installer-linux",
"build-win_no_prepare": "npm run build-frontend_no_prepare && npm run package-win && npm run installer-win ",
"build-mac_no_prepare": "npm run build-frontend_no_prepare && npm run package-and-installer-mac",
"build-linux_no_prepare": "npm run build-frontend_no_prepare && npm run package-and-installer-linux",
"signstox": "signtool.exe sign /a ./dist/StoX-win32-x64/StoX.exe",
"signinstaller": "signtool.exe sign /a ./dist/installers/stoxInstaller.exe",
"tsc": "tsc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/StoXProject/StoX.git"
},
"author": "IMR institute (HI)",
"license": "CC0-1.0",
"bugs": {
"url": "https://github.com/StoXProject/StoX/issues"
},
"homepage": "https://github.com/StoXProject/StoX#readme",
"dependencies": {
"@types/node": "^18.0.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"open-file-explorer": "^1.0.2",
"pkginfo": "^0.4.1",
"png-dpi-reader-writer": "^0.2.4",
"simple-node-logger": "^18.12.24",
"temp-dir": "^2.0.0"
},
"devDependencies": {
"electron": "^27.0.3",
"electron-packager": "^17.1.2",
"typescript": "4.9.5",
"uuid-by-string": "^4.0.0"
},
"build": {
"public": [
"./srv/**"
]
}
}