代码拉取完成,页面将自动刷新
{
"name": "vscode-cargo-scripts",
"displayName": "Cargo Scripts",
"publisher": "taiyuuki",
"version": "0.3.1",
"description": "Run scripts from Cargo.toml",
"main": "./dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/taiyuuki/vscode-cargo-scripts"
},
"bugs": "https://github.com/taiyuuki/vscode-cargo-scripts/issues",
"homepage": "https://github.com/taiyuuki/vscode-cargo-scripts#readme",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"icon": "res/cargo_scripts.png",
"activationEvents": [
"workspaceContains:**/Cargo.toml",
"onLanguage:rust"
],
"contributes": {
"commands": [
{
"command": "cargoScripts.run",
"title": "Run",
"icon": "$(debug-start)"
},
{
"command": "cargoScripts.open",
"title": "Open"
},
{
"command": "cargoScripts.refresh",
"title": "Refresh",
"icon": "$(search-refresh)"
}
],
"views": {
"explorer": [
{
"id": "cargoScripts",
"name": "Cargo Scripts",
"when": "showCargoScript"
}
]
},
"menus": {
"view/title": [
{
"command": "cargoScripts.refresh",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "cargoScripts.run",
"group": "inline",
"when": "viewItem == script_item",
"icon": "$(run)"
}
]
},
"configuration": [
{
"title": "cargo-scripts",
"properties": {
"cargoScripts.terminal": {
"type": "boolean",
"default": false,
"description": "Create a separate terminal for each script."
}
}
}
]
},
"scripts": {
"lint": "eslint --fix",
"dev": "tsup --watch",
"build": "tsup",
"bump:patch": "bump patch",
"package": "npx vsce package --no-dependencies",
"publish": "npx vsce publish",
"test": "vitest"
},
"keywords": [
"rust",
"cargo",
"scripts"
],
"author": "taiyuuki <taiyuuki@qq.com>",
"license": "MIT",
"files": [
"dist"
],
"devDependencies": {
"@taiyuuki/eslint-config": "^1.4.14",
"@types/node": "^18.11.18",
"@types/vscode": "^1.74.0",
"@vscode/test-electron": "^2.2.2",
"eslint": "^9.6.0",
"tsup": "^8.1.0"
},
"dependencies": {
"@iarna/toml": "^2.2.5",
"fast-glob": "^3.2.12"
},
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"eslint": "9"
}
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。