-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.05 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 2.05 KB
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
{
"name": "lanextend",
"version": "0.2.0",
"description": "LAN virtual extended display: macOS host to Windows receiver",
"main": "src/main.js",
"author": "LanExtend contributors",
"license": "MIT",
"private": true,
"engines": {
"node": ">=22",
"npm": ">=10"
},
"scripts": {
"start": "electron .",
"dev:host": "electron . --role=host --allow-multiple-instances",
"dev:receiver": "electron . --role=receiver --allow-multiple-instances",
"build:native": "node scripts/build-native.mjs",
"pretest": "node scripts/check-source.mjs",
"test": "node --test --test-reporter=spec",
"verify": "npm run build:native && npm test",
"dist:mac": "npm run build:native && electron-builder --mac dmg zip --universal --publish never",
"dist:win": "electron-builder --win portable zip --x64 --publish never",
"dist": "npm run dist:mac"
},
"dependencies": {
"ws": "8.21.3"
},
"devDependencies": {
"electron": "43.2.0",
"electron-builder": "26.15.3"
},
"build": {
"appId": "dev.lanextend.desktop",
"productName": "LanExtend",
"icon": "assets/icon.png",
"asar": true,
"artifactName": "LanExtend-${version}-${os}-${arch}.${ext}",
"files": [
"src/**/*",
"assets/**/*",
"package.json",
"LICENSE",
"THIRD_PARTY_NOTICES.md"
],
"directories": {
"output": "release"
},
"mac": {
"category": "public.app-category.utilities",
"minimumSystemVersion": "14.0",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"extendInfo": {
"NSScreenCaptureUsageDescription": "LanExtend 需要捕获虚拟扩展屏并将画面发送到您选择的局域网设备。",
"NSLocalNetworkUsageDescription": "LanExtend 使用局域网发现并连接您的 Windows 子端。"
},
"extraResources": [
{
"from": "native/macos/.build/lanextend-vdisplay",
"to": "native/lanextend-vdisplay"
}
]
},
"win": {
"target": [
"portable",
"zip"
]
}
}
}