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