162 lines
7.7 KiB
JSON
162 lines
7.7 KiB
JSON
{
|
|
"name": "discord-vscode",
|
|
"displayName": "Discord Presence",
|
|
"version": "2.12.1",
|
|
"description": "Update your discord status with the newly added rich presence.",
|
|
"private": true,
|
|
"author": {
|
|
"name": "iCrawl",
|
|
"email": "icrawltogo@gmail.com"
|
|
},
|
|
"contributors": [
|
|
{
|
|
"name": "Frangu Vlad",
|
|
"email": "kingdgrizzle@gmail.com"
|
|
}
|
|
],
|
|
"publisher": "icrawl",
|
|
"license": "MIT",
|
|
"main": "./out/src/extension",
|
|
"scripts": {
|
|
"compile": "tsc -p ./",
|
|
"postinstall": "node ./node_modules/vscode/bin/install",
|
|
"test": "node ./node_modules/vscode/bin/test",
|
|
"lint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts'"
|
|
},
|
|
"activationEvents": [
|
|
"*"
|
|
],
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "discord.enable",
|
|
"title": "Enable Discord Presence in the current workspace",
|
|
"category": "Discord Presence"
|
|
},
|
|
{
|
|
"command": "discord.disable",
|
|
"title": "Disable Discord Presence in the current workspace",
|
|
"category": "Discord Presence"
|
|
}
|
|
],
|
|
"configuration": [
|
|
{
|
|
"title": "Discord Presence Configuration",
|
|
"type": "object",
|
|
"properties": {
|
|
"discord.clientID": {
|
|
"type": "string",
|
|
"default": "383226320970055681",
|
|
"description": "Only modify this if you know what you are doing (most of you don't)"
|
|
},
|
|
"discord.enabled": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Controls if the Discord Presence should show across all workspaces"
|
|
},
|
|
"discord.reconnectThreshold": {
|
|
"type": "number",
|
|
"default": 20,
|
|
"description": "Decides how many reconnect attempts should be made before stopping"
|
|
},
|
|
"discord.detailsEditing": {
|
|
"type": "string",
|
|
"default": "Editing {filename}",
|
|
"description": "Custom string for the details section of the rich presence\n\t- '{null}' will be replaced with an empty space.\n\t- '{filename}' will be replaced with the current file name.\n\t- '{dirname}' will get replaced with the folder name that has the current file.\n\t- '{fulldirname}' will get replaced with the full directory name without the current file name.\n\t- '{workspace}' will be replaced with the current workspace name, if any.\n\t- '{currentcolumn}' will get replaced with the current column of the current line.\n\t- '{currentline}' will get replaced with the current line number.\n\t- '{totallines}' will get replaced with the total line number.\n\t- '{filesize}' will get replaced with the current file's size."
|
|
},
|
|
"discord.detailsDebugging": {
|
|
"type": "string",
|
|
"default": "Debugging {filename}",
|
|
"description": "Custom string for the details section of the rich presence when debugging\n\t- '{null}' will be replaced with an empty space.\n\t- '{filename}' will be replaced with the current file name.\n\t- '{dirname}' will get replaced with the folder name that has the current file.\n\t- '{fulldirname}' will get replaced with the full directory name without the current file name.\n\t- '{workspace}' will be replaced with the current workspace name, if any.\n\t- '{currentcolumn}' will get replaced with the current column of the current line.\n\t- '{currentline}' will get replaced with the current line number.\n\t- '{totallines}' will get replaced with the total line number.\n\t- '{filesize}' will get replaced with the current file's size."
|
|
},
|
|
"discord.detailsIdle": {
|
|
"type": "string",
|
|
"default": "Idling",
|
|
"description": "Custom string for the details section of the rich presence when idling\n\t- '{null}' will be replaced with an empty space."
|
|
},
|
|
"discord.lowerDetailsEditing": {
|
|
"type": "string",
|
|
"default": "Workspace: {workspace}",
|
|
"description": "Custom string for the state section of the rich presence\n\t- '{null}' will be replaced with an empty space.\n\t- '{filename}' will be replaced with the current file name.\n\t- '{dirname}' will get replaced with the folder name that has the current file.\n\t- '{fulldirname}' will get replaced with the full directory name without the current file name.\n\t- '{workspace}' will be replaced with the current workspace name, if any.\n\t- '{currentcolumn}' will get replaced with the current column of the current line.\n\t- '{currentline}' will get replaced with the current line number.\n\t- '{totallines}' will get replaced with the total line number.\n\t- '{filesize}' will get replaced with the current file's size."
|
|
},
|
|
"discord.lowerDetailsDebugging": {
|
|
"type": "string",
|
|
"default": "Debugging: {workspace}",
|
|
"description": "Custom string for the state section of the rich presence when debugging\n\t- '{null}' will be replaced with an empty space.\n\t- '{filename}' will be replaced with the current file name.\n\t- '{dirname}' will get replaced with the folder name that has the current file.\n\t- '{fulldirname}' will get replaced with the full directory name without the current file name..\n\t- '{workspace}' will be replaced with the current workspace name, if any.\n\t- '{currentcolumn}' will get replaced with the current column of the current line.\n\t- '{currentline}' will get replaced with the current line number.\n\t- '{totallines}' will get replaced with the total line number.\n\t- '{filesize}' will get replaced with the current file's size."
|
|
},
|
|
"discord.lowerDetailsIdle": {
|
|
"type": "string",
|
|
"default": "Idling",
|
|
"description": "Custom string for the state section of the rich presence when idling\n\t- '{null}' will be replaced with an empty space."
|
|
},
|
|
"discord.lowerDetailsNotFound": {
|
|
"type": "string",
|
|
"default": "No workspace.",
|
|
"description": "Custom string for the state section of the rich presence when no workspace is found.\nIf set to '{null}', this will be an empty space.\n\t- '{currentline}' will get replaced with the current line number.\n\t- '{totallines}' will get replaced with the total line number.\n\t- '{filesize}' will get replaced with the current file's size."
|
|
},
|
|
"discord.largeImage": {
|
|
"type": "string",
|
|
"default": "Editing a {LANG} file",
|
|
"description": "Custom string for the largeImageText section of the rich presence.\n\t- '{lang}' will be replaced with the lowercased language ID\n\t- '{LANG}' will be replaced with the uppercased language ID"
|
|
},
|
|
"discord.largeImageIdle": {
|
|
"type": "string",
|
|
"default": "Idling",
|
|
"description": "Custom string for the largeImageText section of the rich presence when idling"
|
|
},
|
|
"discord.smallImage": {
|
|
"type": "string",
|
|
"default": "{appname}",
|
|
"description": "Custom string for the smallImageText section of the rich presence\n\t- '{appname}' will get replaced with the current Visual Studio Code version."
|
|
},
|
|
"discord.silent": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Decides if error messages are shown to the user"
|
|
},
|
|
"discord.workspaceElapsedTime": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Decides whether to display elapsed time for a workspace or a single file"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/iCrawl/discord-vscode.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/iCrawl/discord-vscode/issues"
|
|
},
|
|
"keywords": [
|
|
"discord",
|
|
"vscode",
|
|
"rich",
|
|
"presence",
|
|
"rich presence",
|
|
"rpc"
|
|
],
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"homepage": "https://github.com/iCrawl/discord-vscode#readme",
|
|
"icon": "assets/icon.png",
|
|
"galleryBanner": {
|
|
"color": "#6477C1",
|
|
"theme": "dark"
|
|
},
|
|
"dependencies": {
|
|
"discord-rpc": "icrawl/rpc#unix_timestamp"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^10.12.2",
|
|
"tslint": "^5.11.0",
|
|
"typescript": "^3.1.6",
|
|
"vscode": "^1.1.21"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.15.0"
|
|
}
|
|
}
|