2025-03-10 22:38:15 +03:00

66 lines
1.6 KiB
JSON

{
"name": "test",
"displayName": "test",
"description": "test",
"version": "0.0.1",
"engines": {
"vscode": "^1.97.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "hakutaku.initSymfonyFlexRepo",
"title": "New Symfony Flex repository..."
},
{
"command": "test.helloWorld",
"title": "Тестовая команда"
}
],
"menus": {
"explorer/context": [
{
"command": "hakutaku.initSymfonyFlexRepo",
"when": "explorerResourceIsFolder",
"group": "navigation@10"
}
],
"editor/context": [
{
"when": "resourceLangId == php",
"command": "test.helloWorld"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.97.0",
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^8.22.0",
"@typescript-eslint/parser": "^8.22.0",
"eslint": "^9.19.0",
"typescript": "^5.7.3",
"ts-loader": "^9.5.2",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1"
}
}