{ "name": "shell-format", "displayName": "shell-format", "description": "A formatter for shell scripts, Dockerfile, gitignore, dotenv, /etc/hosts, jvmoptions, and other file types", "version": "7.2.5", "publisher": "foxundermoon", "engines": { "vscode": "^1.36.0" }, "categories": [ "Formatters" ], "activationEvents": [ "onLanguage:shellscript", "onLanguage:dotenv", "onLanguage:dockerfile", "onLanguage:ignore", "onLanguage:hosts", "onLanguage:jvmoptions", "onLanguage:properties", "onLanguage:spring-boot-properties", "onLanguage:azcli", "onLanguage:bats" ], "main": "./dist/extension", "capabilities": { "documentFormattingProvider": "true" }, "icon": "logo.png", "repository": { "type": "git", "url": "https://github.com/foxundermoon/vs-shell-format.git" }, "bugs": { "url": "https://github.com/foxundermoon/vs-shell-format/issues" }, "keywords": [ "shell", "docker", "shellscript", "format", "bash", "dockerfile", "properties", "formatter", "beautify", "dotenv", "hosts", "jvmoptions", "vmoptions", "bashrc", "zshrc", "azcli", "azure cli tool", "bats" ], "contributes": { "languages": [ { "id": "shellscript" }, { "id": "dockerfile", "aliases": [ "docker", "Dockerfile" ], "filenamePatterns": [ "Dockerfile", "Dockerfile.*", "*.dockerfile" ] }, { "id": "ignore", "aliases": [ "gitignore", "dockerignore" ], "filenames": [ ".dockerignore", ".gitignore" ] }, { "id": "dotenv", "aliases": [ "env" ], "filenamePatterns": [ ".env.*" ], "filenames": [ "env", ".env" ] }, { "id": "jvmoptions", "aliases": [ "vmoptions" ], "extensions": [ ".vmoptions" ], "filenames": [ "jvm.options" ] }, { "id": "hosts", "filenames": [ "hosts" ] }, { "id": "properties", "aliases": [ "Properties", "spring-boot-properties" ], "extensions": [ ".properties" ] }, { "id": "azcli", "extensions": [ ".azcli" ] }, { "id": "bats", "extensions": [ ".bats" ] } ], "configuration": { "type": "object", "title": "shell-format configuration", "properties": { "shellformat.path": { "type": [ "string", "null" ], "default": null, "description": "the shfmt fullpath example[mac,linux] /usr/local/bin/shfmt [windows] C:/bin/shfmt.exe download from https://github.com/mvdan/sh/releases" }, "shellformat.flag": { "type": [ "string", "null" ], "default": null, "description": "shfmt -h to see detail usage, example: -p -bn -ci" }, "shellformat.effectLanguages": { "type": "array", "default": [ "shellscript", "dockerfile", "dotenv", "hosts", "jvmoptions", "ignore", "gitignore", "properties", "spring-boot-properties", "azcli", "bats" ], "description": "the trigger effect on the language" }, "shellformat.useEditorConfig": { "type": "boolean", "default": false, "description": "Use EditorConfig for shfmt configuration" } } } }, "scripts": { "vscode:prepublish": "webpack --mode production", "package": "vsce package", "compile": "webpack --mode none", "watch": "webpack --mode none --watch", "test-compile": "tsc -p ./", "test": "node ./out/test/runTest.js", "format": "pretty-quick", "format-check": "pretty-quick --check" }, "devDependencies": { "@types/mocha": "10.0.1", "@types/node": "20.10.1", "husky": "8.0.3", "lint-staged": "13.2.3", "mocha": "10.2.0", "prettier": "3.0.0", "pretty-quick": "3.1.3", "ts-loader": "9.4.4", "typescript": "5.1.6", "vsce": "2.15.0", "vscode": "^1.1.37", "vscode-test": "^1.6.1", "webpack": "5.88.2", "webpack-cli": "5.1.4" }, "dependencies": { "diff": "~5.1.0", "editorconfig": "^2.0.0" }, "licenses": [ { "type": "MIT", "url": "https://www.opensource.org/licenses/mit-license.php" } ] }