-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
187 lines (187 loc) · 5.06 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
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
{
"name": "stringencrypt",
"displayName": "StringEncrypt",
"publisher": "PELock",
"description": "Encrypt and hide plain text strings & files contents within your source code in a secure & encrypted form with the help of a polymorphic engine, generating random-looking decryption code every time.",
"version": "1.0.2",
"icon": "images/icon-stringencrypt-128.png",
"homepage": "https://www.stringencrypt.com",
"bugs": {
"url": "https://www.stringencrypt.com/contact/",
"email": "support@pelock.com"
},
"repository": {
"type": "git",
"url": "https://github.com/PELock/StringEncrypt-VSCode-Extension"
},
"engines": {
"vscode": "^1.54.0"
},
"categories": [
"Programming Languages",
"Snippets",
"Other"
],
"keywords": [
"encryption",
"crypt",
"encrypt",
"secure",
"protect"
],
"activationEvents": [
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:c",
"onLanguage:cpp",
"onLanguage:csharp",
"onLanguage:java",
"onLanguage:vb",
"onLanguage:ruby",
"onLanguage:powershell",
"onLanguage:python",
"onLanguage:autoit",
"onLanguage:haskell",
"onLanguage:asm",
"onLanguage:delphi",
"onLanguage:pascal"
],
"main": "./extension.js",
"contributes": {
"configuration": {
"title": "StringEncrypt",
"properties": {
"stringencrypt.activationCode": {
"type": "string",
"maxLength": 19,
"markdownDescription": "Enter [activation key](https://www.stringencrypt.com/buy/) and remove `demo version` limitations (6 chars max. for label & string):"
},
"stringencrypt.useUnicode": {
"type": "boolean",
"default": true,
"markdownDescription": "Treat input strings as `UNICODE` or `UTF-8` encoded strings (otherwise `ANSI` encoding will be used)"
},
"stringencrypt.newLines": {
"markdownDescription": "Encode new lines in strings as:",
"type": "string",
"default": "LF",
"enum": [
"LF",
"CRLF",
"CR"
],
"enumDescriptions": [
"\\n - Unix Style New Lines (Line Feed - LF)",
"\\r\\n - Windows Style New Lines (caRriage Return & Line Feed - CRLF)",
"\\r - Mac Style New Lines (caRriage Return - CR)"
]
},
"stringencrypt.localVariable": {
"type": "boolean",
"default": false,
"markdownDescription": "Declare encrypted string as a **local variable** (if supported by the programming language)"
},
"stringencrypt.minEncryptionCommands": {
"type": "number",
"default": 5,
"minimum": 1,
"maximum": 50,
"markdownDescription": "Minimum number of the encryption commands (max. 3 in the `demo version`, max. 50 in `full version`):"
},
"stringencrypt.maxEncryptionCommands": {
"type": "number",
"default": 10,
"minimum": 1,
"maximum": 50,
"markdownDescription": "Maximum number of the encryption commands (max. 3 in the `demo version`, max. 50 in `full version`):"
},
"stringencrypt.includeUsageExample": {
"type": "boolean",
"default": false,
"markdownDescription": "Generate additional usage example in every generated code snippet e.g. `alert(encryptedString);`"
}
}
},
"commands": [
{
"command": "stringencrypt.stringEncryptInsert",
"title": "Insert Encrypted String"
},
{
"command": "stringencrypt.stringEncryptReplace",
"title": "Encrypt Selected String"
},
{
"command": "stringencrypt.stringEncryptInsertFile",
"title": "Insert Encrypted File"
},
{
"command": "stringencrypt.checkActivationCode",
"title": "StringEncrypt: Check Activation Code Status and Demo or Full Version Limitations"
},
{
"command": "stringencrypt.getGeneralInfo",
"title": "StringEncrypt: Check Version & Get List of Supported Programming Languages"
}
],
"menus": {
"editor/context": [
{
"when": "editorTextFocus",
"command": "stringencrypt.stringEncryptInsert",
"group": "StringEncryptGroup@1"
},
{
"when": "editorTextFocus && editorHasSelection",
"command": "stringencrypt.stringEncryptReplace",
"group": "StringEncryptGroup@1"
},
{
"when": "editorTextFocus",
"command": "stringencrypt.stringEncryptInsertFile",
"group": "StringEncryptGroup@1"
}
]
},
"keybindings": [
{
"command": "stringencrypt.stringEncryptInsert",
"key": "ctrl+alt+i",
"mac": "cmd+i",
"when": "editorTextFocus"
},
{
"command": "stringencrypt.stringEncryptReplace",
"key": "ctrl+alt+r",
"mac": "cmd+r",
"when": "editorTextFocus && editorHasSelection"
},
{
"command": "stringencrypt.stringEncryptInsertFile",
"key": "ctrl+alt+f",
"mac": "cmd+f",
"when": "editorTextFocus"
}
]
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^8.2.2",
"@types/node": "^13.13.48",
"@types/vscode": "^1.54.0",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"mocha": "^8.3.2",
"typescript": "^3.9.9",
"vscode-test": "^1.5.2"
},
"dependencies": {
"axios": "^0.21.1",
"querystring": "^0.2.1"
}
}