discord-vscode/package.json

216 lines
11 KiB
JSON
Raw Normal View History

2017-11-23 13:06:21 +00:00
{
"name": "discord-vscode",
2017-11-23 20:51:01 +00:00
"displayName": "Discord Presence",
2021-04-19 19:25:56 +00:00
"version": "5.6.3",
2021-02-10 15:54:44 +00:00
"description": "Update your discord status with a rich presence.",
"private": true,
2017-11-23 13:06:21 +00:00
"author": {
"name": "iCrawl",
"email": "icrawltogo@gmail.com"
},
"contributors": [
{
"name": "Frangu Vlad",
"email": "kingdgrizzle@gmail.com"
}
],
2017-11-23 13:06:21 +00:00
"publisher": "icrawl",
"license": "MIT",
"main": "./dist/extension",
2017-11-23 13:06:21 +00:00
"scripts": {
2020-05-23 03:36:55 +00:00
"prebuild": "npm run lint",
"build": "webpack --mode production",
2019-09-22 16:56:19 +00:00
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix"
2017-11-23 13:06:21 +00:00
},
"activationEvents": [
"*"
],
2020-03-21 20:49:43 +00:00
"extensionKind": [
"ui"
],
"contributes": {
2017-11-23 23:53:16 +00:00
"commands": [
{
"command": "discord.enable",
2021-02-10 03:24:42 +00:00
"title": "Enable Discord Presence in the current workspace",
2017-11-26 13:28:55 +00:00
"category": "Discord Presence"
},
{
"command": "discord.disable",
2021-02-10 03:24:42 +00:00
"title": "Disable Discord Presence in the current workspace",
2017-11-26 13:28:55 +00:00
"category": "Discord Presence"
},
{
"command": "discord.reconnect",
2021-02-10 03:24:42 +00:00
"title": "Reconnect Discord Presence to Discord",
"category": "Discord Presence"
},
{
"command": "discord.disconnect",
2021-02-10 03:24:42 +00:00
"title": "Disconnect Discord Presence from Discord",
"category": "Discord Presence"
2017-11-23 23:53:16 +00:00
}
],
"configuration": [
{
"title": "Discord Presence Configuration",
"type": "object",
"properties": {
2017-11-23 23:53:16 +00:00
"discord.enabled": {
"type": "boolean",
"default": true,
"description": "Controls if the Discord Presence should show across all workspaces"
2017-11-24 12:53:47 +00:00
},
2021-02-10 15:54:44 +00:00
"discord.detailsIdling": {
2021-02-10 03:24:42 +00:00
"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."
},
2021-02-10 15:54:44 +00:00
"discord.detailsEditing": {
2017-11-24 12:53:47 +00:00
"type": "string",
2021-02-10 03:24:42 +00:00
"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."
2017-11-24 12:53:47 +00:00
},
2021-02-10 15:54:44 +00:00
"discord.detailsDebugging": {
"type": "string",
2021-02-10 03:24:42 +00:00
"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."
},
2021-02-10 15:54:44 +00:00
"discord.lowerDetailsIdling": {
2017-11-24 12:53:47 +00:00
"type": "string",
"default": "Idling",
2021-02-10 03:24:42 +00:00
"description": "Custom string for the state section of the rich presence when idling\n\t- '{empty}' will be replaced with an empty space."
2017-11-24 12:53:47 +00:00
},
2021-02-10 15:54:44 +00:00
"discord.lowerDetailsEditing": {
2017-11-24 12:53:47 +00:00
"type": "string",
"default": "Workspace: {workspace}",
2021-02-10 03:24:42 +00:00
"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."
2017-11-24 12:53:47 +00:00
},
2021-02-10 15:54:44 +00:00
"discord.lowerDetailsDebugging": {
2017-11-24 12:53:47 +00:00
"type": "string",
"default": "Debugging: {workspace}",
2021-02-10 03:24:42 +00:00
"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."
},
2021-02-10 15:54:44 +00:00
"discord.lowerDetailsNoWorkspaceFound": {
"type": "string",
"default": "No workspace",
2021-02-10 03:24:42 +00:00
"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."
2017-11-24 12:53:47 +00:00
},
2021-02-10 15:54:44 +00:00
"discord.largeImageIdling": {
"type": "string",
2021-02-10 03:24:42 +00:00
"default": "Idling",
"description": "Custom string for the largeImageText section of the rich presence when idling"
},
2021-02-10 15:54:44 +00:00
"discord.largeImage": {
2017-11-24 12:53:47 +00:00
"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"
2017-11-24 12:53:47 +00:00
},
2021-02-10 15:54:44 +00:00
"discord.smallImage": {
2017-11-24 12:53:47 +00:00
"type": "string",
2021-02-10 03:24:42 +00:00
"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."
},
2021-02-10 15:54:44 +00:00
"discord.suppressNotifications": {
"type": "boolean",
"default": false,
"description": "Decides if error messages are shown to the user"
},
2021-02-10 15:54:44 +00:00
"discord.workspaceExcludePatterns": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Patterns of workspaces to ignore"
2021-02-10 17:32:13 +00:00
},
"discord.swapBigAndSmallImage": {
"type": "boolean",
"default": false,
"description": "Swaps the big and small image on the rich presence"
},
"discord.removeDetails": {
"type": "boolean",
"default": false,
"description": "Removes the details"
},
"discord.removeLowerDetails": {
"type": "boolean",
"default": false,
"description": "Removes the lower details"
2021-02-26 19:01:36 +00:00
},
"discord.removeTimestamp": {
"type": "boolean",
"default": false,
"description": "Removes the timestamp"
},
"discord.removeRemoteRepository": {
"type": "boolean",
"default": false,
"description": "Removes the View Repository button"
},
"discord.idleTimeout": {
"type": "number",
"default": 0,
"description": "Time (in seconds) to clear the presence when idling. 0 (the default) means no clearing"
}
}
}
]
},
"repository": {
"type": "git",
2017-11-23 19:49:13 +00:00
"url": "https://github.com/iCrawl/discord-vscode.git"
},
"bugs": {
"url": "https://github.com/iCrawl/discord-vscode/issues"
},
"keywords": [
"discord",
"vscode",
"rich",
"presence",
2017-11-23 19:09:42 +00:00
"rich presence",
"rpc"
],
"categories": [
"Other"
],
"homepage": "https://github.com/iCrawl/discord-vscode#readme",
"icon": "assets/icon.png",
"galleryBanner": {
"color": "#6477C1",
"theme": "dark"
},
2017-11-23 13:06:21 +00:00
"dependencies": {
"bufferutil": "^4.0.3",
"dayjs": "^1.10.5",
"discord-rpc": "^3.2.0",
"lodash-es": "^4.17.21",
"tslib": "^2.3.0",
"utf-8-validate": "^5.0.5"
2017-11-23 13:06:21 +00:00
},
"devDependencies": {
2021-02-10 15:54:44 +00:00
"@types/lodash-es": "^4.17.4",
"@types/node": "^15.12.2",
"@types/vscode": "^1.57.0",
"@typescript-eslint/eslint-plugin": "^4.27.0",
"@typescript-eslint/parser": "^4.26.1",
"clean-webpack-plugin": "^3.0.0",
"eslint": "^7.28.0",
"eslint-config-marine": "^9.0.6",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"prettier": "^2.3.1",
"terser-webpack-plugin": "^5.1.3",
"ts-loader": "^9.2.3",
"typescript": "^4.3.2",
"webpack": "^5.38.1",
"webpack-cli": "^4.7.2"
2017-11-23 13:06:21 +00:00
},
"engines": {
2021-04-10 13:23:29 +00:00
"vscode": "^1.55.0"
2017-11-23 13:06:21 +00:00
}
}