131 lines
3.5 KiB
JSON
131 lines
3.5 KiB
JSON
{
|
|
"name": "discord-vscode",
|
|
"displayName": "Discord Presence",
|
|
"version": "0.5.0",
|
|
"description": "Update your discord status with the newly added rich presence.",
|
|
"author": {
|
|
"name": "iCrawl",
|
|
"email": "icrawltogo@gmail.com"
|
|
},
|
|
"publisher": "icrawl",
|
|
"license": "MIT",
|
|
"main": "./out/src/extension",
|
|
"scripts": {
|
|
"vscode:prepublish": "tsc -p ./",
|
|
"compile": "tsc -watch -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": "VS-Discord"
|
|
},
|
|
{
|
|
"command": "discord.disable",
|
|
"title": "Disable Discord Presence in the current workspace",
|
|
"category": "VS-Discord"
|
|
}
|
|
],
|
|
"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 Discord Presence is active"
|
|
},
|
|
"discord.reconnectThreshold": {
|
|
"type": "number",
|
|
"default": 20,
|
|
"description": "Decides how often a reconnect attempt should be made before stopping"
|
|
},
|
|
"discord.details": {
|
|
"type": "string",
|
|
"default": "Editing {filename}",
|
|
"description": "Custom string for the details section of the rich presence"
|
|
},
|
|
"discord.detailsIdle": {
|
|
"type": "string",
|
|
"default": "Idling.",
|
|
"description": "Custom string for the details section of the rich presence when idling"
|
|
},
|
|
"discord.workspace": {
|
|
"type": "string",
|
|
"default": "Workspace: {workspace}",
|
|
"description": "Custom string for the state section of the rich presence"
|
|
},
|
|
"discord.workspaceIdle": {
|
|
"type": "string",
|
|
"default": "Idling.",
|
|
"description": "Custom string for the state section of the rich presence when idling"
|
|
},
|
|
"discord.largeImage": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "Custom string for the largeImageText section of the rich presence"
|
|
},
|
|
"discord.largeImageIdle": {
|
|
"type": "string",
|
|
"default": "Idling",
|
|
"description": "Custom string for the largeImageText section of the rich presence when idling"
|
|
},
|
|
"discord.smallImage": {
|
|
"type": "string",
|
|
"default": "Visual Studio Code",
|
|
"description": "Custom string for the smallImageText section of the rich presence"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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": "github:iCrawl/discord-rpc#no-peer-deps"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^8.0.0",
|
|
"tslint": "^5.0.0",
|
|
"typescript": "^2.0.0",
|
|
"vscode": "^1.0.0"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.15.0"
|
|
}
|
|
}
|