-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
87 lines (87 loc) · 2.33 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
{
"name": "code2ghost",
"displayName": "Code2Ghost",
"description": "A extension to publish local MD files to Ghost CMS",
"publisher": "dedfaf",
"version": "0.1.0",
"repository": {
"type": "git",
"url": "https://github.com/dedfaf/code2ghost.git"
},
"engines": {
"vscode": "^1.96.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./extension.js",
"contributes": {
"configuration": {
"type": "object",
"properties": {
"code2ghost.secretKey": {
"type": "string",
"default": "vOVH6sdmpNWjRRIqCc7rdxs01lwHzfr3",
"description": "Secret key for encryption"
},
"code2ghost.showFrontMatterComment": {
"type": "boolean",
"default": true,
"description": "Show comment in front matter. You can turn it off if you know what you are doing"
}
}
},
"commands": [
{
"command": "code2ghost.setConfig",
"title": "Code2Ghost: Set Config"
},
{
"command": "code2ghost.getConfig",
"title": "Code2Ghost: Get Config"
},
{
"command": "code2ghost.createPostCurrentEditorDraft",
"title": "Code2Ghost: Create and Draft Post Using Current Editor's File"
},
{
"command": "code2ghost.createPostCurrentEditorPublish",
"title": "Code2Ghost: Create and Publish Post Using Current Editor's File"
},
{
"command": "code2ghost.getPost",
"title": "Code2Ghost: Get Post in new tab"
},
{
"command": "code2ghost.updatePostCurrentEditor",
"title": "Code2Ghost: Update Post Using Current Editor's file"
},
{
"command": "code2ghost.syncPostCurrentEditor",
"title": "Code2Ghost: Sync Post By Post id provided in front-matter (Current editor)"
}
]
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/vscode": "^1.96.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"eslint": "^9.16.0"
},
"dependencies": {
"axios": "^1.7.9",
"crypto": "^1.0.1",
"gray-matter": "^4.0.3",
"jsonwebtoken": "^9.0.2",
"marked": "^15.0.6",
"turndown": "^7.2.0"
}
}