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