-
Notifications
You must be signed in to change notification settings - Fork 18
/
schema.json
87 lines (87 loc) · 2.59 KB
/
schema.json
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"$ref": "#/definitions/Config",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"Config": {
"additionalProperties": false,
"properties": {
"access": {
"$ref": "#/definitions/PackageAccess",
"description": "Whether the npm registry publishes this package as a public package, or restricted."
},
"beforeScript": {
"description": "Run script on the to-release dir before npm publish.",
"type": "string"
},
"cleanComments": {
"default": false,
"description": "Clean inline comments from JS files.",
"type": "boolean"
},
"cleanDocs": {
"default": false,
"description": "Keep only main section of `README.md`",
"type": "boolean"
},
"dryRun": {
"description": "Reports the details of what would have been published.",
"type": "boolean"
},
"fields": {
"description": "List of fields in the `package.json` file that you want to delete before publishing.",
"items": {
"type": "string"
},
"type": "array"
},
"files": {
"description": "List of files that you want to delete before publishing (supports regex and glob patterns).",
"items": {
"anyOf": [
{
"type": "string"
},
{
"format": "regex",
"type": "string"
}
]
},
"type": "array"
},
"packageManager": {
"$ref": "#/definitions/PackageManager",
"default": "npm",
"description": "Name of package manager to use."
},
"packageManagerOptions": {
"description": "Options which are directly passed into package manager during publish.",
"items": {
"type": "string"
},
"type": "array"
},
"tag": {
"description": "Registers the package with the given tag.",
"type": "string"
},
"tempDir": {
"description": "Create temporary directory with given name.",
"type": "string"
},
"withoutPublish": {
"default": false,
"description": "Clean project without `npm publish` (tmp directory will not be deleted automatically).",
"type": "boolean"
}
},
"type": "object"
},
"PackageAccess": {
"type": "string"
},
"PackageManager": {
"type": "string"
}
}
}