forked from Tustin/PlayStationDiscord
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
102 lines (102 loc) · 3.1 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
{
"name": "playstationdiscord",
"version": "3.0.2",
"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": false
}
},
"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 && 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 --windows",
"build:mac": "npm run compile && npm run build:icons && electron-builder build --mac",
"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 && ./test/playstationdiscord-win32-x64/playstationdiscord.exe"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Tustin/PlayStationDiscord.git"
},
"keywords": [
"discord",
"rich",
"presence",
"rpc",
"playstation",
"psn",
"ps4",
"ps3",
"vita"
],
"author": "Tustin",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/Tustin/PlayStationDiscord/issues"
},
"homepage": "https://tusticles.com/PlayStationDiscord/",
"dependencies": {
"axios": "^0.18.0",
"compare-versions": "^3.4.0",
"discord-rich-presence": "0.0.8",
"electron-is-dev": "^1.0.1",
"electron-log": "^3.0.1",
"electron-store": "^2.0.0",
"electron-updater": "^4.0.6",
"progress-stream": "^2.0.0",
"query-string": "^6.2.0"
},
"devDependencies": {
"@types/electron-is-dev": "^0.3.0",
"@types/electron-store": "^1.3.0",
"@types/query-string": "^6.2.0",
"@types/semver": "^5.5.0",
"electron": "^4.0.4",
"electron-builder": "^20.38.5",
"electron-icon-maker": "^0.0.4",
"electron-packager": "^13.0.1",
"register-scheme": "^0.0.2",
"sass": "^1.16.1",
"tslint": "^5.12.1",
"typescript": "^3.2.4"
}
}