mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
159 lines
4.9 KiB
JSON
159 lines
4.9 KiB
JSON
{
|
|
"name": "astro-vscode",
|
|
"displayName": "Astro",
|
|
"description": "Language support for Astro",
|
|
"icon": "assets/icon.png",
|
|
"type": "commonjs",
|
|
"galleryBanner": {
|
|
"color": "#FFBE2D",
|
|
"theme": "dark"
|
|
},
|
|
"version": "0.4.3",
|
|
"author": "Astro",
|
|
"license": "MIT",
|
|
"publisher": "astro-build",
|
|
"scripts": {
|
|
"vscode:publish": "node ./scripts/publish.mjs",
|
|
"build": "astro-scripts build 'src/index.ts'",
|
|
"dev": "astro-scripts dev 'src/index.ts'"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.52.0"
|
|
},
|
|
"activationEvents": [
|
|
"onLanguage:astro"
|
|
],
|
|
"dependencies": {
|
|
"astro-languageserver": "^0.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/vscode": "^1.52.0",
|
|
"astro-scripts": "file:../../scripts",
|
|
"execa": "^5.0.0",
|
|
"vscode-emmet-helper": "2.1.2",
|
|
"vscode-html-languageservice": "^3.0.3",
|
|
"vscode-languageclient": "~7.0.0"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"files": [
|
|
"dist/",
|
|
"languages/",
|
|
"syntaxes/"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"directory": "vscode",
|
|
"url": "https://github.com/snowpackjs/astro"
|
|
},
|
|
"contributes": {
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "Astro configuration",
|
|
"properties": {
|
|
"astro.trace.server": {
|
|
"scope": "window",
|
|
"type": "string",
|
|
"enum": [
|
|
"off",
|
|
"messages",
|
|
"verbose"
|
|
],
|
|
"default": "off",
|
|
"description": "Traces the communication between VS Code and the language server."
|
|
}
|
|
}
|
|
},
|
|
"languages": [
|
|
{
|
|
"id": "astro",
|
|
"extensions": [
|
|
".astro"
|
|
],
|
|
"aliases": [
|
|
"Astro"
|
|
],
|
|
"configuration": "./languages/astro-language-configuration.json"
|
|
},
|
|
{
|
|
"id": "astro-markdown",
|
|
"aliases": [
|
|
"Astro Markdown"
|
|
],
|
|
"configuration": "./languages/astro-markdown-language-configuration.json"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "astro",
|
|
"scopeName": "text.html.astro",
|
|
"path": "./syntaxes/astro.tmLanguage.json",
|
|
"embeddedLanguages": {
|
|
"text.html.astro": "astro",
|
|
"text.html.markdown.astro": "astro-markdown",
|
|
"text.html": "html",
|
|
"source.css": "css",
|
|
"source.scss": "scss",
|
|
"source.sass": "sass",
|
|
"source.tsx": "typescriptreact",
|
|
"meta.embedded.block.frontmatter": "typescriptreact"
|
|
}
|
|
},
|
|
{
|
|
"language": "astro-markdown",
|
|
"scopeName": "text.html.markdown.astro",
|
|
"path": "./syntaxes/astro-markdown.tmLanguage.json",
|
|
"injectTo": [
|
|
"text.html.astro"
|
|
],
|
|
"embeddedLanguages": {
|
|
"text.html.astro": "astro",
|
|
"text.html.markdown.astro": "astro-markdown",
|
|
"text.html.markdown": "markdown",
|
|
"source.tsx": "typescriptreact",
|
|
"source.js": "javascript",
|
|
"source.css": "css",
|
|
"meta.embedded.block.css": "css",
|
|
"meta.embedded.block.astro": "astro",
|
|
"meta.embedded.block.ini": "ini",
|
|
"meta.embedded.block.java": "java",
|
|
"meta.embedded.block.lua": "lua",
|
|
"meta.embedded.block.makefile": "makefile",
|
|
"meta.embedded.block.perl": "perl",
|
|
"meta.embedded.block.r": "r",
|
|
"meta.embedded.block.ruby": "ruby",
|
|
"meta.embedded.block.php": "php",
|
|
"meta.embedded.block.sql": "sql",
|
|
"meta.embedded.block.vs_net": "vs_net",
|
|
"meta.embedded.block.xml": "xml",
|
|
"meta.embedded.block.xsl": "xsl",
|
|
"meta.embedded.block.yaml": "yaml",
|
|
"meta.embedded.block.dosbatch": "dosbatch",
|
|
"meta.embedded.block.clojure": "clojure",
|
|
"meta.embedded.block.coffee": "coffee",
|
|
"meta.embedded.block.c": "c",
|
|
"meta.embedded.block.cpp": "cpp",
|
|
"meta.embedded.block.diff": "diff",
|
|
"meta.embedded.block.dockerfile": "dockerfile",
|
|
"meta.embedded.block.go": "go",
|
|
"meta.embedded.block.groovy": "groovy",
|
|
"meta.embedded.block.pug": "jade",
|
|
"meta.embedded.block.javascript": "javascript",
|
|
"meta.embedded.block.json": "json",
|
|
"meta.embedded.block.less": "less",
|
|
"meta.embedded.block.objc": "objc",
|
|
"meta.embedded.block.scss": "scss",
|
|
"meta.embedded.block.perl6": "perl6",
|
|
"meta.embedded.block.powershell": "powershell",
|
|
"meta.embedded.block.python": "python",
|
|
"meta.embedded.block.rust": "rust",
|
|
"meta.embedded.block.scala": "scala",
|
|
"meta.embedded.block.shellscript": "shellscript",
|
|
"meta.embedded.block.typescript": "typescript",
|
|
"meta.embedded.block.typescriptreact": "typescriptreact",
|
|
"meta.embedded.block.csharp": "csharp",
|
|
"meta.embedded.block.fsharp": "fsharp"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|