github.com/grafana/tanka@v0.26.1-0.20240506093700-c22cfc35c21a/docs/.vscext/heptio.jsonnet/extension/package.json (about)

     1  {
     2      "activationEvents": [
     3          "onLanguage:jsonnet",
     4          "onCommand:jsonnet.previewToSide",
     5          "onCommand:jsonnet.preview"
     6      ],
     7      "categories": [
     8          "Languages"
     9      ],
    10      "contributes": {
    11          "commands": [
    12              {
    13                  "command": "jsonnet.previewToSide",
    14                  "title": "Jsonnet: Open Preview to the Side"
    15              },
    16              {
    17                  "command": "jsonnet.preview",
    18                  "title": "Jsonnet: Open Preview"
    19              }
    20          ],
    21          "configuration": {
    22              "properties": {
    23                  "jsonnet.executablePath": {
    24                      "default": null,
    25                      "description": "Location of the `jsonnet` executable.",
    26                      "type": "string"
    27                  },
    28                  "jsonnet.extStrs": {
    29                      "default": null,
    30                      "description": "External strings to pass to `jsonnet` executable.",
    31                      "type": "object"
    32                  },
    33                  "jsonnet.libPaths": {
    34                      "default": [],
    35                      "description": "Additional paths to search for libraries when compiling Jsonnet code.",
    36                      "type": "array"
    37                  },
    38                  "jsonnet.outputFormat": {
    39                      "default": "yaml",
    40                      "description": "Preview output format (yaml / json)",
    41                      "enum": [
    42                          "json",
    43                          "yaml"
    44                      ]
    45                  }
    46              },
    47              "title": "Jsonnet configuration",
    48              "type": "object"
    49          },
    50          "grammars": [
    51              {
    52                  "language": "jsonnet",
    53                  "path": "./syntaxes/jsonnet.tmLanguage.json",
    54                  "scopeName": "source.jsonnet"
    55              }
    56          ],
    57          "keybindings": [
    58              {
    59                  "command": "jsonnet.previewToSide",
    60                  "key": "shift+ctrl+i",
    61                  "mac": "shift+cmd+i",
    62                  "when": "editorFocus"
    63              }
    64          ],
    65          "languages": [
    66              {
    67                  "aliases": [
    68                      "Jsonnet",
    69                      "jsonnet"
    70                  ],
    71                  "configuration": "./language-configuration.json",
    72                  "extensions": [
    73                      ".jsonnet",
    74                      ".libsonnet"
    75                  ],
    76                  "id": "jsonnet"
    77              }
    78          ]
    79      },
    80      "dependencies": {
    81          "filepath": "^1.1.0",
    82          "immutable": "^3.8.1",
    83          "js-yaml": "^3.0.0",
    84          "tmp": "0.0.33",
    85          "vscode-languageclient": "^3.1.0",
    86          "vscode-languageserver": "^3.1.0"
    87      },
    88      "description": "Language support for Jsonnet",
    89      "devDependencies": {
    90          "@types/chai": "^3.5.0",
    91          "@types/mocha": "^2.2.42",
    92          "@types/node": "^6.0.40",
    93          "browserify": "^14.3.0",
    94          "chai": "^3.5.0",
    95          "mocha": "^5.0.1",
    96          "typescript": "^2.3.2",
    97          "vscode": "^1.0.0"
    98      },
    99      "displayName": "Jsonnet",
   100      "engines": {
   101          "vscode": "^1.18.x"
   102      },
   103      "homepage": "https://github.com/heptio/vscode-jsonnet/blob/master/README.md",
   104      "license": "SEE LICENSE IN 'LICENSE' file",
   105      "main": "./out/client/extension",
   106      "name": "jsonnet",
   107      "publisher": "heptio",
   108      "repository": {
   109          "type": "git",
   110          "url": "https://github.com/heptio/vscode-jsonnet.git"
   111      },
   112      "scripts": {
   113          "compile": "tsc -watch -p ./",
   114          "compile-once": "tsc -p ./",
   115          "compile-site": "browserify ./out/site/main.js > ksonnet.js",
   116          "postinstall": "node ./node_modules/vscode/bin/install",
   117          "test": "node ./node_modules/vscode/bin/test",
   118          "vscode:prepublish": "tsc -p ./"
   119      },
   120      "version": "0.1.0"
   121  }