mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
106 lines
2.1 KiB
JSON
106 lines
2.1 KiB
JSON
{
|
|
"name": "javascript",
|
|
"version": "0.1.0",
|
|
"publisher": "vscode",
|
|
"engines": { "vscode": "0.10.x" },
|
|
"activationEvents": [
|
|
"onLanguage:javascript", "onLanguage:json"
|
|
],
|
|
"main": "./out/javascriptMain",
|
|
"dependencies": {
|
|
"vscode-nls": "^1.0.4",
|
|
"request-light": "^0.1.0",
|
|
"jsonc-parser": "^0.2.2"
|
|
},
|
|
"scripts": {
|
|
"compile": "gulp compile-extension:javascript",
|
|
"watch": "gulp watch-extension:javascript"
|
|
},
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "javascriptreact",
|
|
"aliases": [
|
|
"JavaScript React",
|
|
"jsx"
|
|
],
|
|
"extensions": [
|
|
".jsx"
|
|
],
|
|
"configuration": "./language-configuration.json"
|
|
},
|
|
{
|
|
"id": "javascript",
|
|
"aliases": [
|
|
"JavaScript",
|
|
"javascript",
|
|
"js"
|
|
],
|
|
"extensions": [
|
|
".js",
|
|
".es6"
|
|
],
|
|
"filenames": [
|
|
"jakefile"
|
|
],
|
|
"firstLine": "^#!.*\\bnode",
|
|
"mimetypes": [
|
|
"text/javascript"
|
|
],
|
|
"configuration": "./language-configuration.json"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "javascriptreact",
|
|
"scopeName": "source.js",
|
|
"path": "./syntaxes/JavaScript.tmLanguage.json"
|
|
},
|
|
{
|
|
"language": "javascript",
|
|
"scopeName": "source.js",
|
|
"path": "./syntaxes/JavaScript.tmLanguage.json"
|
|
},
|
|
{
|
|
"scopeName": "source.js.regexp",
|
|
"path": "./syntaxes/Regular Expressions (JavaScript).tmLanguage"
|
|
}
|
|
],
|
|
"snippets": [
|
|
{
|
|
"language": "javascript",
|
|
"path": "./snippets/javascript.json"
|
|
},
|
|
{
|
|
"language": "javascriptreact",
|
|
"path": "./snippets/javascriptreact.json"
|
|
}
|
|
],
|
|
"jsonValidation": [
|
|
{
|
|
"fileMatch": "package.json",
|
|
"url": "http://json.schemastore.org/package"
|
|
},
|
|
{
|
|
"fileMatch": "bower.json",
|
|
"url": "http://json.schemastore.org/bower"
|
|
},
|
|
{
|
|
"fileMatch": ".bower.json",
|
|
"url": "http://json.schemastore.org/bower"
|
|
},
|
|
{
|
|
"fileMatch": ".bowerrc",
|
|
"url": "http://json.schemastore.org/bowerrc"
|
|
},
|
|
{
|
|
"fileMatch": "jsconfig.json",
|
|
"url": "./schemas/jsconfig.schema.json"
|
|
},
|
|
{
|
|
"fileMatch": "jsconfig.json",
|
|
"url": "http://json.schemastore.org/jsconfig"
|
|
}
|
|
]
|
|
}
|
|
} |