codemp-vscode/package.json

114 lines
3 KiB
JSON

{
"name": "codemp",
"displayName": "codemp",
"description": "VSCode codemp plugin -- code multiplexer",
"repository": "https://github.com/hexedtech/codemp-vscode",
"version": "0.0.1",
"engines": {
"vscode": "^1.81.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.openMyExtension"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "codemp.connect",
"title": "Connect to a codemp host"
},
{
"command": "codemp.join",
"title": "Join a codemp Workspace if you are allowed"
},
{
"command": "codemp.attach",
"title": "Attach to a codemp buffer"
},
{
"command": "codemp.createWorkspace",
"title": "Create a new Workspace if you are allowed"
},
{
"command": "codemp.listWorkspaces",
"title": "List all Workspaces you can join"
},
{
"command": "codemp.listBuffers",
"title": "List all buffers of joined Workspace"
},
{
"command": "codemp.createBuffer",
"title": "Create a codemp buffer"
},
{
"command": "codemp.disconnectBuffer",
"title": "disconnect from a codemp Buffer (unused)"
},
{
"command": "codemp.sync",
"title": "Sync the current buffer"
},
{
"command": "codemp.printOpCache",
"title": "Print current OpCache"
},
{
"command": "codemp.helloWorld",
"title": "Hello World (debug)"
}
],
"contributes": {
"configuration": {
"title": "codemp",
"properties": {
"typescript.server": {
"type": "string",
"default": "http://codemp.dev:50053",
"description": "Server address to connect to"
},
"typescript.username": {
"type": "string",
"default": "mail@example.net",
"description": "Username to use for login (the email you used during registration)"
},
"typescript.password": {
"type": "string",
"default": "dont-use-this-password",
"description": "Password to use for login"
}
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"compile": "tsc -p ./",
"bundle": "vsce package"
},
"devDependencies": {
"@napi-rs/cli": "^2.16.3",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.81.0",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"@vscode/test-electron": "^2.3.4",
"@vscode/vsce": "^2.32.0",
"eslint": "^8.47.0",
"glob": "^10.3.3",
"mocha": "^10.2.0",
"typescript": "^5.1.6",
"npx": "^10.2.2"
},
"dependencies": {
"codemp": "^0.0.5"
}
}