mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
76 lines
2 KiB
JSON
76 lines
2 KiB
JSON
{
|
|
"name": "oxc-vscode",
|
|
"description": "oxc vscode extension",
|
|
"license": "MIT",
|
|
"version": "0.0.1",
|
|
"icon": "icon.png",
|
|
"publisher": "oxc",
|
|
"displayName": "Oxc",
|
|
"bugs": {
|
|
"url": "https://github.com/web-infra-dev/oxc/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/web-infra-dev/oxc.git",
|
|
"directory": "editor/vscode"
|
|
},
|
|
"categories": ["Linters"],
|
|
"keywords": [
|
|
"linter",
|
|
"oxc"
|
|
],
|
|
"engines": {
|
|
"vscode": "^1.80.0"
|
|
},
|
|
"activationEvents": [
|
|
"onStartupFinished",
|
|
"onLanguage:javascript",
|
|
"onLanguage:javascriptreact",
|
|
"onLanguage:typescript",
|
|
"onLanguage:typescriptreact"
|
|
],
|
|
"main": "./out/main.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "oxc.restartServer",
|
|
"title": "Restart Oxc Server",
|
|
"category": "Oxc"
|
|
},
|
|
{
|
|
"command": "oxc.showOutputChannel",
|
|
"title": "Show Output Channel",
|
|
"category": "Oxc"
|
|
},
|
|
{
|
|
"command": "oxc.showTraceOutputChannel",
|
|
"title": "Show Trace Output Channel",
|
|
"category": "Oxc"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"build": "pnpm run server:build:release && pnpm run compile && pnpm run package",
|
|
"compile": "esbuild client/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node --target=node16 --minify",
|
|
"package": "vsce package --no-dependencies -o oxc_lsp.vsix",
|
|
"publish": "vsce publish --no-dependencies",
|
|
"install-extension": "code --install-extension oxc_lsp.vsix --force",
|
|
"server:build:debug": "cargo build -p oxc_vscode",
|
|
"server:build:release": "cross-env CARGO_TARGET_DIR=./target cargo build -p oxc_vscode --release"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.17.5",
|
|
"@types/resolve": "^1.20.2",
|
|
"@types/vscode": "^1.80.0",
|
|
"@vscode/vsce": "^2.22.0",
|
|
"cross-env": "^7.0.2",
|
|
"esbuild": "^0.19.5",
|
|
"typescript": "^5.1.6"
|
|
},
|
|
"dependencies": {
|
|
"vscode-languageclient": "^8.1.0"
|
|
},
|
|
"vsce": {
|
|
"dependencies": false
|
|
}
|
|
}
|