-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
141 lines (141 loc) · 5.28 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
{
"name": "vscode-guid",
"version": "1.9.0",
"publisher": "heaths",
"displayName": "Insert GUID",
"description": "Insert GUIDs in different formats directly into the editor.",
"author": "Heath Stewart (https://github.com/heaths)",
"categories": [
"Other"
],
"contributes": {
"commands": [
{
"command": "guid.insert",
"title": "Insert GUID",
"description": "Insert a GUID at the current position(s)."
},
{
"command": "guid.insertMany",
"title": "Insert many GUIDs",
"description": "Insert unique GUIDs at each position."
},
{
"command": "guid.insertEmpty",
"title": "Insert empty GUID",
"description": "Insert empty GUID(s) at the current position(s)."
}
],
"configuration": {
"title": "Insert GUID",
"properties": {
"insertGuid.showLowercase": {
"type": "boolean",
"default": true,
"description": "Show lowercase GUIDs (with and without braces) when presenting possible GUID formats to insert."
},
"insertGuid.showUppercase": {
"type": "boolean",
"default": false,
"description": "Show uppercase GUIDs (with and without braces) when presenting possible GUID formats to insert."
},
"insertGuid.showCodeSnippets": {
"type": "boolean",
"default": true,
"description": "Show code snippets for C++ when presenting possible GUID formats to insert."
},
"insertGuid.pasteAutomatically": {
"type": "string",
"default": "",
"markdownDescription": "Paste GUID without prompting using the specified format:\n* `{b}|{B}` inserts a braced string in lowercase `{b}` or uppercase `{B}` e.g., `{880c86bc-384c-4cce-9e9a-4f760ca755c4}`\n* `{d}|{D}` inserts a hyphenated string in lowercase `{d}` or uppercase `{D}` e.g., `880c86bc-384c-4cce-9e9a-4f760ca755c4`\n* `{n}|{N}` inserts an unformatted string in lowercase `{n}` or uppercase `{N}` e.g., `880c86bc384c4cce9e9a4f760ca755c4`\n* `{x}|{X}` inserts a struct-formatted string in lowercase `{x}` or uppercase `{X}` e.g., `{0x880c86bc,0x384c,0x4cce,{0x9e,0x9a,0x4f,0x76,0x0c,0xa7,0x55,0xc4}}`\n* `{x0}|{X0}` inserts the first four bytes as a hexadecimal string in lowercase `{x0}` or uppercase `{X0}` e.g., `880c86bc`\n* `{x1}|{X1}` and `{x2}|{X2}` insert the second and third two bytes as a hexadecimal string in lowercase `{x1}` and `{x2}`, or uppercase `{X1}` and `{X2}` e.g., `384c` and `4cce`\n* `{x3}|{X3}` through `{x10}|{X10}` insert the subsequent bytes individually as a hexadecimal string in lowercase `{x3}` or uppercase `{X3}` e.g., `9e` through `c4`.\n* `{nl}` inserts a new line\n* All other characters will be interpreted literally e.g., `new GUID(\"{D}\")` inserts `new GUID(\"880C86BC-384C-4CCE-9E9A-4F760CA755C4\")`"
}
}
},
"keybindings": [
{
"command": "guid.insert",
"key": "ctrl+shift+[",
"mac": "cmd+shift+[",
"when": "editorTextFocus"
},
{
"command": "guid.insertMany",
"key": "alt+ctrl+shift+[",
"mac": "alt+cmd+shift+[",
"when": "editorTextFocus"
}
]
},
"activationEvents": [
"onCommand:guid.insert",
"onCommand:guid.insertMany",
"onCommand:guid.insertEmpty"
],
"icon": "res/logo.png",
"galleryBanner": {
"color": "#252526",
"theme": "dark"
},
"main": "./dist/extension.js",
"browser": "./dist/extension.js",
"badges": [
{
"description": "build status: main",
"href": "https://github.com/heaths/vscode-guid",
"url": "https://github.com/heaths/vscode-guid/actions/workflows/ci.yml/badge.svg?event=push"
}
],
"scripts": {
"eslint:github-action": "npm run lint",
"lint": "eslint --ext .ts src/",
"compile": "webpack",
"compile-test": "tsc -p .",
"watch": "webpack --watch",
"watch-test": "tsc -p . -w",
"pretest": "npm run compile-test",
"test": "node ./out/test/runTest.js",
"package": "webpack --mode production --devtool hidden-source-map",
"preversion": "npm test",
"vscode:prepublish": "npm run package"
},
"engines": {
"vscode": "^1.30.0"
},
"dependencies": {
"buffer": "^6.0.3",
"uuid": "^3.3.2"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"@types/uuid": "^3.3.2",
"@types/vscode": "^1.30.0",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"@vscode/test-electron": "^2.3.8",
"@vscode/test-web": "^0.0.50",
"cspell": "^8.3.2",
"eslint": "^8.29.0",
"eslint-config-standard-with-typescript": "^23.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.6.0",
"eslint-plugin-promise": "^6.1.1",
"mocha": "^9.2.2",
"mocha-junit-reporter": "^2.0.0",
"mocha-multi-reporters": "^1.5.1",
"process": "^0.11.10",
"ts-loader": "^9.4.1",
"typescript": "^4.9.4",
"util": "^0.12.5",
"webpack": "^5.94.0",
"webpack-cli": "^5.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/heaths/vscode-guid.git"
},
"homepage": "https://github.com/heaths/vscode-guid/blob/main/README.md",
"bugs": "https://github.com/heaths/vscode-guid/issues",
"private": true
}