-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
141 lines (141 loc) · 5.54 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
{
"name": "secure.client",
"version": "1.10.0",
"description": "cross platform client for ferrumgate servers",
"main": "main.js",
"scripts": {
"preparefortest": "./node_modules/.bin/chromedriver",
"test": "npm run build && NODE_ENV=development node ./node_modules/electron-mocha/bin/electron-mocha --exit --timeout 30000 --require ts-node/register test/**/statusUI.spec.ts",
"testnode": "npm run build && NODE_ENV=development node ./node_modules/mocha/bin/mocha --exit --timeout 30000 --require ts-node/register test/**/tunnelApiService.spec.ts",
"build": "tsc && cp package.json ./build/src/ && cp ./src/ui/*.html ./build/src/ui/ && cp ./src/ui/*.css ./build/src/ui/ && cp -R ./src/assets ./build/src/ && cp ./src/service/unix/ssh* build/src/service/unix/ && cp ./src/service/unix/quic* build/src/service/unix/ && cp ./src/service/win32/ssh* build/src/service/win32/ && cp ./src/service/win32/quic* build/src/service/win32/ &&cp ./src/service/win32/wintun* build/src/service/win32/ && cp -R ./src/service/win32/svc build/src/service/win32/ && cp -R ./src/service/darwin/x86_64 build/src/service/darwin/ && cp -R ./src/service/darwin/arm64 build/src/service/darwin/",
"clean": "rm -rf ./build ./dist ./pack",
"start": "npm run build && NODE_ENV=development2 ./node_modules/electron/dist/electron ./build/src/main.js",
"startwin32": "set NODE_ENV=development2 && node_modules\\electron\\dist\\electron ./build/src/main.js",
"startdarwin": "NODE_ENV=development2 ./node_modules/electron/dist/Electron.app/Contents/MacOS/Electron ./build/src/main.js",
"packlinux": "cd ./build/src && npm install --only=prod && cd ../../ && electron-packager ./build/src --platform=linux --arch=x64 --out=pack --icon=./build/src/assets/img/logo.png --overwrite",
"distlinux": "npx electron-builder build --linux --x64",
"publishlinux": "npm run clean && npm run build && npm run packlinux && npm run distlinux",
"packwin32": "cd ./build/src && npm install --only=prod && cd ../../ && electron-packager ./build/src FerrumGate --platform=win32 --arch=x64 --out=pack --icon=./build/src/assets/img/logo.png --overwrite",
"distwin32": "node ./src_installer/wix.js",
"publishwin32": "npm run clean && npm run build && npm run packwin32 && npm run distwin32",
"packdarwin": "cd ./build/src && npm install --only=prod && cd ../../ && electron-packager ./build/src --platform=darwin --arch=x64 --out=pack --icon=./build/src/assets/img/logo.png --overwrite",
"distdarwin": "npx electron-builder build --mac --x64",
"publishdarwin": "npm run clean && npm run build && npm run packdarwin && npm run distdarwin",
"packdarwin-arm": "cd ./build/src && npm install --only=prod && cd ../../ && electron-packager ./build/src --platform=darwin --arch=arm64 --out=pack --icon=./build/src/assets/img/logo.png --overwrite",
"distdarwin-arm": "npx electron-builder build --mac --arm64",
"publishdarwin-arm": "npm run clean && npm run build && npm run packdarwin-arm && npm run distdarwin-arm",
"showasar": "npx asar l dist/linux-unpacked/resources/app.asar"
},
"build": {
"extraMetadata": {
"main": "main.js",
"name": "ferrumgate",
"packageName": "ferrumgate"
},
"artifactName": "${name}_${version}_${os}_${arch}.${ext}",
"appId": "com.ferrumgate.client",
"productName": "FerrumGate",
"executableName": "ferrumgate",
"extends": null,
"compression": "store",
"asar": false,
"generateUpdatesFilesForAllChannels": true,
"files": [
{
"from": "build/src",
"to": ".",
"filter": [
"**/*",
"!foo/*.js"
]
}
],
"directories": {
"buildResources": "build/src/assets/img",
"output": "dist"
},
"win": {
"requestedExecutionLevel": "requireAdministrator",
"target": [
{
"target": "msi",
"arch": [
"x64"
]
}
]
},
"mac": {
"target": [
"zip",
"dmg"
],
"hardenedRuntime": false,
"gatekeeperAssess": false,
"strictVerify": false
},
"linux": {
"target": [
"deb",
"zip",
"rpm"
],
"category": "Network"
},
"deb": {
"depends": [
"zlib1g"
]
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/ferrumgate/secure.client.git"
},
"keywords": [
"zero",
"trust",
"network",
"access"
],
"author": {
"name": "development",
"email": "[email protected]"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/ferrumgate/secure.client/issues"
},
"homepage": "https://github.com/ferrumgate/secure.client#readme",
"devDependencies": {
"@playwright/test": "^1.46.1",
"@types/chai": "^4.3.17",
"@types/mocha": "^10.0.7",
"@types/ping": "^0.4.4",
"@types/selenium-webdriver": "^4.1.25",
"@types/yargs": "^17.0.33",
"asar": "^3.2.0",
"chai": "^5.1.1",
"electron": "^32.1.0",
"electron-builder": "^24.13.3",
"electron-chromedriver": "^31.3.1",
"electron-mocha": "^13.0.0",
"electron-packager": "^17.1.2",
"electron-wix-msi": "^5.1.3",
"fast-xml-parser": "^4.4.1",
"mocha": "^10.7.3",
"mock-http-server": "^1.4.5",
"selenium-webdriver": "^4.23.0",
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
},
"dependencies": {
"appdata-path": "^1.0.0",
"axios": "^1.7.4",
"electron-log": "^5.1.7",
"electron-unhandled": "4.0.1",
"ping": "^0.4.4",
"set-interval-async": "^3.0.3",
"yargs": "^17.7.2"
}
}