Files
DcsMissionScriptingTools/dutchies-dcs-scripting-tools/package.json
T
dutchie031 0c27905a43
Publish Action Release / Derive release metadata (push) Successful in 4s
Publish Install Lua Addon Action / test_action (push) Successful in 7s
Publish Action Release / Publish tags (push) Successful in 5s
Publish Bundle Script Action / publish_action (push) Successful in 30s
Publish Action Release / Derive release metadata (push) Successful in 3s
Publish Action Release / Publish tags (push) Successful in 6s
Publish Install Lua Addon Action / publish_action (push) Successful in 13s
publish-vs-code-extensions.yml / Publish VS Code Extension (push) Successful in 52s
updated the compiler to not leave whitespace when parsing tables
2026-09-20 12:42:17 +02:00

146 lines
4.6 KiB
JSON

{
"name": "dutchies-dcs-scripting-tools",
"displayName": "Dutchies Dcs Scripting Tools",
"description": "Scripting tools to create DCS script and frameworks easier",
"version": "0.2.1",
"author": {
"name": "dutchie031",
"email": "54616262+dutchie031@users.noreply.github.com"
},
"icon": "dutchie2.png",
"galleryBanner": {
"color": "#222430",
"theme": "dark"
},
"publisher": "dutchie031",
"license": "MIT",
"engines": {
"vscode": "^1.108.1"
},
"repository": {
"type": "git",
"url": "https://git.dutchie031.com/dutchie031/DcsMissionScriptingTools"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:lua",
"workspaceContains:**/*.lua"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Dutchies DCS Tools",
"type" : "object",
"properties": {
"dutchies-dcs-scripting-tools.dcsTypes": {
"type": "boolean",
"default": false,
"description": "Enable or disable DCS Types (adds types for DCS functions and objects)"
},
"dutchies-dcs-scripting-tools.spearheadTypes": {
"type": "boolean",
"default": false,
"description": "(Coming Soon) Enable or disable Spearhead Types (requires DCS Types to be enabled)"
},
"dutchies-dcs-scripting-tools.compileAt" : {
"type": "string",
"enum": ["onSave", "onCompileCommand"],
"default": "onCompileCommand",
"description": "When to compile the Lua script"
},
"dutchies-dcs-scripting-tools.includeDevelopmentScript": {
"type": "boolean",
"default": false,
"description": "Adds an additional script. This can be referenced from DCS through doScriptFile. This will then execute the compiles script. This way you don't have to reinsert the script on each change, but can just hit 'restart'."
},
"dutchies-dcs-scripting-tools.luaSrcDirectory" : {
"type":"string",
"default": "${workspaceFolder}/src",
"description": "Where the source files start. default: ${workspaceFolder}/src"
},
"dutchies-dcs-scripting-tools.luaOutputPath" : {
"type":"string",
"default": "${workspaceFolder}/dist",
"description": "Where the compiled Lua files will be output. default: ${workspaceFolder}/dist"
},
"dutchies-dcs-scripting-tools.globalRequirables": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "List of global requirable Lua scripts that will be included automatically."
}
}
},
"grammars": [
{
"path": "./syntaxes/lua-slocal.json",
"scopeName": "source.lua.slocal",
"injectTo": ["source.lua"]
}
],
"commands": [
{
"command": "dutchies-dcs-scripting-tools.openSettings",
"title": "Open Settings",
"category": "Dutchies DCS Tools"
},
{
"command": "dutchies-dcs-scripting-tools.enable",
"title": "Enable",
"category": "Dutchies DCS Tools"
},
{
"command": "dutchies-dcs-scripting-tools.disable",
"title": "Disable",
"category": "Dutchies DCS Tools"
},
{
"command": "dutchies-dcs-scripting-tools.compileLuaScripts",
"title": "Compile",
"category": "Dutchies DCS Tools"
}
]
},
"extensionDependencies": [
"sumneko.lua"
],
"files": [
"dist/**",
"README.md",
"lua-addons/**/*",
"dutchie2.png",
"LICENSE"
],
"dependencies": {},
"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.108.1",
"@types/mocha": "10.0.10",
"@types/node": "26.4.1",
"typescript-eslint": "8.70.0",
"eslint": "10.9.1",
"esbuild": "0.27.7",
"npm-run-all": "^4.1.5",
"typescript": "5.9.3",
"@vscode/test-cli": "0.0.15",
"@vscode/test-electron": "2.5.2"
}
}