vscode/extensions/html/package.json

95 lines
3.3 KiB
JSON
Raw Normal View History

2015-11-13 13:39:38 +00:00
{
2016-09-08 17:03:05 +00:00
"name": "html",
"version": "0.1.0",
"publisher": "vscode",
"engines": {
"vscode": "0.10.x"
},
"activationEvents": [
2016-09-14 07:49:40 +00:00
"onLanguage:html",
"onLanguage:handlebars"
2016-09-08 17:03:05 +00:00
],
"main": "./client/out/htmlMain",
"scripts": {
"compile": "gulp compile-extension:html-client && gulp compile-extension:html-server",
"postinstall": "cd server && npm install",
"update-grammar": "node ../../build/npm/update-grammar.js textmate/html.tmbundle Syntaxes/HTML.plist ./syntaxes/html.json",
"install-client-next": "npm install vscode-languageclient@next -f -S",
"install-client-local": "npm install ../../../vscode-languageserver-node/client -f -S"
},
"contributes": {
"languages": [{
"id": "html",
2016-05-12 10:30:35 +00:00
"extensions": [ ".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm", ".vue" ],
"aliases": [ "HTML", "htm", "html", "xhtml" ],
"mimetypes": ["text/html", "text/x-jshtm", "text/template", "text/ng-template", "application/xhtml+xml"]
}],
"grammars": [{
2016-09-13 20:12:48 +00:00
"language": "html",
"scopeName": "text.html.basic",
2016-08-17 09:37:22 +00:00
"path": "./syntaxes/html.json"
}],
2016-09-08 17:03:05 +00:00
"configuration": {
"id": "html",
"order": 20,
"type": "object",
"title": "HTML",
"properties": {
"html.format.wrapLineLength": {
"type": "integer",
"default": 120,
"description": "Maximum amount of characters per line (0 = disable)."
},
"html.format.unformatted": {
"type": [
"string",
"null"
],
"default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, script, select, small, span, strong, sub, sup, textarea, tt, var",
"description": "List of tags, comma separated, that shouldn't be reformatted. 'null' defaults to all tags listed at https://www.w3.org/TR/html5/dom.html#phrasing-content."
},
"html.format.indentInnerHtml": {
"type": "boolean",
"default": false,
"description": "Indent <head> and <body> sections."
},
"html.format.preserveNewLines": {
"type": "boolean",
"default": true,
"description": "Whether existing line breaks before elements should be preserved. Only works before elements, not inside tags or for text."
},
"html.format.maxPreserveNewLines": {
"type": [
"number",
"null"
],
"default": null,
"description": "Maximum number of line breaks to be preserved in one chunk. Use 'null' for unlimited."
},
"html.format.indentHandlebars": {
"type": "boolean",
"default": false,
"description": "Format and indent {{#foo}} and {{/foo}}."
},
"html.format.endWithNewline": {
"type": "boolean",
"default": false,
"description": "End with a newline."
},
"html.format.extraLiners": {
"type": [
"string",
"null"
],
"default": "head, body, /html",
"description": "List of tags, comma separated, that should have an extra newline before them. 'null' defaults to \"head, body, /html\"."
}
}
}
},
"dependencies": {
"vscode-languageclient": "^2.4.2-next.22",
"vscode-nls": "^1.0.7"
}
}