/ duper-vs-code / package.json
package.json
 1  {
 2    "name": "duper-vs-code",
 3    "displayName": "Duper",
 4    "description": "Duper support for Visual Studio Code",
 5    "version": "0.5.3",
 6    "publisher": "epic-eric",
 7    "homepage": "https://duper.dev.br",
 8    "bugs": {
 9      "url": "https://github.com/EpicEric/duper/issues"
10    },
11    "repository": {
12      "type": "git",
13      "url": "git+https://github.com/EpicEric/duper.git"
14    },
15    "license": "MIT",
16    "categories": [
17      "Programming Languages"
18    ],
19    "icon": "images/logo.png",
20    "engines": {
21      "vscode": "^1.105.0"
22    },
23    "main": "./dist/client.js",
24    "contributes": {
25      "languages": [
26        {
27          "id": "duper",
28          "aliases": [
29            "Duper",
30            "duper"
31          ],
32          "extensions": [
33            ".duper"
34          ],
35          "configuration": "./language-configuration.json",
36          "icon": {
37            "light": "images/logo.png",
38            "dark": "images/logo.png"
39          }
40        },
41        {
42          "id": "duper-markdown"
43        }
44      ],
45      "grammars": [
46        {
47          "language": "duper",
48          "scopeName": "source.duper",
49          "path": "./syntaxes/duper.tmLanguage.json"
50        },
51        {
52          "language": "duper-markdown",
53          "scopeName": "markdown.duper.codeblock",
54          "path": "./syntaxes/duper-markdown.tmLanguage.json",
55          "injectTo": [
56            "text.html.markdown"
57          ],
58          "embeddedLanguages": {
59            "meta.embedded.block.duper": "duper"
60          }
61        }
62      ],
63      "configuration": {
64        "title": "Duper",
65        "properties": {
66          "duper.lsp.bin": {
67            "type": "string",
68            "default": "",
69            "description": "Path to the Duper LSP binary (leave empty to auto-detect)"
70          },
71          "duper.lsp.args": {
72            "type": "array",
73            "default": [],
74            "description": "Arguments to pass to the Duper LSP binary"
75          },
76          "duper.lsp.systemBinary": {
77            "type": "boolean",
78            "default": false,
79            "description": "Prefer using the Duper LSP binary from the system over the bundled one"
80          }
81        }
82      }
83    },
84    "dependencies": {
85      "vscode-languageclient": "^7.0.0"
86    },
87    "devDependencies": {
88      "@types/node": "^24.10.1",
89      "@types/vscode": "^1.105.0",
90      "@vscode/vsce": "^3.7.0",
91      "esbuild": "^0.27.0",
92      "ovsx": "^0.10.7",
93      "typescript": "^5.9.3"
94    },
95    "scripts": {
96      "build": "rm -rf dist && esbuild client=./src/client --bundle --outdir=dist --external:vscode --format=cjs --platform=node --minify",
97      "prelaunch": "cd .. && cargo build -p duper_lsp && cd - && npm run build"
98    }
99  }