This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 101
/
package.json
107 lines (107 loc) · 3.26 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
{
"name": "playstationdiscord",
"version": "3.3.0",
"description": "Discord Rich Presence for PlayStation consoles.",
"main": "./dist/app.js",
"build": {
"appId": "com.tustin.playstationdiscord",
"productName": "PlayStationDiscord",
"win": {
"target": "nsis",
"icon": "./build/icons/win/icon.ico"
},
"mac": {
"target": "dmg",
"icon": "./build/icons/mac/icon.icns"
},
"directories": {
"output": "./build/release/${os}${arch}"
},
"files": [
"node_modules/**/*",
"dist/**/*",
"assets/images/*",
"package.json"
],
"nsis": {
"runAfterFinish": true,
"createDesktopShortcut": true,
"oneClick": false,
"installerIcon": "./build/icons/win/icon.ico",
"uninstallerIcon": "./build/icons/win/icon.ico",
"installerHeaderIcon": "./build/icons/win/icon.ico",
"uninstallDisplayName": "PlayStationDiscord ${version}",
"artifactName": "installer-${productName}-${version}.${ext}",
"perMachine": true,
"allowToChangeInstallationDirectory": true,
"include": "build/installer.nsh"
},
"publish": {
"provider": "github",
"releaseType": "draft",
"vPrefixedTagName": true
}
},
"scripts": {
"lint": "tslint --project .",
"compile": "npm run lint && tsc && sass ./assets/app.scss ./dist/app.css --style=compressed --no-source-map",
"watch": "tsc -w",
"start": "npm run compile && cross-env NODE_ENV=dev electron .",
"build:icons": "electron-icon-maker -i ./assets/images/logo.png -o ./build/",
"build:win": "npm run compile && npm run build:icons && electron-builder build --ia32 --x64",
"build:mac": "npm run compile && npm run build:icons && electron-builder build --mac",
"build": "npm run compile && npm run build:icons",
"release": "npm run compile && npm run build:icons && electron-builder build",
"test": "npm run compile && npm run build:icons && electron-packager . --asar --overwrite --out=test && cross-env NODE_ENV=dev ./test/playstationdiscord-win32-x64/playstationdiscord.exe"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Tustin/PlayStationDiscord.git"
},
"keywords": [
"discord",
"rich",
"presence",
"rpc",
"playstation",
"psn",
"ps5",
"ps4",
"ps3",
"vita"
],
"author": "Tustin",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/Tustin/PlayStationDiscord/issues"
},
"homepage": "https://tusticles.com/PlayStationDiscord/",
"dependencies": {
"@types/lodash": "^4.14.168",
"axios": "^0.24.0",
"compare-versions": "^4.1.2",
"discord-rpc": "^4.0.1",
"electron-log": "^4.3.2",
"electron-store": "^8.0.1",
"electron-updater": "^4.0.6",
"lodash": "^4.17.21",
"normalize.css": "^8.0.1",
"progress-stream": "^2.0.0",
"query-string": "^7.0.1",
"unorm": "^1.6.0"
},
"devDependencies": {
"@types/discord-rpc": "^4.0.0",
"@types/node": "^17.0.5",
"@types/semver": "^7.3.9",
"cross-env": "^7.0.3",
"electron": "^16.0.5",
"electron-builder": "~22.13.1",
"electron-icon-maker": "^0.0.5",
"electron-packager": "^15.4.0",
"register-scheme": "^0.0.2",
"sass": "^1.32.8",
"tslint": "^6.1.3",
"typescript": "^4.5.4"
}
}