discord-vscode/package.json
2021-02-10 04:24:42 +01:00

188 lines
9.9 KiB
JSON

{
"name": "discord-vscode",
"displayName": "Discord Presence",
"version": "5.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",
"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",
"category": "Discord Presence"
},
{
"command": "discord.disconnect",
"title": "Disconnect Discord Presence from Discord",
"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.details_idling": {
"type": "string",
"default": "Idling",
"description": "Custom string for the details section of the rich presence when idling\n\t- '{empty}' will be replaced with an empty space."
},
"discord.details_editing": {
"type": "string",
"default": "Editing {file_name}",
"description": "Custom string for the details section of the rich presence\n\t- '{empty}' will be replaced with an empty space.\n\t- '{file_name}' will be replaced with the current file name.\n\t- '{dir_name}' will get replaced with the folder name that has the current file.\n\t- '{full_dir_name}' 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- '{workspace_folder}' will be replaced with the currently accessed workspace folder, if any.\n\t- '{workspace_and_folder} will be replaced with the currently accessed workspace and workspace folder like this: 'Workspace - WorkspaceFolder'\n\t- '{current_column}' will get replaced with the current column of the current line.\n\t- '{current_line}' will get replaced with the current line number.\n\t- '{total_lines}' will get replaced with the total line number.\n\t- '{file_size}' will get replaced with the current file's size.\n\t- '{git_repo_name}' will be replaced with the active Git repository name (from the git URL)\n\t- '{git_branch}' will be replaced with the current active branch name."
},
"discord.details_debugging": {
"type": "string",
"default": "Debugging {file_name}",
"description": "Custom string for the details section of the rich presence when debugging\n\t- '{empty}' will be replaced with an empty space.\n\t- '{file_name}' will be replaced with the current file name.\n\t- '{dir_name}' will get replaced with the folder name that has the current file.\n\t- '{full_dir_name}' 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- '{workspace_folder}' will be replaced with the currently accessed workspace folder, if any.\n\t- '{workspace_and_folder} will be replaced with the currently accessed workspace and workspace folder like this: 'Workspace - WorkspaceFolder'\n\t- '{current_column}' will get replaced with the current column of the current line.\n\t- '{current_line}' will get replaced with the current line number.\n\t- '{total_lines}' will get replaced with the total line number.\n\t- '{file_size}' will get replaced with the current file's size.\n\t- '{git_repo_name}' will be replaced with the active Git repository name (from the git URL)\n\t- '{git_branch}' will be replaced with the current active branch name."
},
"discord.lower_details_idling": {
"type": "string",
"default": "Idling",
"description": "Custom string for the state section of the rich presence when idling\n\t- '{empty}' will be replaced with an empty space."
},
"discord.lower_details_editing": {
"type": "string",
"default": "Workspace: {workspace}",
"description": "Custom string for the state section of the rich presence\n\t- '{empty}' will be replaced with an empty space.\n\t- '{file_name}' will be replaced with the current file name.\n\t- '{dir_name}' will get replaced with the folder name that has the current file.\n\t- '{full_dir_name}' 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- '{workspace_folder}' will be replaced with the currently accessed workspace folder, if any.\n\t- '{workspace_and_folder} will be replaced with the currently accessed workspace and workspace folder like this: 'Workspace - WorkspaceFolder'\n\t- '{current_column}' will get replaced with the current column of the current line.\n\t- '{current_line}' will get replaced with the current line number.\n\t- '{total_lines}' will get replaced with the total line number.\n\t- '{file_size}' will get replaced with the current file's size.\n\t- '{git_repo_name}' will be replaced with the active Git repository name (from the git URL)\n\t- '{git_branch}' will be replaced with the current active branch name."
},
"discord.lower_details_debugging": {
"type": "string",
"default": "Debugging: {workspace}",
"description": "Custom string for the state section of the rich presence when debugging\n\t- '{empty}' will be replaced with an empty space.\n\t- '{file_name}' will be replaced with the current file name.\n\t- '{dir_name}' will get replaced with the folder name that has the current file.\n\t- '{full_dir_name}' 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- '{workspace_folder}' will be replaced with the currently accessed workspace folder, if any.\n\t- '{workspace_and_folder} will be replaced with the currently accessed workspace and workspace folder like this: 'Workspace - WorkspaceFolder'\n\t- '{current_column}' will get replaced with the current column of the current line.\n\t- '{current_line}' will get replaced with the current line number.\n\t- '{total_lines}' will get replaced with the total line number.\n\t- '{file_size}' will get replaced with the current file's size.\n\t- '{git_repo_name}' will be replaced with the active Git repository name (from the git URL)\n\t- '{git_branch}' will be replaced with the current active branch name."
},
"discord.lower_details_no_workspace_found": {
"type": "string",
"default": "No workspace.",
"description": "Custom string for the state section of the rich presence when no workspace is found.\nIf set to '{empty}', this will be an empty space.\n\t- '{current_line}' will get replaced with the current line number.\n\t- '{total_lines}' will get replaced with the total line number.\n\t- '{file_size}' will get replaced with the current file's size."
},
"discord.large_image_idling": {
"type": "string",
"default": "Idling",
"description": "Custom string for the largeImageText section of the rich presence when idling"
},
"discord.large_image": {
"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.small_image": {
"type": "string",
"default": "{app_name}",
"description": "Custom string for the smallImageText section of the rich presence\n\t- '{app_name}' will get replaced with the current Visual Studio Code version."
},
"discord.suppress_notifications": {
"type": "boolean",
"default": false,
"description": "Decides if error messages are shown to the user"
},
"discord.workspace_elapsed_time": {
"type": "boolean",
"default": true,
"description": "Decides whether to display elapsed time for a workspace or a single file"
},
"discord.workspace_exclude_patterns": {
"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.3",
"dayjs": "^1.10.4",
"discord-rpc": "github:discordjs/RPC",
"tslib": "^2.1.0",
"utf-8-validate": "^5.0.4"
},
"devDependencies": {
"@types/node": "^14.14.25",
"@types/vscode": "^1.53.0",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"clean-webpack-plugin": "^3.0.0",
"eslint": "^7.19.0",
"eslint-config-marine": "^8.1.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"prettier": "^2.2.1",
"terser-webpack-plugin": "^5.1.1",
"ts-loader": "^8.0.16",
"typescript": "^4.1.4",
"webpack": "^5.21.2",
"webpack-cli": "^4.5.0"
},
"engines": {
"vscode": "^1.53.0"
}
}