-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.43 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (85 loc) · 2.43 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "opensave",
"version": "1.1.4",
"description": "Universal P2P game save synchronizer",
"author": {
"name": "Siva Prakash",
"email": "sivadaboi@gmail.com"
},
"main": "src/main.js",
"type": "module",
"bin": {
"opensave": "./bin/opensave.js"
},
"scripts": {
"start": "node src/daemon/index.js",
"start:relay": "node src/relay-server.js",
"start:app": "electron .",
"dist:app": "electron-builder --win && electron-builder --linux",
"port:forward": "node scripts/upnp-port-forward.js 8386",
"port:unforward": "node scripts/upnp-port-forward.js 8386 --delete",
"test": "node test/test-path-translation.js && node test/test-security.js && node test/test-single-file.js && node test/test-sync.js && node test/test-qol-features.js && node test/test-startup-errors.js && node test/test-linux-autostart.js && node test/test-cloud-sync.js && node test/test-oauth-flows.js && node test/test-cloud-explorer.js && node test/test-comprehensive-e2e.js",
"test:wan": "node test/test-wan-relay.js",
"deploy:relay": "echo 'Push to GitHub then go to https://render.com/deploy and connect your repo. render.yaml handles the rest.'"
},
"dependencies": {
"adm-zip": "^0.5.17",
"chokidar": "^5.0.0",
"express": "^5.2.1",
"ws": "^8.21.0"
},
"pkg": {
"assets": [
"src/frontend/**/*"
]
},
"devDependencies": {
"electron": "^42.2.0",
"electron-builder": "^26.8.1"
},
"build": {
"appId": "com.opensave.app",
"productName": "OpenSave",
"afterPack": "./scripts/after-pack.cjs",
"win": {
"target": [
"nsis",
"zip"
],
"icon": "src/tray-icon.png"
},
"linux": {
"target": [
"tar.gz"
],
"category": "Utility",
"icon": "src/tray-icon.png"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"perMachine": true,
"license": "PRIVACY.md",
"include": "installer.nsh",
"installerHeaderIcon": "src/tray-icon.png",
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "OpenSave",
"artifactName": "${productName}.Setup.${version}.${ext}"
},
"files": [
"src/**/*",
"package.json",
"PRIVACY.md"
],
"extraResources": [
{
"from": "PRIVACY.md",
"to": "PRIVACY.md"
}
],
"directories": {
"output": "dist-app"
}
}
}