112 lines
3.0 KiB
JSON
112 lines
3.0 KiB
JSON
{
|
|
"name": "vscode-bosh",
|
|
"displayName": "Bosh Editor",
|
|
"description": "Provides validation and content assist for various Bosh configuration files",
|
|
"icon": "icon.png",
|
|
"version": "0.2.1",
|
|
"publisher": "Pivotal",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/spring-projects/sts4.git"
|
|
},
|
|
"license": "EPL-1.0",
|
|
"engines": {
|
|
"npm": "^3.0.0",
|
|
"vscode": "^1.19.0"
|
|
},
|
|
"categories": [
|
|
"Languages",
|
|
"Linters"
|
|
],
|
|
"keywords": [
|
|
"yaml",
|
|
"bosh"
|
|
],
|
|
"activationEvents": [
|
|
"onLanguage:bosh-deployment-manifest",
|
|
"onLanguage:bosh-cloud-config"
|
|
],
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "bosh-cloud-config",
|
|
"aliases": [
|
|
"Bosh Cloud Config"
|
|
],
|
|
"filenamePatterns": [
|
|
"*cloud-config*.yml"
|
|
]
|
|
},
|
|
{
|
|
"id": "bosh-deployment-manifest",
|
|
"aliases": [
|
|
"Bosh Deployment Manifest"
|
|
],
|
|
"filenamePatterns": [
|
|
"*deployment*.yml"
|
|
],
|
|
"configuration": "./yaml-support/language-configuration.json"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "bosh-deployment-manifest",
|
|
"scopeName": "source.yaml",
|
|
"path": "./yaml-support/yaml.tmLanguage"
|
|
},
|
|
{
|
|
"language": "bosh-cloud-config",
|
|
"scopeName": "source.yaml",
|
|
"path": "./yaml-support/yaml.tmLanguage"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "Bosh CLI Configuration",
|
|
"properties": {
|
|
"bosh.cli.command": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"default": "bosh",
|
|
"description": "Path to an executable to launch the bosh cli V2. A V2 cli is required! Set this to null to completely disable all editor features that require access to the bosh director"
|
|
},
|
|
"bosh.cli.target": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"default": null,
|
|
"description": "Specifies the director/environment to target when executing bosh cli commands. I.e. this value is passed to the CLI via `-e` parameter."
|
|
},
|
|
"bosh.cli.timeout": {
|
|
"type": "integer",
|
|
"default": 3,
|
|
"description": "Number of seconds before CLI commands are terminated with a timeout"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"main": "./out/lib/Main",
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"clean": "rm -fr node_modules out *.vsix package-lock.json",
|
|
"preinstall": "./scripts/preinstall.sh",
|
|
"postinstall": "node ./node_modules/vscode/bin/install",
|
|
"vsce-package": "vsce package"
|
|
},
|
|
"dependencies": {
|
|
"@pivotal-tools/commons-vscode": "file:../commons-vscode/commons-vscode-0.1.4.tgz",
|
|
"vscode-languageclient": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"vsce": "^1.36.1",
|
|
"typescript": "2.6.1",
|
|
"@types/node": "^7.0.43",
|
|
"vscode": "^1.1.10"
|
|
}
|
|
}
|