Files
cursornew2026/原版本/extension/package.json

77 lines
1.7 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "cursorpro",
"displayName": "CursorPro",
"description": "Cursor 账号管理与换号工具",
"version": "0.4.5",
"publisher": "cursorpro",
"repository": {
"type": "git",
"url": "https://github.com/cursorpro/cursorpro-extension"
},
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Other"
],
"extensionKind": [
"ui"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "cursorpro.showPanel",
"title": "CursorPro: 打开控制面板"
},
{
"command": "cursorpro.switchAccount",
"title": "CursorPro: 立即换号"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "cursorpro-sidebar",
"title": "CursorPro",
"icon": "media/icon.svg"
}
]
},
"views": {
"cursorpro-sidebar": [
{
"type": "webview",
"id": "cursorpro.mainView",
"name": "控制面板"
}
]
},
"configuration": {
"title": "CursorPro",
"properties": {
"cursorpro.cursorPath": {
"type": "string",
"default": "",
"description": "手动设置 Cursor 安装路径如果自动检测失败。例如C:\\Program Files\\cursor 或 /Applications/Cursor.app"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/vscode": "^1.80.0",
"esbuild": "^0.27.0",
"typescript": "^5.0.0"
}
}