-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
executable file
·108 lines (108 loc) · 3.38 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
{
"name": "jsobfuscator",
"displayName": "JSObfuscator",
"publisher": "SoftHeroes",
"repository": "https://github.com/SoftHeroes/JSObfuscator",
"icon": "images/logo.png",
"description": "Code Obfuscator, javaScript Obfuscator, Obfuscator. This extension will convert all your JavaScript Code in minifier version and also Obfuscator them to make it secure. Thanks for using :)",
"version": "1.3.2",
"license": "SEE LICENSE IN LICENSE",
"engines": {
"vscode": "^1.41.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "JSObfuscator.obfuscateWorkspace",
"title": "JSObfuscator: Obfuscate Current Workspace"
},
{
"command": "JSObfuscator.obfuscateFile",
"title": "JSObfuscator: Obfuscate Current File"
}
],
"configuration": {
"type": "object",
"title": "JSObfuscator",
"properties": {
"JSObfuscator.ignoreMinFiles": {
"type": "boolean",
"markdownDescription": "**Ignore .min.js files**",
"default": true
},
"JSObfuscator.overwriteExistingFiles": {
"type": "boolean",
"markdownDescription": "When saving the obfuscated file if a file of the same name exists overwrite it with the obfuscated file",
"default": false
},
"JSObfuscator.subPathInWorkspace": {
"type": "string",
"markdownDescription": "Specified some relative path where you only want to Obfuscate JavaScript",
"default": ""
},
"JSObfuscator.filesToIgnore": {
"type": "string",
"markdownDescription": "Enter comma separated list of file names to be ignored",
"default": ""
},
"JSObfuscator.changeFileExtension": {
"type": "string",
"description": "Save the file with a new extension after obfuscating. For example if you put min.js the file would be changed from test.js to test.min.js and the file test.min.js would change to test.min.min.js as it only replaces the last extension on the file.\n\nNote: to override same file just set this value blank and enable overwrite Existing Files",
"default": "obfuscated.js"
},
"JSObfuscator.javascript-obfuscator": {
"type": "object",
"markdownDescription": "Enter options to be passed into javascript-obfuscator see the [javascript-obfuscator documentation](https://www.npmjs.com/package/javascript-obfuscator#preset-options)",
"default": {
"compact": true,
"controlFlowFlattening": true,
"deadCodeInjection": false,
"debugProtection": false,
"debugProtectionInterval": false,
"disableConsoleOutput": true,
"identifierNamesGenerator": "hexadecimal",
"log": false,
"renameGlobals": false,
"rotateStringArray": true,
"selfDefending": true,
"shuffleStringArray": true,
"splitStrings": false,
"stringArray": true,
"stringArrayEncoding": [
"none",
"base64",
"rc4"
],
"stringArrayThreshold": 0.75,
"unicodeEscapeSequence": false
}
}
}
}
},
"scripts": {
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.7",
"@types/node": "^12.11.7",
"@types/vscode": "^1.41.0",
"eslint": "^6.6.0",
"glob": "^7.1.5",
"javascript-obfuscator": "^2.9.4",
"mocha": "^6.2.2",
"typescript": "^3.6.4",
"vscode-test": "^1.2.2"
},
"dependencies": {
"javascript-obfuscator": "^2.9.4"
}
}