forked from kufii/CodeSnap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
151 lines (151 loc) · 4.03 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
{
"name": "codesnap",
"displayName": "CodeSnap",
"description": "📷 Take beautiful screenshots of your code",
"version": "1.3.4",
"repository": {
"type": "git",
"url": "https://github.com/kufii/CodeSnap"
},
"publisher": "adpyke",
"icon": "icon.png",
"license": "MIT",
"engines": {
"vscode": "^1.52.0"
},
"keywords": [
"screenshot",
"snippet",
"snap",
"clipboard",
"share",
"polacode",
"carbon",
"codesnap"
],
"categories": [
"Other"
],
"activationEvents": [
"onCommand:codesnap.start"
],
"main": "./src/extension.js",
"contributes": {
"commands": [
{
"command": "codesnap.start",
"title": "CodeSnap 📸"
}
],
"menus": {
"editor/context": [
{
"command": "codesnap.start"
}
]
},
"configuration": {
"type": "object",
"title": "CodeSnap",
"properties": {
"codesnap.backgroundColor": {
"scope": "resource",
"type": "string",
"default": "#abb8c3",
"description": "The background color of the snippet's container"
},
"codesnap.boxShadow": {
"scope": "resource",
"type": "string",
"default": "rgba(0, 0, 0, 0.55) 0px 20px 68px",
"description": "The CSS box-shadow for the snippet"
},
"codesnap.containerPadding": {
"scope": "resource",
"type": "string",
"default": "3em",
"description": "The padding for the snippet's container"
},
"codesnap.roundedCorners": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Use rounded corners for the window"
},
"codesnap.showWindowControls": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Display OS X style window controls"
},
"codesnap.showWindowTitle": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Display window title with open folder / file name"
},
"codesnap.showLineNumbers": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Display line numbers"
},
"codesnap.realLineNumbers": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Start from the selection's line number instead of 1"
},
"codesnap.transparentBackground": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Use a transparent background when taking the screenshot"
},
"codesnap.target": {
"scope": "resource",
"type": "string",
"enum": [
"container",
"window"
],
"default": "container",
"description": "Take the shot with or without the container"
},
"codesnap.shutterAction": {
"scope": "resource",
"type": "string",
"enum": [
"save",
"copy"
],
"default": "save",
"description": "The behavior of the shutter button"
}
}
}
},
"scripts": {
"lint": "eslint .",
"format": "prettier --write \"**/*.{js,jsx,md,json,css,prettierrc,eslintrc,html}\"",
"check:format": "prettier --check \"**/*.{js,jsx,md,json,css,prettierrc,eslintrc,html}\"",
"check": "npm run lint && npm run check:format"
},
"devDependencies": {
"eslint": "^7.24.0",
"eslint-config-adpyke-es6": "^1.4.13",
"eslint-config-prettier": "^8.2.0",
"prettier": "^2.2.1",
"@types/vscode": "^1.52.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "^14.14.40",
"glob": "^7.1.6",
"mocha": "^8.3.2",
"typescript": "^4.2.4",
"vscode-test": "^1.5.2"
},
"dependencies": {
"dom-to-image-even-more": "^1.0.4"
}
}