0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/tools/astro-vscode/package.json

98 lines
2.3 KiB
JSON

{
"name": "astro-vscode",
"displayName": "Astro",
"description": "Language support for Astro",
"icon": "assets/icon.png",
"type": "commonjs",
"galleryBanner": {
"color": "#FF5D01",
"theme": "dark"
},
"version": "0.3.0",
"author": "Astro",
"publisher": "astro-build",
"license": "MIT",
"scripts": {
"vscode:prepublish": "yarn build",
"build": "astro-scripts build 'src/index.ts'",
"dev": "astro-scripts dev 'src/index.ts'"
},
"engines": {
"vscode": "^1.22.0"
},
"activationEvents": [
"onLanguage:astro"
],
"dependencies": {
"vscode": "^1.1.37",
"vscode-languageclient": "~7.0.0",
"vscode-html-languageservice": "^3.0.3",
"vscode-emmet-helper": "2.1.2",
"astro-languageserver": "0.3.0"
},
"devDependencies": {
"astro-scripts": "0.0.1",
"@types/vscode": "latest"
},
"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"
}
],
"grammars": [
{
"language": "astro",
"scopeName": "text.html.astro",
"path": "./syntaxes/astro.tmLanguage.json",
"injectTo": [
"text.html.markdown"
],
"embeddedLanguages": {
"text.html.astro": "astro",
"text.html": "html",
"source.css": "css",
"source.scss": "scss",
"source.sass": "sass",
"source.tsx": "typescriptreact",
"meta.embedded.block.frontmatter": "typescriptreact"
}
}
]
}
}