openquest-vscode/package.json

110 lines
3.2 KiB
JSON

{
"name": "openquest",
"displayName": "OpenQuest",
"description": "Support for the Quest language, a DSL for mission scripting (Metin2)",
"version": "0.0.1",
"repository": {
"type": "git",
"url": "https://github.com/OriDevTeam/openquest-rs\""
},
"license": "Apache2",
"publisher": "OriDevTeam",
"categories": [
"Programming Languages"
],
"keywords": [
"quest",
"language"
],
"engines": {
"vscode": "^1.78.0"
},
"main": "./client/out/extension",
"contributes": {
"languages": [
{
"id": "quest",
"aliases": [
"Quest",
"quest"
],
"extensions": [
".quest"
],
"configuration": "./language-configuration.json",
"embeddedLanguages": {
"meta.embedded.block.lua": "lua"
}
}
],
"grammars": [
{
"language": "quest",
"scopeName": "source.quest",
"path": "./syntaxes/quest.tmLanguage.json"
}
],
"configuration": {
"title": "OpenQuest",
"properties": {
"openquest.handlingMode": {
"scope": "window",
"type": "string",
"enum": [
"Automatic (Package Manager)",
"Local Path",
"Remote/Local Connection"
],
"default": "Automatic (Package Manager)",
"description": "Where and how to connect to a language server, or spawn a new process of one"
},
"openquest.serverAddress": {
"scope": "window",
"type": "string",
"markdownDescription": "Language Server address to connect to (**Example:** localhost:5050)"
},
"openquest.serverArguments": {
"scope": "window",
"type": "array",
"default": [],
"description": "Arguments to pass when initializing language server"
},
"openquest.serverBinaryPath": {
"scope": "window",
"type": "string",
"markdownDescription": "Path of the language server executable (if not given, it will look in $PATH and consequentially $HOME)"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./client/src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"postinstall": "cd client && pnpm install && cd ..",
"compile": "tsc -b",
"watch": "tsc -b -w",
"lint": "eslint ./client/src ./server/src --ext .ts,.tsx",
"test": "sh ./scripts/e2e.sh",
"package-y2j": "js-yaml package.yaml > package.json",
"grammar-y2j": "js-yaml syntaxes/quest.tmGrammar.yaml > syntaxes/quest.tmGrammar.json"
},
"dependencies": {
"generator-code": "^1.7.7",
"js-yaml": "^4.1.0",
"ws": "^8.13.0"
},
"devDependencies": {
"@types/mocha": "^9.1.1",
"@types/node": "^16.18.34",
"@types/ws": "^8.5.5",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"@vscode/vsce": "^2.21.0",
"eslint": "^8.42.0",
"mocha": "^9.2.2",
"typescript": "^5.1.3"
}
}