topjs-debugger/package.json

118 lines
2.8 KiB
JSON
Raw Normal View History

2019-05-09 09:06:50 +08:00
{
"name": "topjs-debugger",
"displayName": "TopJS Debugger",
"version": "0.0.1",
"publisher": "AbbyCin",
"description": "TopJS debugger extension for VS Code.",
"author": {
"name": "AbbyCin",
"email": "abbytsing@gmail.com"
},
2019-05-09 09:29:19 +08:00
"license": "ISC",
2019-05-09 09:06:50 +08:00
"keywords": [
"multi-root ready"
],
"engines": {
"vscode": "^1.30.0",
"node": "^8.9.3"
},
"icon": "favicon.png",
"categories": [
"Debuggers"
],
"private": true,
"repository": {
"type": "git",
2019-05-09 09:29:19 +08:00
"url": "https://git.isliberty.me/abbycin/topjs-debugger"
2019-05-09 09:06:50 +08:00
},
"bugs": {
2019-05-09 09:29:19 +08:00
"url": "https://git.isliberty.me/abbycin/topjs-debugger/issues"
2019-05-09 09:06:50 +08:00
},
2019-05-10 10:48:54 +08:00
"homepage": "https://git.isliberty.me/abbycin/topjs-debugger/src/master/README.md",
2019-05-09 09:06:50 +08:00
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install",
"build": "node ./build.js",
2019-05-10 11:17:03 +08:00
"package": "vsce package --baseImagesUrl https://git.isliberty.me/abbycin/topjs-debugger/src/master/",
"unpublish": "vsce unpublish",
"publish": "vsce publish --baseImagesUrl https://git.isliberty.me/abbycin/topjs-debugger/src/master/"
2019-05-09 09:06:50 +08:00
},
"dependencies": {
"await-notify": "^1.0.1",
"command-exists": "^1.2.8",
"vscode-debugadapter": "^1.33.0"
},
"devDependencies": {
"@types/node": "8.9.3",
"vscode": "1.1.21",
"vscode-debugadapter-testsupport": "1.33.0",
"vsce": "1.53.2",
"ncp": "2.0.0"
},
"main": "./src/extension",
"activationEvents": [
"onDebug",
"onCommand:extension.topjs-debugger.getProgramPath"
],
"contributes": {
"breakpoints": [
{
"language": "javascript"
}
],
"debuggers": [
{
"type": "topjs",
"label": "TopJS Debugger",
"program": "./src/debugAdapter.js",
"runtime": "node",
"configurationAttributes": {
"launch": {
"required": [
2019-05-09 09:29:19 +08:00
"program"
2019-05-09 09:06:50 +08:00
],
"properties": {
"program": {
"type": "string",
"description": "Absolute path to a javascript file.",
"default": "${workspaceFolder}/${command:getProgramPath}"
},
"port": {
"type": "number",
"descrition": "Port for debugger backend.",
"default": 30992
},
"runtimeExecutable": {
"type": "string",
"default": "topjs3"
}
}
}
},
"initialConfigurations": [
{
"type": "topjs",
"request": "launch",
"name": "Launch Debugger",
"program": "${workspaceFolder}/${command:getProgramPath}"
}
],
"configurationSnippets": [
{
"label": "TopJS Debug: Launch",
"description": "A new configuration for 'debugging' a user selected javascript file.",
"body": {
"type": "topjs",
"request": "launch",
"name": "Launch Debugger2",
"program": "^\"\\${workspaceFolder}/\\${command:getProgramPath}\""
}
}
],
"variables": {
"getProgramPath": "extension.topjs-debugger.getProgramPath"
}
}
]
}
}