-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 2.76 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
{
"name": "inline-hasher",
"displayName": "Inline Hasher",
"description": "Inserts hashes of the selected text",
"version": "1.1.0",
"license": "MIT",
"publisher": "alexguirre",
"homepage": "https://github.com/alexguirre/vscode-inline-hasher",
"repository": {
"type": "git",
"url": "https://github.com/alexguirre/vscode-inline-hasher"
},
"bugs": {
"url": "https://github.com/alexguirre/vscode-inline-hasher/issues"
},
"icon": "images/icon.png",
"engines": {
"vscode": "^1.33.0"
},
"categories": [
"Other"
],
"keywords": [
"hash",
"hashing",
"replace",
"text",
"tool"
],
"activationEvents": [
"onCommand:inlineHasher.single",
"onCommand:inlineHasher.multiple"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "inlineHasher.single",
"title": "Replace selection with single hash...",
"category": "Inline Hasher"
},
{
"command": "inlineHasher.multiple",
"title": "Replace selection with multiple hashes...",
"category": "Inline Hasher"
}
],
"configuration": {
"title": "Inline Hasher",
"properties": {
"inlineHasher.singleDefaultFormat": {
"markdownDescription": "Format used if no other format is specified when executing the `Replace selection with single hash...` command. `%1` is replaced with the original string and `%2` with the hash.",
"type": "string",
"default": "%1 = %2",
"scope": "window"
},
"inlineHasher.showFormatInputBox": {
"markdownDescription": "Show input box to specify the format to use when executing the `Replace selection with single hash...` command. If disabled, the format specified in `#inlineHasher.singleDefaultFormat#` is always used.",
"type": "boolean",
"default": "true",
"scope": "window"
},
"inlineHasher.multipleDefaultFormat": {
"markdownDescription": "Format used if no other format is specified when executing the `Replace selection with multiple hashes...` command. `%1` is replaced with the original string and `%<hash-function>[_^]` with the hash.\nIf either suffix, `_` or `^`, is specified, the string will be converted to lowercase or uppercase respectively before calculating the hash.",
"type": "string",
"default": "%1 = %joaat | lowercase:%joaat_ | uppercase:%joaat^",
"scope": "window"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"typescript": "^4.1.3",
"vscode": "^1.1.28",
"tslint": "^5.20.1",
"@types/node": "^14.14.20",
"@types/mocha": "^8.2.0"
},
"dependencies": {
"hash.js": "^1.1.7",
"ts-md5": "^1.2.7"
}
}