2021-03-25 10:38:17 -05:00
|
|
|
{
|
2021-05-05 12:44:31 -05:00
|
|
|
"name": "astro-vscode",
|
2021-05-03 13:26:10 -05:00
|
|
|
"displayName": "Astro",
|
|
|
|
"description": "Language support for Astro",
|
|
|
|
"icon": "assets/icon.png",
|
2021-05-05 12:44:31 -05:00
|
|
|
"type": "commonjs",
|
2021-05-03 13:26:10 -05:00
|
|
|
"galleryBanner": {
|
2021-05-13 14:12:45 -05:00
|
|
|
"color": "#FFBE2D",
|
2021-05-03 13:26:10 -05:00
|
|
|
"theme": "dark"
|
|
|
|
},
|
2021-06-16 13:20:29 -05:00
|
|
|
"version": "0.5.0",
|
2021-05-03 13:26:10 -05:00
|
|
|
"author": "Astro",
|
|
|
|
"license": "MIT",
|
2021-05-17 13:29:51 -05:00
|
|
|
"publisher": "astro-build",
|
2021-05-03 13:26:10 -05:00
|
|
|
"scripts": {
|
2021-06-16 13:20:29 -05:00
|
|
|
"vscode:prepublish": "yarn build",
|
2021-05-17 13:29:51 -05:00
|
|
|
"vscode:publish": "node ./scripts/publish.mjs",
|
2021-05-05 12:44:31 -05:00
|
|
|
"build": "astro-scripts build 'src/index.ts'",
|
|
|
|
"dev": "astro-scripts dev 'src/index.ts'"
|
2021-05-03 13:26:10 -05:00
|
|
|
},
|
|
|
|
"engines": {
|
2021-05-13 14:12:45 -05:00
|
|
|
"vscode": "^1.52.0"
|
2021-05-03 13:26:10 -05:00
|
|
|
},
|
|
|
|
"activationEvents": [
|
|
|
|
"onLanguage:astro"
|
|
|
|
],
|
|
|
|
"dependencies": {
|
2021-06-16 13:20:29 -05:00
|
|
|
"@astrojs/language-server": "0.5.0",
|
|
|
|
"vscode-emmet-helper": "2.1.2",
|
|
|
|
"vscode-html-languageservice": "^3.0.3",
|
|
|
|
"vscode-languageclient": "~7.0.0"
|
2021-05-03 13:26:10 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-05-17 13:29:51 -05:00
|
|
|
"@types/vscode": "^1.52.0",
|
|
|
|
"astro-scripts": "file:../../scripts",
|
2021-06-16 13:20:29 -05:00
|
|
|
"execa": "^5.0.0"
|
2021-05-03 13:26:10 -05:00
|
|
|
},
|
|
|
|
"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"
|
2021-05-17 09:29:16 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "astro-markdown",
|
|
|
|
"aliases": [
|
|
|
|
"Astro Markdown"
|
|
|
|
],
|
|
|
|
"configuration": "./languages/astro-markdown-language-configuration.json"
|
2021-05-03 13:26:10 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"grammars": [
|
|
|
|
{
|
|
|
|
"language": "astro",
|
|
|
|
"scopeName": "text.html.astro",
|
|
|
|
"path": "./syntaxes/astro.tmLanguage.json",
|
|
|
|
"embeddedLanguages": {
|
|
|
|
"text.html.astro": "astro",
|
2021-05-17 09:29:16 -05:00
|
|
|
"text.html.markdown.astro": "astro-markdown",
|
2021-05-03 13:26:10 -05:00
|
|
|
"text.html": "html",
|
|
|
|
"source.css": "css",
|
|
|
|
"source.scss": "scss",
|
|
|
|
"source.sass": "sass",
|
|
|
|
"source.tsx": "typescriptreact",
|
|
|
|
"meta.embedded.block.frontmatter": "typescriptreact"
|
|
|
|
}
|
2021-05-17 09:29:16 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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"
|
|
|
|
}
|
2021-05-03 13:26:10 -05:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-03-25 10:38:17 -05:00
|
|
|
}
|