summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/public_api/v4/packages/npm_package_version.json
blob: 64969d712502798075f977a9bdc3bc0dc0687ca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
  "type": "object",
  "required": ["name", "version", "dist"],
  "properties" : {
    "name": { "type": "string" },
    "version": { "type": "string" },
    "dist": {
      "type": "object",
      "required": ["shasum", "tarball"],
      "properties" : {
        "shasum": { "type": "string" },
        "tarball": { "type": "string" }
      }
    },
    "dependencies": {
      "type": "object",
      "patternProperties": {
        ".{1,}": { "type": "string" }
      }
    },
    "devDependencies": {
      "type": "object",
      "patternProperties": {
        ".{1,}": { "type": "string" }
      }
    },
    "bundleDependencies": {
      "type": "object",
      "patternProperties": {
        ".{1,}": { "type": "string" }
      }
    },
    "peerDependencies": {
      "type": "object",
      "patternProperties": {
        ".{1,}": { "type": "string" }
      }
    },
    "deprecated": { "type": "string"},
    "bin": { "type": "string" },
    "directories": { "type": "array" },
    "engines": { "type": "object" },
    "_hasShrinkwrap": { "type": "boolean" },
    "additionalProperties": true
  }
}