vscode-string-html/package.json

126 lines
3.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",
"lit-html"
],
"repository": {
"type": "git",
"url": "https://github.com/yutent/vscode-string-html"
},
"engines": {
"vscode": "^1.22.0"
},
"scripts": {
2023-03-03 18:15:41 +08:00
"start": "npx tsc --watch -p .",
"build": "npx tsc -p ."
2023-03-03 12:07:45 +08:00
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:javascript",
"onLanguage:typescript",
"onLanguage:javascriptreact",
"onLanguage:typescriptreact"
],
"main": "./dist/main.js",
"contributes": {
"commands": [
{
"command": "editor.action.formatInlineHtml",
"title": "Format Inline HTML/CSS"
}
],
"grammars": [
{
"injectTo": [
"source.js",
"source.js.jsx",
"source.jsx",
"source.ts",
"source.ts.tsx",
"source.tsx"
],
"scopeName": "es6.inline.html",
"path": "./syntaxes/es6.inline.html.json",
"embeddedLanguages": {
"meta.embedded.block.html": "html",
"meta.template.expression.ts": "typescript"
}
},
{
"injectTo": [
"source.js",
"source.js.jsx",
"source.jsx",
"source.ts",
"source.ts.tsx",
"source.tsx"
],
"scopeName": "es6.inline.css",
"path": "./syntaxes/es6.inline.css.json",
"embeddedLanguages": {
"meta.embedded.block.css": "css",
"meta.template.expression.ts": "typescript"
}
},
{
"injectTo": [
"source.js",
"source.js.jsx",
"source.jsx",
"source.ts",
"source.ts.tsx",
"source.tsx"
],
"scopeName": "es6.inline.scss",
"path": "./syntaxes/es6.inline.scss.json",
"embeddedLanguages": {
"meta.embedded.block.css": "scss",
"meta.template.expression.ts": "typescript"
}
},
{
"injectTo": [
"source.js",
"source.js.jsx",
"source.jsx",
"source.ts",
"source.ts.tsx",
"source.tsx"
],
"scopeName": "es6.inline.less",
"path": "./syntaxes/es6.inline.less.json",
"embeddedLanguages": {
"meta.embedded.block.css": "less",
"meta.template.expression.ts": "typescript"
}
}
]
},
"devDependencies": {
2023-03-03 19:17:20 +08:00
"@types/node": "^18.14.5",
2023-03-03 12:07:45 +08:00
"@types/vscode": "^1.22.0",
2023-03-03 19:17:20 +08:00
"typescript": "^4.9.5",
2023-03-03 12:07:45 +08:00
"vscode-languageserver-types": "^3.6.0"
},
"dependencies": {
"vscode-css-languageservice": "^3.0.7",
"vscode-emmet-helper": "^1.2.0",
"vscode-html-languageservice": "^2.1.1"
}
}