-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.48 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.48 KB
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
{
"name": "capture",
"displayName": "capture",
"description": "Transform highlighted code into beautifully styled images with a single click in VS Code.",
"version": "0.0.1",
"icon": "assets/logo.png",
"publisher": "khattakdev",
"engines": {
"vscode": "^1.83.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "capture.snapshot",
"title": "Capture: Take a snapshot"
}
],
"keybindings": [
{
"command": "capture.snapshot",
"key": "ctrl+alt+p",
"mac": "cmd+alt+p",
"when": "editorHasSelection"
}
],
"configuration": [{
"title": "Capture settings",
"properties": {
"capture.themeName": {
"type": "string",
"default": "one-dark-pro",
"description": "Select a theme for the screenshot. This theme will be used to style the code in the screenshot, making it look like it does in the VS Code editor with that theme applied.",
"enum": ["dark-plus","dracula-soft","dracula","github-dark-dimmed","github-dark","github-light","hc_light","light-plus","material-theme-darker","material-theme-lighter","material-theme-ocean","material-theme","material-theme-palenight","min-dark","min-light","monokai","nord","one-dark-pro","poimandres","rose-pine-dane","rose-pine","slack-dark","slack-ochin","solarized-dark","solarized-light","vitesse-dark","vitesse-light","rose-pine-dawn","rose-pine-moon","css-variables"]
}
}
}]
},
"repository": {
"type": "git",
"url": "https://github.com/khattakdev/capture.git"
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/mocha": "^10.0.2",
"@types/node": "^18.18.4",
"@types/puppeteer": "^7.0.4",
"@types/vscode": "^1.83.0",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@vscode/test-electron": "^2.3.4",
"esbuild": "^0.19.4",
"eslint": "^8.50.0",
"glob": "^10.3.3",
"mocha": "^10.2.0",
"ts-loader": "^9.5.0",
"typescript": "^5.2.2"
},
"dependencies": {
"img-clipboard": "^1.1.0",
"puppeteer": "^21.3.8",
"shiki": "^0.14.5"
}
}