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 26 27
  },
  "contributes": {
    "languages": [
      {
        "id": "json",
        "aliases": [
          "JSON",
          "json"
        ],
        "extensions": [
          ".json",
          ".bowerrc",
          ".jshintrc",
          ".jscsrc",
          ".eslintrc",
강동윤 已提交
28
          ".swcrc",
29 30 31
          ".webmanifest",
          ".js.map",
          ".css.map"
32
        ],
33
        "filenames": [
34
          "composer.lock",
35 36 37
          ".watchmanconfig",
          ".ember-cli"
        ],
38 39 40 41 42
        "mimetypes": [
          "application/json",
          "application/manifest+json"
        ],
        "configuration": "./language-configuration.json"
43 44 45 46
      },
      {
        "id": "jsonc",
        "aliases": [
47
          "JSON with Comments"
48
        ],
49
        "extensions": [
50 51
          ".hintrc",
          ".babelrc",
52
          ".jsonc"
53
        ],
54
        "configuration": "./language-configuration.json"
55 56 57 58 59 60
      }
    ],
    "grammars": [
      {
        "language": "json",
        "scopeName": "source.json",
61
        "path": "./syntaxes/JSON.tmLanguage.json"
62 63 64
      },
      {
        "language": "jsonc",
65
        "scopeName": "source.json.comments",
66
        "path": "./syntaxes/JSONC.tmLanguage.json"
67 68 69 70 71
      }
    ],
    "jsonValidation": [
      {
        "fileMatch": "*.schema.json",
72
        "url": "http://json-schema.org/draft-07/schema#"
73
      }
74
    ]
75
  }
강동윤 已提交
76
}