deadlock-detect/detect-plugin/package.json

100 lines
2.8 KiB
JSON

{
"name": "deadlock-detect",
"displayName": "deadlock-detect",
"description": "Deadlock detect for C/C++ program which use the posix thread library for Linux system platform.",
"publisher": "kylin-code",
"version": "0.0.2",
"engines": {
"vscode": "^1.54.0"
},
"license": "SEE LICENSE IN LICENSE.txt",
"repository": {
"type": "git",
"url": "https://gitee.com/openkylin/deadlock-detect.git"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:deadlock-detect.open",
"onLanguage:c",
"onLanguage:cpp",
"onCommand:workbench.action.tasks.runTask"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "deadlock-detect.open",
"title": "C/C++程序死锁检测"
},
{
"command": "deadlock-detect.analysepid",
"title": "C/C++程序进程锁分析"
}
],
"taskDefinitions": [
{
"type": "deadlockdetect",
"required": [
"command"
],
"properties": {
"command": {
"type": "string",
"description": "%deadlockdetect.taskDefinitions.command.description%"
},
"args": {
"type": "array",
"description": "%deadlockdetect.taskDefinitions.args.description%"
},
"options": {
"type": "object",
"description": "%deadlockdetect.taskDefinitions.options.description%",
"properties": {
"cwd": {
"type": "string",
"description": "%deadlockdetect.taskDefinitions.options.cwd.description%"
},
"env": {
"type": "object",
"description": "%deadlockdetect.taskDefinitions.options.env.description%"
}
}
}
}
}
]
},
"scripts": {
"vscode:prepublish": "yarn 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": "yarn run compile-tests && yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"@types/vscode": "^1.54.0",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"@vscode/test-electron": "^2.1.5",
"eslint": "^8.20.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"ts-loader": "^9.3.1",
"typescript": "^4.7.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"dependencies": {
"yaml": "^2.1.3"
}
}