AngelscriptDebuggerVsCode/package.json

99 lines
2.9 KiB
JSON

{
"name": "angelscriptdebuggervscode",
"version": "1.0.0",
"description": "",
"engines": {
"vscode": "^1.59.0"
},
"scripts": {
"vscode:prepublish": "yarn run package-ext && yarn run package-web",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "webpack --watch --devtool nosources-source-map --info-verbosity verbose --config ./build/extension.webpack.config.js",
"watch2": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"test": "node ./out/test/runTest.js",
"package": "vsce package",
"publish": "vsce publish",
"package-ext": "webpack --mode production --config ./build/extension.webpack.config.js",
"compile-web": "webpack --devtool nosources-source-map --config ./build/web-extension.webpack.config.js",
"watch-web": "webpack --watch --devtool nosources-source-map --info-verbosity verbose --config ./build/web-extension.webpack.config.js",
"package-web": "webpack --mode production --config ./build/web-extension.webpack.config.js"
},
"author": "",
"license": "ISC",
"dependencies": {
"await-notify": "1.0.1",
"vscode-debugadapter": "^1.49.0"
},
"devDependencies": {
"@types/glob": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "^14.14.37",
"@types/vscode": "^1.59.0",
"@typescript-eslint/eslint-plugin": "^4.29.3",
"@typescript-eslint/parser": "^4.29.3",
"eslint": "^7.32.0",
"glob": "^7.1.7",
"mocha": "^9.1.0",
"ts-loader": "^8.1.0",
"typescript": "^4.3.5",
"vsce": "^1.96.1",
"vscode-debugadapter-testsupport": "^1.49.0",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12"
},
"main": "./dist/ext/extension.js",
"browser": "./dist/web/extension.js",
"activationEvents": [
"*"
],
"workspaceTrust": {
"request": "never"
},
"contributes": {
"breakpoints": [
{
"language": "angelscript"
}
],
"debuggers": [
{
"type": "angelscript",
"languages": [
"angelscript"
],
"label": "Angelscript Debug",
"program": "./out/debugAdapter.js",
"runtime": "node",
"configurationAttributes": {
"attach": {
"required": [
"port", "scriptPath"
],
"properties": {
"port": {
"type": "number",
"description": "Absolute path to a text file.",
"default": "8684"
},
"scriptPath": {
"type": "string",
"description": "Path to resolve the full path from a script section"
}
}
}
},
"initialConfigurations": [
{
"type": "mock",
"request": "attach",
"name": "Ask for file name",
"program": "${workspaceFolder}/${command:AskForProgramName}",
"stopOnEntry": true
}
]
}
]
}
}