-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
208 lines (208 loc) · 5.25 KB
/
package.json
File metadata and controls
208 lines (208 loc) · 5.25 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
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
{
"name": "insert-random-text",
"publisher": "ElecTreeFrying",
"displayName": "Insert Random Text",
"description": "Insert random text on the fly.",
"version": "0.1.3",
"icon": "images/github.png",
"categories": [
"Other"
],
"keywords": [
"lorem",
"insert",
"random",
"insert-text",
"random-text"
],
"galleryBanner": {
"color": "#494949",
"theme": "dark"
},
"homepage": "https://github.com/ElecTreeFrying/insert-random-text/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/ElecTreeFrying/insert-random-text.git"
},
"bugs": {
"email": "electreefrying.git@gmail.com",
"url": "https://github.com/ElecTreeFrying/insert-random-text/issues"
},
"license": "MIT",
"engines": {
"vscode": "^1.43.0"
},
"activationEvents": [
"onCommand:extension.insertRandomAnimal",
"onCommand:extension.insertRandomPerson",
"onCommand:extension.insertRandomDate",
"onCommand:extension.insertRandomCountry",
"onCommand:extension.insertRandomNumber",
"onCommand:extension.insertRandomString",
"onCommand:extension.insertLorem",
"onCommand:extension.insertLoremSmall",
"onCommand:extension.insertLoremMedium",
"onCommand:extension.insertLoremLarge",
"onCommand:extension.insertRandomHash",
"onCommand:extension.insertRandomHashSmall",
"onCommand:extension.insertRandomHashMedium",
"onCommand:extension.insertRandomHashLarge"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "extension.insertRandomAnimal",
"title": "Insert Random: Animal"
},
{
"command": "extension.insertRandomPerson",
"title": "Insert Random: Person"
},
{
"command": "extension.insertRandomDate",
"title": "Insert Random: Date"
},
{
"command": "extension.insertRandomCountry",
"title": "Insert Random: Country"
},
{
"command": "extension.insertRandomNumber",
"title": "Insert Random: Number"
},
{
"command": "extension.insertRandomString",
"title": "Insert Random: String"
},
{
"command": "extension.insertLorem",
"title": "Insert Random: Lorem"
},
{
"command": "extension.insertLoremSmall",
"title": "Insert Random: Lorem Small"
},
{
"command": "extension.insertLoremMedium",
"title": "Insert Random: Lorem Medium"
},
{
"command": "extension.insertLoremLarge",
"title": "Insert Random: Lorem Large"
},
{
"command": "extension.insertRandomHash",
"title": "Insert Random: Hash"
},
{
"command": "extension.insertRandomHashSmall",
"title": "Insert Random: Hash Small"
},
{
"command": "extension.insertRandomHashMedium",
"title": "Insert Random: Hash Medium"
},
{
"command": "extension.insertRandomHashLarge",
"title": "Insert Random: Hash Large"
}
],
"configuration": [
{
"title": "Insert Random Text",
"properties": {
"quoteStyle": {
"title": "Quote style",
"description": "Select a quote style for import path.",
"type": "string",
"default": "Single quotes",
"enum": [
"Single quotes",
"Double quotes"
],
"enumDescriptions": [
"Wrap import paths with single quotes",
"Wrap import paths with double quotes"
]
},
"insertType": {
"title": "Insert type",
"description": "Insert options on text editor.",
"type": "string",
"default": "Cursor",
"enum": [
"Cursor",
"Top"
],
"enumDescriptions": [
"Insert on selected line.",
"Insert in line 1."
]
},
"loremSize": {
"title": "Lorem size (for command 'Insert Lorem')",
"description": "Enter lorem string length. { min: 25, max: 1000 }",
"type": "number",
"default": 25,
"minimum": 25,
"maximum": 2500
},
"hashSize": {
"title": "Hash size (for command 'Insert Lorem')",
"description": "Enter hash string length. { min: 7, max: 70 }",
"type": "number",
"default": 13,
"minimum": 7,
"maximum": 70
},
"disableNotifs": {
"title": "Disable notifications",
"description": "Disable insert random animal notification.",
"type": "boolean",
"default": false
},
"withQuote": {
"title": "Wrap with quotes",
"description": "Toggle to wrap random text with quotes.",
"type": "boolean",
"default": true
},
"withNewLine": {
"title": "Include newline",
"description": "Toggle include newline at the end of each insert.",
"type": "boolean",
"default": true
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/camelcase": "^5.2.0",
"@types/chance": "^1.0.9",
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.1",
"@types/node": "^12.11.7",
"@types/vscode": "^1.43.0",
"@typescript-eslint/eslint-plugin": "^2.18.0",
"@typescript-eslint/parser": "^2.18.0",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"mocha": "^7.0.1",
"typescript": "^3.7.5",
"vscode-test": "^1.3.0"
},
"dependencies": {
"camelcase": "^5.3.1",
"chance": "^1.1.4"
}
}