forked from box/box-node-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.schema.json
49 lines (48 loc) · 1.18 KB
/
package.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
{
"$schema": "http://json-schema.org/schema#",
"uri": "box.com/package.json",
"id": "package.json",
"title": "package.json schema",
"description": "A schema to validate package.json at Box",
"type": "object",
"properties": {
"name": {
"type": "string",
"required": true
},
"author": {
"type": "string",
"required": true
},
"version": {
"type": "string",
"required": true
},
"description": {
"type": "string",
"required": true
},
"main": {
"type": "string",
"required": true
},
"scripts": {
"type": "object",
"required": true,
"properties": {
"test": {
"type": "string",
"required": true
},
"lint": {
"type": "string",
"required": true
},
"docs": {
"type": "string",
"required": true
}
}
}
}
}