2e44335a40
Bumps [@types/vscode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/vscode) from 1.49.0 to 1.50.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/vscode) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
218 lines
10 KiB
JSON
218 lines
10 KiB
JSON
{
|
|
"name": "discord-vscode",
|
|
"displayName": "Discord Presence",
|
|
"version": "4.0.0",
|
|
"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": "./dist/extension",
|
|
"scripts": {
|
|
"prebuild": "npm run lint",
|
|
"build": "webpack --mode production",
|
|
"tsc": "tsc",
|
|
"lint": "eslint src --ext .ts",
|
|
"lint:fix": "eslint src --ext .ts --fix"
|
|
},
|
|
"activationEvents": [
|
|
"*"
|
|
],
|
|
"extensionKind": [
|
|
"ui"
|
|
],
|
|
"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"
|
|
},
|
|
{
|
|
"command": "discord.reconnect",
|
|
"title": "Reconnect Discord Presence to Discord RPC",
|
|
"category": "Discord Presence"
|
|
},
|
|
{
|
|
"command": "discord.disconnect",
|
|
"title": "Disconnect Discord Presence from Discord RPC",
|
|
"category": "Discord Presence"
|
|
},
|
|
{
|
|
"command": "discord.allowSpectate",
|
|
"title": "Allow Spectating",
|
|
"category": "Discord Presence"
|
|
},
|
|
{
|
|
"command": "discord.disableSpectate",
|
|
"title": "Disable Spectating",
|
|
"category": "Discord Presence"
|
|
},
|
|
{
|
|
"command": "discord.allowJoinRequests",
|
|
"title": "Allow Join Requests",
|
|
"category": "Discord Presence"
|
|
},
|
|
{
|
|
"command": "discord.disableJoinRequests",
|
|
"title": "Disable Join Requests",
|
|
"category": "Discord Presence"
|
|
}
|
|
],
|
|
"configuration": [
|
|
{
|
|
"title": "Discord Presence Configuration",
|
|
"type": "object",
|
|
"properties": {
|
|
"discord.enabled": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Controls if the Discord Presence should show across all workspaces"
|
|
},
|
|
"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- '{workspaceFolder}' will be replaced with the currently accessed workspace folder, if any.\n\t- '{workspaceAndFolder} will be replaced with the currently accessed workspace and workspace folder like this: 'Workspace - WorkspaceFolder'\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.\n\t- '{gitreponame}' will be replaced with the active Git repository name (from the git URL)\n\t- '{gitbranch}' will be replaced with the current active branch name."
|
|
},
|
|
"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- '{workspaceFolder}' will be replaced with the currently accessed workspace folder, if any.\n\t- '{workspaceAndFolder} will be replaced with the currently accessed workspace and workspace folder like this: 'Workspace - WorkspaceFolder'\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.\n\t- '{gitreponame}' will be replaced with the active Git repository name (from the git URL)\n\t- '{gitbranch}' will be replaced with the current active branch name."
|
|
},
|
|
"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- '{workspaceFolder}' will be replaced with the currently accessed workspace folder, if any.\n\t- '{workspaceAndFolder} will be replaced with the currently accessed workspace and workspace folder like this: 'Workspace - WorkspaceFolder'\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.\n\t- '{gitreponame}' will be replaced with the active Git repository name (from the git URL)\n\t- '{gitbranch}' will be replaced with the current active branch name."
|
|
},
|
|
"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- '{workspaceFolder}' will be replaced with the currently accessed workspace folder, if any.\n\t- '{workspaceAndFolder} will be replaced with the currently accessed workspace and workspace folder like this: 'Workspace - WorkspaceFolder'\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.\n\t- '{gitreponame}' will be replaced with the active Git repository name (from the git URL)\n\t- '{gitbranch}' will be replaced with the current active branch name."
|
|
},
|
|
"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"
|
|
},
|
|
"discord.workspaceExcludePatterns": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"default": [],
|
|
"description": "Patterns of workspaces to ignore"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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": {
|
|
"bufferutil": "^4.0.1",
|
|
"discord-rpc": "github:discordjs/RPC",
|
|
"tslib": "^2.0.3",
|
|
"utf-8-validate": "^5.0.2",
|
|
"vsls": "^1.0.2594"
|
|
},
|
|
"optionalDependencies": {
|
|
"register-scheme": "devsnek/node-register-scheme"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^14.11.8",
|
|
"@types/vscode": "^1.50.0",
|
|
"@typescript-eslint/eslint-plugin": "^3.10.1",
|
|
"@typescript-eslint/parser": "^3.10.1",
|
|
"clean-webpack-plugin": "^3.0.0",
|
|
"eslint": "^7.11.0",
|
|
"eslint-config-marine": "^7.2.0",
|
|
"eslint-config-prettier": "^6.12.0",
|
|
"eslint-plugin-prettier": "^3.1.4",
|
|
"prettier": "^2.1.2",
|
|
"terser-webpack-plugin": "^4.2.3",
|
|
"ts-loader": "^8.0.4",
|
|
"typescript": "^4.0.3",
|
|
"webpack": "^4.44.2",
|
|
"webpack-cli": "^3.3.12"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.47.0"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "marine/prettier/node",
|
|
"rules": {
|
|
"@typescript-eslint/naming-convention": 0
|
|
}
|
|
}
|
|
}
|