discord-vscode/package.json

216 lines
9 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",
2019-09-22 16:56:47 +00:00
"version": "3.8.3",
2017-11-23 13:06:21 +00:00
"description": "Update your discord status with the newly added 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": {
2018-11-13 02:53:12 +00:00
"prebuild": "yarn 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": [
"*"
],
"extensionKind": "ui",
"contributes": {
2017-11-23 23:53:16 +00:00
"commands": [
{
"command": "discord.enable",
"title": "Enable Discord Presence in the Current Workspace",
2017-11-26 13:28:55 +00:00
"category": "Discord Presence"
},
{
"command": "discord.disable",
"title": "Disable Discord Presence in the Current Workspace",
2017-11-26 13:28:55 +00:00
"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"
2017-11-23 23:53:16 +00:00
}
],
"configuration": [
{
"title": "Discord Presence Configuration",
"type": "object",
"properties": {
"discord.clientID": {
"type": "string",
"default": "383226320970055681",
2019-04-11 16:45:44 +00:00
"description": "Only modify this if you know what you are doing"
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
},
"discord.detailsEditing": {
2017-11-24 12:53:47 +00:00
"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."
2017-11-24 12:53:47 +00:00
},
"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."
},
2017-11-24 12:53:47 +00:00
"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."
2017-11-24 12:53:47 +00:00
},
"discord.lowerDetailsEditing": {
2017-11-24 12:53:47 +00:00
"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."
2017-11-24 12:53:47 +00:00
},
"discord.lowerDetailsDebugging": {
2017-11-24 12:53:47 +00:00
"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."
2017-11-24 12:53:47 +00:00
},
"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."
},
2017-11-24 12:53:47 +00:00
"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"
2017-11-24 12:53:47 +00:00
},
"discord.largeImageIdle": {
"type": "string",
"default": "Idling",
"description": "Custom string for the largeImageText section of the rich presence when idling"
},
"discord.smallImage": {
"type": "string",
2017-11-26 21:16:11 +00:00
"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",
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.1",
"clipboardy": "^2.1.0",
"discord-rpc": "discordjs/RPC",
"register-scheme": "devsnek/node-register-scheme",
"utf-8-validate": "^5.0.2",
"vsls": "^0.3.1291"
2017-11-23 13:06:21 +00:00
},
"devDependencies": {
"@types/node": "^12.11.7",
"@types/vscode": "^1.39.0",
"@typescript-eslint/eslint-plugin": "^2.5.0",
"@typescript-eslint/parser": "^2.5.0",
"clean-webpack-plugin": "^3.0.0",
"eslint": "^6.6.0",
"eslint-config-marine": "^5.1.0",
"eslint-config-prettier": "^6.5.0",
2019-09-22 16:56:19 +00:00
"eslint-plugin-prettier": "^3.1.1",
"prettier": "^1.18.2",
"terser-webpack-plugin": "^2.2.1",
"ts-loader": "^6.2.1",
"typescript": "^3.6.4",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.9"
2017-11-23 13:06:21 +00:00
},
"engines": {
2019-09-13 11:39:30 +00:00
"vscode": "^1.38.0"
},
"eslintConfig": {
2019-09-22 16:56:19 +00:00
"extends": "marine/prettier/node"
2017-11-23 13:06:21 +00:00
}
}