vscode/extensions/javascript/package.json
Aurélien Pupier 7a5bca9faf Add License field to package.jsons #68423 (#68771)
it should avoid to have "warning XXX: No license field" during yarn
build

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
2019-06-06 11:44:50 +02:00

133 lines
3.6 KiB
JSON

{
"name": "javascript",
"displayName": "%displayName%",
"description": "%description%",
"version": "1.0.0",
"publisher": "vscode",
"license": "MIT",
"engines": {
"vscode": "0.10.x"
},
"contributes": {
"languages": [
{
"id": "javascriptreact",
"aliases": [
"JavaScript React",
"jsx"
],
"extensions": [
".jsx"
],
"configuration": "./javascript-language-configuration.json"
},
{
"id": "javascript",
"aliases": [
"JavaScript",
"javascript",
"js"
],
"extensions": [
".js",
".es6",
".mjs",
".pac"
],
"filenames": [
"jakefile"
],
"firstLine": "^#!.*\\bnode",
"mimetypes": [
"text/javascript"
],
"configuration": "./javascript-language-configuration.json"
},
{
"id": "jsx-tags",
"aliases": [],
"configuration": "./tags-language-configuration.json"
}
],
"grammars": [
{
"language": "javascriptreact",
"scopeName": "source.js.jsx",
"path": "./syntaxes/JavaScriptReact.tmLanguage.json",
"embeddedLanguages": {
"meta.tag.js": "jsx-tags",
"meta.tag.without-attributes.js": "jsx-tags",
"meta.tag.attributes.js.jsx": "javascriptreact",
"meta.embedded.expression.js": "javascriptreact"
},
"tokenTypes": {
"entity.name.type.instance.jsdoc": "other",
"entity.name.function.tagged-template": "other",
"meta.import string.quoted": "other",
"variable.other.jsdoc": "other"
}
},
{
"language": "javascript",
"scopeName": "source.js",
"path": "./syntaxes/JavaScript.tmLanguage.json",
"embeddedLanguages": {
"meta.tag.js": "jsx-tags",
"meta.tag.without-attributes.js": "jsx-tags",
"meta.tag.attributes.js": "javascript",
"meta.embedded.expression.js": "javascript"
},
"tokenTypes": {
"entity.name.type.instance.jsdoc": "other",
"entity.name.function.tagged-template": "other",
"meta.import string.quoted": "other",
"variable.other.jsdoc": "other"
}
},
{
"scopeName": "source.js.regexp",
"path": "./syntaxes/Regular Expressions (JavaScript).tmLanguage"
}
],
"snippets": [
{
"language": "javascript",
"path": "./snippets/javascript.json"
},
{
"language": "javascriptreact",
"path": "./snippets/javascript.json"
}
],
"jsonValidation": [
{
"fileMatch": ".bowerrc",
"url": "https://schemastore.azurewebsites.net/schemas/json/bowerrc.json"
},
{
"fileMatch": ".babelrc",
"url": "https://schemastore.azurewebsites.net/schemas/json/babelrc.json"
},
{
"fileMatch": ".babelrc.json",
"url": "https://schemastore.azurewebsites.net/schemas/json/babelrc.json"
},
{
"fileMatch": "jsconfig.json",
"url": "https://schemastore.azurewebsites.net/schemas/json/jsconfig.json"
},
{
"fileMatch": "jsconfig.json",
"url": "./schemas/jsconfig.schema.json"
},
{
"fileMatch": "jsconfig.*.json",
"url": "https://schemastore.azurewebsites.net/schemas/json/jsconfig.json"
},
{
"fileMatch": "jsconfig.*.json",
"url": "./schemas/jsconfig.schema.json"
}
]
}
}