-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
123 lines (123 loc) · 3.56 KB
/
package.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "gitbook-plugin-mygitalk",
"main": "index.js",
"version": "0.2.6",
"description": "mygitalk is a gitbook comment plugin based on gitalk",
"engines": {
"gitbook": ">=2.4.3"
},
"gitbook": {
"properties": {
"clientID": {
"type": "string",
"required": true,
"description": "GitHub Application Client ID."
},
"clientSecret": {
"type": "string",
"required": true,
"description": "GitHub Application Client Secret."
},
"repo": {
"type": "string",
"required": true,
"description": "GitHub repository."
},
"owner": {
"type": "string",
"required": true,
"description": "GitHub repository owner. Can be personal user or organization."
},
"admin": {
"type": "array",
"required": true,
"description": "GitHub repository owner and collaborators. (Users who having write access to this repository)."
},
"number": {
"type": "number",
"default": -1,
"description": "The issue ID of the page, if the number attribute is not defined, issue will be located using id."
},
"labels": {
"type": "array",
"default": [
"Gitalk"
],
"description": "GitHub issue labels."
},
"title": {
"type": "string",
"description": "GitHub issue title."
},
"body": {
"type": "string",
"description": "GitHub issue body."
},
"language": {
"type": "string",
"description": "Localization language key, en, zh-CN and zh-TW are currently available."
},
"perPage": {
"type": "number",
"default": 10,
"description": "Pagination size, with maximum 100."
},
"distractionFreeMode": {
"type": "boolean",
"default": false,
"description": "Facebook-like distraction free mode."
},
"pagerDirection": {
"type": "string",
"default": "last",
"description": "Comment sorting direction, available values are last and first."
},
"createIssueManually": {
"type": "boolean",
"default": false,
"description": "By default, Gitalk will create a corresponding github issue for your every single page automatically when the logined user is belong to the admin users. You can create it manually by setting this option to true."
},
"proxy": {
"type": "string",
"default": "https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token",
"description": "GitHub oauth request reverse proxy for CORS. Why need this?"
},
"flipMoveOptions": {
"type": "object",
"description": "Comment list animation. Reference"
},
"enableHotKey": {
"type": "boolean",
"default": true,
"description": "Enable hot key (cmd|ctrl + enter) submit comment."
}
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/snowdreams1006/gitbook-plugin-mygitalk.git"
},
"keywords": [
"gitbook-plugin-mygitalk",
"mygitalk",
"gitalk",
"gitment",
"discuss",
"comment",
"issues",
"github",
"gitbook"
],
"author": {
"name": "snowdreams1006",
"email": "snowdreams1006@163.com"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/snowdreams1006/gitbook-plugin-myGitalk/issues"
},
"homepage": "https://snowdreams1006.github.io/gitbook-plugin-mygitalk/",
"dependencies": {
"gitalk": "^1.5.0"
}
}