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