mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-27 04:35:25 +00:00
124 lines
3.1 KiB
JSON
124 lines
3.1 KiB
JSON
|
{
|
||
|
"name": "vscode-api-tests",
|
||
|
"description": "API tests for VS Code",
|
||
|
"version": "0.0.1",
|
||
|
"publisher": "vscode",
|
||
|
"license": "MIT",
|
||
|
"enableProposedApi": true,
|
||
|
"private": true,
|
||
|
"activationEvents": [],
|
||
|
"main": "./out/extension",
|
||
|
"engines": {
|
||
|
"vscode": "^1.25.0"
|
||
|
},
|
||
|
"contributes": {
|
||
|
"configuration": {
|
||
|
"type": "object",
|
||
|
"title": "Test Config",
|
||
|
"properties": {
|
||
|
"farboo.config0": {
|
||
|
"type": "boolean",
|
||
|
"default": true
|
||
|
},
|
||
|
"farboo.nested.config1": {
|
||
|
"type": "number",
|
||
|
"default": 42
|
||
|
},
|
||
|
"farboo.nested.config2": {
|
||
|
"type": "string",
|
||
|
"default": "Das Pferd frisst kein Reis."
|
||
|
},
|
||
|
"farboo.config4": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"farboo.get": {
|
||
|
"type": "string",
|
||
|
"default": "get-prop"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"configurationDefaults": {
|
||
|
"[abcLang]": {
|
||
|
"editor.lineNumbers": "off",
|
||
|
"editor.tabSize": 2
|
||
|
}
|
||
|
},
|
||
|
"taskDefinitions": [
|
||
|
{
|
||
|
"type": "custombuildscript",
|
||
|
"required": [
|
||
|
"flavor"
|
||
|
],
|
||
|
"properties": {
|
||
|
"flavor": {
|
||
|
"type": "string",
|
||
|
"description": "The build flavor. Should be either '32' or '64'."
|
||
|
},
|
||
|
"flags": {
|
||
|
"type": "array",
|
||
|
"description": "Additional build flags."
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"breakpoints": [
|
||
|
{
|
||
|
"language": "markdown"
|
||
|
}
|
||
|
],
|
||
|
"debuggers": [
|
||
|
{
|
||
|
"type": "mock",
|
||
|
"label": "Mock Debug",
|
||
|
"languages": [
|
||
|
"markdown"
|
||
|
],
|
||
|
"configurationAttributes": {
|
||
|
"launch": {
|
||
|
"required": [
|
||
|
"program"
|
||
|
],
|
||
|
"properties": {
|
||
|
"program": {
|
||
|
"type": "string",
|
||
|
"description": "Absolute path to a text file.",
|
||
|
"default": "${workspaceFolder}/file.md"
|
||
|
},
|
||
|
"stopOnEntry": {
|
||
|
"type": "boolean",
|
||
|
"description": "Automatically stop after launch.",
|
||
|
"default": true
|
||
|
},
|
||
|
"trace": {
|
||
|
"type": "boolean",
|
||
|
"description": "Enable logging of the Debug Adapter Protocol.",
|
||
|
"default": true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"initialConfigurations": [
|
||
|
{
|
||
|
"type": "mock",
|
||
|
"request": "launch",
|
||
|
"name": "Debug file.md",
|
||
|
"program": "${workspaceFolder}/file.md"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"scripts": {
|
||
|
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
|
||
|
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-extension:vscode-api-tests ./tsconfig.json"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/mocha": "2.2.43",
|
||
|
"@types/node": "^12.11.7",
|
||
|
"mocha-junit-reporter": "^1.17.0",
|
||
|
"mocha-multi-reporters": "^1.1.7",
|
||
|
"typescript": "^1.6.2",
|
||
|
"vscode": "1.1.5"
|
||
|
}
|
||
|
}
|