vscode-string-html/package.json

87 lines
2.0 KiB
JSON
Raw Normal View History

2023-03-03 12:07:45 +08:00
{
"name": "string-html-css",
"displayName": "string-html-css",
"description": "一个高亮js代码中的 html/css/scss/sass/less的字符串, 并支持emmet.",
2023-03-03 18:15:41 +08:00
"version": "1.0.1",
2023-03-03 12:07:45 +08:00
"publisher": "yutent",
"license": "MIT",
2023-03-03 18:15:41 +08:00
"icon": "assets/logo.png",
2023-03-03 12:07:45 +08:00
"bugs": {
"url": "https://github.com/yutent/vscode-string-html/issues"
},
"keywords": [
"html",
"css",
"template",
"polymer",
2023-06-05 18:24:57 +08:00
"wkit"
2023-03-03 12:07:45 +08:00
],
"repository": {
"type": "git",
"url": "https://github.com/yutent/vscode-string-html"
},
"engines": {
2023-06-06 15:26:41 +08:00
"vscode": "^1.58.0"
2023-03-03 12:07:45 +08:00
},
"scripts": {
2023-06-06 15:26:41 +08:00
"start": "node build.mjs --watch",
2023-06-05 18:45:47 +08:00
"build": "node build.mjs"
2023-03-03 12:07:45 +08:00
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:javascript",
2023-06-06 18:35:39 +08:00
"onLanguage:javascriptreact"
2023-03-03 12:07:45 +08:00
],
"main": "./dist/main.js",
"contributes": {
"commands": [
{
"command": "editor.action.formatInlineHtml",
"title": "Format Inline HTML/CSS"
}
],
"grammars": [
{
"injectTo": [
2023-06-06 18:35:39 +08:00
"source.js"
2023-03-03 12:07:45 +08:00
],
"scopeName": "es6.inline.html",
"path": "./syntaxes/es6.inline.html.json",
"embeddedLanguages": {
"meta.embedded.block.html": "html",
2023-06-06 18:35:39 +08:00
"meta.template.expression.js": "javascript"
2023-03-03 12:07:45 +08:00
}
},
{
"injectTo": [
2023-06-06 18:35:39 +08:00
"source.js"
2023-03-03 12:07:45 +08:00
],
"scopeName": "es6.inline.css",
"path": "./syntaxes/es6.inline.css.json",
"embeddedLanguages": {
"meta.embedded.block.css": "css",
2023-06-06 18:35:39 +08:00
"meta.template.expression.js": "javascript"
2023-03-03 12:07:45 +08:00
}
},
{
"injectTo": [
2023-06-06 18:35:39 +08:00
"source.js"
2023-03-03 12:07:45 +08:00
],
"scopeName": "es6.inline.scss",
"path": "./syntaxes/es6.inline.scss.json",
"embeddedLanguages": {
"meta.embedded.block.css": "scss",
2023-06-06 18:35:39 +08:00
"meta.template.expression.js": "javascript"
2023-03-03 12:07:45 +08:00
}
}
]
},
"dependencies": {
2023-06-06 15:26:41 +08:00
"vscode-css-languageservice": "^6.2.6",
"@vscode/emmet-helper": "^2.8.8",
"vscode-html-languageservice": "^5.0.6"
2023-03-03 12:07:45 +08:00
}
}