package.json 1.6 KB
Newer Older
1
{
2
  "name": "json",
3
  "displayName": "%displayName%",
4
  "description": "%description%",
5
  "version": "1.0.0",
6
  "publisher": "vscode",
7
  "license": "MIT",
8 9 10 11
  "engines": {
    "vscode": "0.10.x"
  },
  "scripts": {
12
    "update-grammar": "node ./build/update-grammars.js"
13 14 15 16 17 18 19 20 21 22 23 24 25
  },
  "contributes": {
    "languages": [
      {
        "id": "json",
        "aliases": [
          "JSON",
          "json"
        ],
        "extensions": [
          ".json",
          ".bowerrc",
          ".jscsrc",
26 27
          ".webmanifest",
          ".js.map",
28
          ".css.map",
29
          ".ts.map",
30
          ".har",
31
          ".jslintrc",
32
          ".jsonld"
33
        ],
34
        "filenames": [
35
          "composer.lock",
36 37 38
          ".watchmanconfig",
          ".ember-cli"
        ],
39 40 41 42 43
        "mimetypes": [
          "application/json",
          "application/manifest+json"
        ],
        "configuration": "./language-configuration.json"
44 45 46 47
      },
      {
        "id": "jsonc",
        "aliases": [
48
          "JSON with Comments"
49
        ],
50
        "extensions": [
51 52
          ".jsonc",
          ".eslintrc",
53 54 55
          ".eslintrc.json",
          ".jsfmtrc",
          ".jshintrc",
56 57 58
          ".swcrc",
          ".hintrc",
          ".babelrc"
59
        ],
60
        "configuration": "./language-configuration.json"
61 62 63 64 65 66
      }
    ],
    "grammars": [
      {
        "language": "json",
        "scopeName": "source.json",
67
        "path": "./syntaxes/JSON.tmLanguage.json"
68 69 70
      },
      {
        "language": "jsonc",
71
        "scopeName": "source.json.comments",
72
        "path": "./syntaxes/JSONC.tmLanguage.json"
73
      }
74
    ]
75
  }
D
Daniel Imms 已提交
76
}