bmc-tpl-code-all-around/package.json

157 lines
4.9 KiB
JSON
Raw Normal View History

2026-10-07 21:34:05 +00:00
{
"name": "bmc-tpl-code-all-around",
"displayName": "BMC TPL Code All around",
"description": "Linter, Auto-Formatter, IntelliSense und Hover-Dokumentationen für die BMC TPL (Template Language). Verwandelt VS Code in eine vollwertige IDE.",
2026-10-07 21:34:05 +00:00
"version": "0.0.1",
"publisher": "kuro",
"author": "Thomas Wehnert",
"license": "MIT",
"icon": "icon.png",
2026-10-07 21:34:05 +00:00
"engines": {
"vscode": "^1.140.0"
},
"repository": {
"type": "git",
"url": "https://wiccafe.de/kuro/bmc-tpl-code-all-around.git"
},
2026-10-07 21:34:05 +00:00
"categories": [
"Linters",
"Formatters",
"Programming Languages",
"Snippets"
],
"keywords": [
"bmc",
"discovery",
"tpl",
"linter",
"formatter",
"intellisense",
"autocomplete"
2026-10-07 21:34:05 +00:00
],
"activationEvents": [
"onLanguage:tpl"
],
2026-10-07 21:34:05 +00:00
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "BMC TPL Settings",
"properties": {
"tpl.metadata.author": {
"type": "string",
"default": "Autor",
"description": "Standard-Author for new generated TPL-Modules."
},
"tpl.metadata.origin": {
"type": "string",
"default": "Custom",
"description": "Standard-Origin for new generated TPL-Modules."
},
"tpl.metadata.publisher": {
"type": "string",
"default": "IT-Operations",
"description": "Standard-Publisher for new generated TPL-Modules."
},
"tpl.metadata.treePathBase": {
"type": "string",
"default": "Company",
"description": "First Part (Basis) of the tree_paths in the Metadata."
},
"tpl.metadata.require.origin": {
"type": "boolean",
"default": true,
"description": "Marks 'origin' as Required on module level."
},
"tpl.metadata.require.author": {
"type": "boolean",
"default": true,
"description": "Marks 'author' as Required on module level."
},
"tpl.metadata.require.products": {
"type": "boolean",
"default": true,
"description": "Marks 'products' aas Required on module level."
},
"tpl.metadata.require.publishers": {
"type": "boolean",
"default": true,
"description": "Marks 'publishers' as Required on module level."
},
"tpl.metadata.require.treePath": {
"type": "boolean",
"default": true,
"description": "Marks 'tree_path' as Required on module level."
},
"tpl.metadata.treePath.minLevels": {
"type": "number",
"default": 3,
"description": "How many levels should the tree_path in Metadata at least have? (e.g. 3 for 'Base', 'Category', 'Subcategory')."
},
"tpl.metadata.treePath.staticNodes": {
"type": "array",
"items": { "type": "string" },
"default": [""],
"description": "Fixed definitions for the tree_path left to right (e.g. ['Company', 'Software']). The rest of the levels are free to choose."
},
"tpl.version": {
"type": "number",
"default": 23,
"description": "Current TPL-Subversion (e. g. 23 for TPL 1.23). Used to find old Modules and for auto generating the sceleton."
},
"tpl.rules.requireBodyLog": {
"type": "boolean",
"default": true,
"description": "Require a log.debug statement at the start of a pattern's body phase."
}
},
"commands": [
{
"command": "tpl.scanWorkspace",
"title": "TPL: Gesamten Workspace prüfen"
}
]
},
"languages": [
2026-10-07 21:34:05 +00:00
{
"id": "tpl",
"aliases": ["TPL", "tpl"],
"extensions": [".tpl"],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "tpl",
"scopeName": "source.tpl",
"path": "./syntaxes/tpl.tmLanguage.json"
2026-10-07 21:34:05 +00:00
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.140.0",
"@types/mocha": "^10.0.10",
"@types/node": "24.x",
"typescript-eslint": "^8.61.1",
"eslint": "^10.5.0",
"esbuild": "^0.28.1",
"npm-run-all": "^4.1.5",
"typescript": "^6.0.3",
"@vscode/test-cli": "^0.0.15",
"@vscode/test-electron": "^3.0.0"
}
}