forked from unknownskl/greenlight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 3.85 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
{
"name": "Xbox-xCloud",
"version": "1.2.0",
"description": "xbox-xcloud-client is an open-source client for Xbox home streaming made in Javascript and Typescript.",
"main": ".webpack/main",
"scripts": {
"start": "ISDEV=true electron-forge start",
"startfullscreen": "ISDEV=true electron-forge start -- --fullscreen",
"startconnect": "ISDEV=true electron-forge start -- --connect=F400000000000000",
"compile": "electron-forge make",
"test": "echo \"Error: no test specified\" && exit 1",
"package": "electron-forge package",
"make": "electron-forge make",
"publish": "electron-forge publish",
"lint": "eslint --ext .ts .",
"builder": "electron-builder"
},
"build": {
"appId": "unknownskl.xcloud-client",
"mac": {
"target": {
"target": "dmg",
"arch": [
"universal"
]
},
"mergeASARs": false,
"icon": "src/assets/icon.icns"
},
"win": {
"icon": "src/assets/icon.ico"
},
"linux": {
"target": "deb"
},
"nsis": {
"shortcutName": "xHome Streaming",
"runAfterFinish": true
}
},
"author": "UnknownSKL <[email protected]>",
"license": "MIT",
"dependencies": {
"electron-squirrel-startup": "^1.0.0",
"url": "^0.11.0",
"xbox-webapi": "^1.4.1"
},
"devDependencies": {
"@electron-forge/cli": "^6.0.0-beta.67",
"@electron-forge/maker-deb": "^6.0.4",
"@electron-forge/maker-rpm": "^6.0.4",
"@electron-forge/maker-squirrel": "^6.0.4",
"@electron-forge/maker-zip": "^6.0.4",
"@electron-forge/plugin-webpack": "^6.0.0-beta.68",
"@types/express": "^4.17.15",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.47.1",
"@vercel/webpack-asset-relocator-loader": "^1.7.3",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.3",
"electron": "20.2.0",
"electron-builder": "^23.6.0",
"eslint": "^8.31.0",
"eslint-plugin-import": "^2.26.0",
"express": "^4.18.2",
"fork-ts-checker-webpack-plugin": "^7.2.14",
"https-browserify": "^1.0.0",
"mime": "^3.0.0",
"node-loader": "^2.0.0",
"stream-http": "^3.2.0",
"style-loader": "^3.3.1",
"ts-loader": "^9.4.2",
"typescript": "^4.9.4",
"webpack-cli": "^4.10.0",
"xbox-xcloud-player": "^0.1.3"
},
"config": {
"forge": {
"packagerConfig": {},
"makers": [
{
"name": "@electron-forge/maker-squirrel",
"config": {
"name": "xbox_xcloud_client"
}
},
{
"name": "@electron-forge/maker-zip",
"platforms": [
"darwin"
]
},
{
"name": "@electron-forge/maker-deb",
"config": {}
},
{
"name": "@electron-forge/maker-rpm",
"config": {}
}
],
"plugins": [
[
"@electron-forge/plugin-webpack",
{
"mainConfig": "./webpack.main.config.js",
"renderer": {
"config": "./webpack.renderer.config.js",
"entryPoints": [
{
"html": "./src/index.html",
"js": "./src/renderer.ts",
"name": "main_window"
},
{
"html": "./src/webui.html",
"js": "./src/webui.ts",
"name": "webui"
}
]
},
"devContentSecurityPolicy": "worker-src 'self' blob: data:; img-src http://localhost:3000 https://store-images.s-microsoft.com https://*.xboxlive.com data:; media-src 'unsafe-inline' blob:; connect-src 'self' https://displaycatalog.mp.microsoft.com https://*.xbox.com https://*.xboxlive.com; default-src 'self' 'unsafe-inline' data:; script-src 'self' 'unsafe-eval' 'unsafe-inline' data:"
}
]
]
}
}
}