Files
WRNexusJS/editors/vscode/package.json
T
2026-07-14 12:25:26 +05:30

170 lines
4.3 KiB
JSON

{
"name": "wrnexus",
"displayName": "WRNexus Language Support",
"description": "Syntax highlighting, formatting, diagnostics, snippets and completions for WrNexus .wrn files.",
"version": "0.2.3",
"publisher": "wrnexus",
"private": true,
"license": "SEE LICENSE IN LICENSE",
"icon": "icons/wrn.png",
"repository": {
"type": "git",
"url": "https://git.workroot.in/WorkRoot/WRNexusJS.git",
"directory": "editors/vscode"
},
"bugs": {
"url": "https://git.workroot.in/WorkRoot/WRNexusJS/issues"
},
"homepage": "https://wrnexusjs.dev",
"qna": "https://git.workroot.in/WorkRoot/WRNexusJS/issues",
"galleryBanner": {
"color": "#0b1021",
"theme": "dark"
},
"pricing": "Free",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Programming Languages",
"Snippets",
"Linters",
"Formatters"
],
"keywords": [
"wire",
"wrnexus",
"wrn",
"wirejs",
"language support",
"formatter",
"syntax highlighting",
"full-stack",
"ssr",
"bun"
],
"main": "./src/extension.js",
"activationEvents": [
"onLanguage:wrn"
],
"contributes": {
"languages": [
{
"id": "wrn",
"aliases": [
"WrNexus",
"wrn"
],
"extensions": [
".wrn"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./icons/wrn.png",
"dark": "./icons/wrn.png"
}
}
],
"grammars": [
{
"language": "wrn",
"scopeName": "source.wrn",
"path": "./syntaxes/wrn.tmLanguage.json",
"embeddedLanguages": {
"meta.embedded.block.html": "html",
"meta.embedded.block.css": "css",
"meta.embedded.block.ts": "typescript",
"meta.embedded.expr.wrn": "typescript"
}
},
{
"scopeName": "wrn.attributes.injection",
"path": "./syntaxes/wrn.injection.tmLanguage.json",
"injectTo": [
"source.wrn"
]
}
],
"snippets": [
{
"language": "wrn",
"path": "./snippets/wrn.json"
}
],
"configuration": {
"title": "WrNexus",
"properties": {
"wrnexus.diagnostics.enable": {
"type": "boolean",
"default": true,
"description": "Show parse errors for .wrn files as you type."
},
"wrnexus.format.enable": {
"type": "boolean",
"default": true,
"description": "Enable the built-in formatter for .wrn files."
}
}
},
"configurationDefaults": {
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "entity.other.attribute-name.wrn.directive",
"settings": {
"foreground": "#5eead4",
"fontStyle": "bold"
}
},
{
"scope": "entity.other.attribute-name.wrn.event",
"settings": {
"foreground": "#f472b6",
"fontStyle": "bold"
}
},
{
"scope": "punctuation.definition.keyword.wrn",
"settings": {
"foreground": "#f472b6"
}
},
{
"scope": "keyword.control.i18n.wrn",
"settings": {
"foreground": "#f472b6",
"fontStyle": "bold"
}
},
{
"scope": "string.other.i18n-key.wrn",
"settings": {
"foreground": "#5eead4"
}
},
{
"scope": "constant.language.http-method.wrn",
"settings": {
"foreground": "#f472b6",
"fontStyle": "bold"
}
}
]
}
}
},
"scripts": {
"build:compiler": "bun build ../../packages/compiler/src/index.ts --target=node --format=cjs --outfile=src/compiler.cjs",
"build": "bun run build:compiler",
"validate": "node test/validate.mjs",
"check": "bun run build && bun run validate",
"vscode:prepublish": "bun run check",
"package": "vsce package --no-dependencies",
"publish": "vsce publish --no-dependencies",
"publish:azure": "vsce publish --no-dependencies --azure-credential"
},
"devDependencies": {
"@vscode/vsce": "^3.9.2"
}
}