-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
155 lines (155 loc) · 3.82 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "carbon",
"displayName": "Carbon",
"description": "Create and share beautiful images of your source code",
"version": "0.4.0",
"engines": {
"vscode": "^1.61.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:carbon.download",
"onCommand:carbon.openWeb"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "carbon.download",
"title": "%download%"
},
{
"command": "carbon.openWeb",
"title": "%openInWeb%"
}
],
"menus": {
"commandPalette": [
{
"command": "carbon.download",
"when": "null"
},
{
"command": "carbon.openWeb",
"when": "null"
}
],
"editor/context": [
{
"command": "carbon.download",
"group": "0_modification",
"when": "editorHasSelection"
},
{
"command": "carbon.openWeb",
"group": "0_modification",
"when": "editorHasSelection"
}
]
},
"configuration": [
{
"type": "object",
"title": "carbon configuration",
"properties": {
"carbon.domain": {
"type": "string",
"default": "carbon-api.vercel.app"
},
"carbon.theme": {
"type": "string",
"default": "Dracula ProPurchase",
"enum": [
"3024 Night",
"A11y Dark",
"Blackboard",
"Base 16 (Dark)",
"Cobalt",
"Dracula ProPurchase",
"Duotone",
"Hopscotch",
"Lucario",
"Material",
"Monokai",
"Night Owl",
"Nord",
"Oceanic Next",
"One Light",
"One Dark",
"Panda",
"Paraiso",
"Seti",
"Shades of Purple",
"Solarized (Dark)",
"Solarized (Light)",
"SynthWave '84",
"Twilight",
"Verminal",
"VSCode",
"Yeti",
"Zenburn"
],
"description": "Carbon theme config"
},
"carbon.openImg": {
"type": "boolean",
"default": true
}
}
}
]
},
"scripts": {
"vscode:prepublish": "yarn run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"test-compile": "tsc -p . --outDir out",
"pretest": "yarn run test-compile && yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"repository": {
"type": "git",
"url": "https://github.com/whosydd/carbon.git"
},
"keywords": [
"carbon",
"carbon.now.sh"
],
"author": "GY <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/whosydd/carbon/issues"
},
"homepage": "https://github.com/whosydd/carbon#readme",
"publisher": "whosydd",
"icon": "icon.png",
"dependencies": {
"@types/download": "^8.0.1",
"axios": "^0.22.0",
"dayjs": "^1.10.7",
"download": "^8.0.0",
"playwright-aws-lambda": "^0.9.0",
"playwright-core": "^1.28.1"
},
"devDependencies": {
"@types/glob": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "^16.10.3",
"@types/vscode": "^1.61.0",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"@vscode/test-electron": "^1.6.2",
"eslint": "^7.32.0",
"glob": "^7.1.7",
"mocha": "^9.1.1",
"prettier": "^2.4.1",
"ts-loader": "^9.2.5",
"typescript": "^4.4.3",
"webpack": "^5.52.1",
"webpack-cli": "^4.8.0"
}
}