feat: vscode extension setup
This commit is contained in:
52
package.json
Normal file
52
package.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"name": "tatr-vsc",
|
||||
"displayName": "tatr-vsc",
|
||||
"description": "VSCode extension for tatr",
|
||||
"version": "0.0.1",
|
||||
"engines": {
|
||||
"vscode": "^1.138.0"
|
||||
},
|
||||
"categories": [
|
||||
"Other"
|
||||
],
|
||||
"activationEvents": [],
|
||||
"main": "./dist/extension.js",
|
||||
"contributes": {
|
||||
"commands": [
|
||||
{
|
||||
"command": "tatr-vsc.healthCheck",
|
||||
"title": "Tatr Health Check"
|
||||
}
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "pnpm run package",
|
||||
"compile": "pnpm run check-types && pnpm run lint && node esbuild.js",
|
||||
"watch": "npm-run-all -p watch:*",
|
||||
"watch:esbuild": "node esbuild.js --watch",
|
||||
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
|
||||
"package": "pnpm run check-types && pnpm run lint && node esbuild.js --production",
|
||||
"compile-tests": "tsc -p . --outDir out",
|
||||
"watch-tests": "tsc -p . -w --outDir out",
|
||||
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
|
||||
"check-types": "tsc --noEmit",
|
||||
"lint": "eslint src",
|
||||
"test": "vscode-test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/vscode": "^1.138.0",
|
||||
"@types/mocha": "^10.0.10",
|
||||
"@types/node": "24.x",
|
||||
"typescript-eslint": "^8.61.1",
|
||||
"eslint": "^10.5.0",
|
||||
"esbuild": "^0.28.1",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"typescript": "^6.0.3",
|
||||
"@vscode/test-cli": "^0.0.15",
|
||||
"@vscode/test-electron": "^3.0.0"
|
||||
},
|
||||
"overrides": {
|
||||
"diff": "^8.0.4",
|
||||
"serialize-javascript": "^7.0.6"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user