-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 3.11 KB
/
package.json
File metadata and controls
128 lines (128 loc) · 3.11 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
{
"name": "vscode-lua-minify",
"displayName": "Lua Minify",
"description": "Minify Lua source code",
"version": "1.6.1",
"publisher": "informagico",
"author": {
"name": "Alessandro Magoga",
"email": "alessandro.magoga92@gmail.com"
},
"license": "MIT",
"galleryBanner": {
"color": "#313191",
"theme": "dark"
},
"icon": "images/logo.png",
"categories": [
"Other",
"Formatters",
"Programming Languages"
],
"engines": {
"vscode": "^1.94.0"
},
"keywords": [
"minifier",
"formatter",
"format",
"compressor",
"compress",
"minify",
"minifier",
"reduce",
"lua",
"elua"
],
"bugs": {
"url": "https://github.com/informagico/vscode-lua-minify/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/informagico/vscode-lua-minify"
},
"homepage": "https://github.com/informagico/vscode-lua-minify",
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "vscode-lua-minify.minifyLuaFile",
"title": "Lua Minify: Minify (current file)"
},
{
"command": "vscode-lua-minify.minifyLuaWorkspace",
"title": "Lua Minify: Minify (workspace)"
},
{
"command": "vscode-lua-minify.minifyLuaSelection",
"title": "Lua Minify: Minify selection"
},
{
"command": "vscode-lua-minify.createMinifiedFile",
"title": "Lua Minify: Generate .min file (current file)"
},
{
"command": "vscode-lua-minify.createMinifiedFileWorkspace",
"title": "Lua Minify: Generate .min file (workspace)"
}
],
"configuration": {
"title": "LuaMinify",
"properties": {
"vscode-lua-minify.flavour": {
"type": "string",
"enum": [
"luamin",
"lua-format"
],
"default": "luamin",
"description": "Identify which package is going to be used to minify the code."
},
"vscode-lua-minify.renameVariables": {
"type": "boolean",
"default": false,
"description": "Available only if 'lua-format' is selected. Defines if the variables should be renamed."
},
"vscode-lua-minify.renameGlobals": {
"type": "boolean",
"default": false,
"description": "Available only if 'lua-format' is selected. Defines if the globals should be renamed."
},
"vscode-lua-minify.solveMath": {
"type": "boolean",
"default": false,
"description": "Available only if 'lua-format' is selected. Defines if the math should be solved."
},
"vscode-lua-minify.excludeGlobs": {
"type": "array",
"default": [],
"description": "An array of GlobPattern to exclude from search."
}
}
}
},
"scripts": {
"copy:dist": "copyfiles -f ./src/luamin.js ./out",
"vscode:prepublish": "npm run compile",
"compile": "npm run copy:dist && tsc -p ./",
"watch": "tsc -watch -p ./",
"pack": "vsce package",
"publish": "vsce publish"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.8",
"@types/node": "^22.7.4",
"@types/vscode": "^1.94.0",
"copyfiles": "^2.4.1",
"glob": "^11.1.0",
"mocha": "^10.7.3",
"tslint": "^6.1.3",
"typescript": "^5.6.2"
},
"dependencies": {
"jschardet": "^3.1.4",
"luamin": "^1.0.4",
"path": "^0.12.7"
}
}