-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
198 lines (198 loc) · 4.82 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
188
189
190
191
192
193
194
195
196
197
198
{
"name": "ts-support",
"displayName": "TS-Support",
"publisher": "JaxhLee",
"description": "Typescript support, Less support.",
"license": "MIT",
"version": "0.0.4",
"repository": {
"type": "git",
"url": "https://github.com/JaxhLee/ts-support"
},
"engines": {
"vscode": "^1.43.0"
},
"icon": "res/logo.png",
"categories": [
"Other"
],
"activationEvents": [
"*",
"onLanguage:less",
"onCommand:tss.easyLess.compile",
"onCommand:tss.compileLessFiles",
"onLanguage:javascript"
],
"main": "./out/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": []
},
"views": {},
"commands": [
{
"command": "tss.easyLess.compile",
"title": "LESS/Compile LESS to CSS"
},
{
"command": "tss.compileLessFiles",
"title": "LESS/Compile LESS Files to CSS"
},
{
"command": "tss.kvTools.kv2ts",
"title": "get json"
},
{
"command": "tss.kvTools.refresh",
"title": "refresh",
"icon": "$(refresh)"
},
{
"command": "tss.kvTools.download",
"title": "download",
"icon": {
"light": "res/download.svg",
"dark": "res/download.svg"
}
},
{
"command": "tss.kvTools.downloadall",
"title": "downloadall",
"icon": {
"light": "res/download.svg",
"dark": "res/download.svg"
}
}
],
"menus": {
"explorer/context": [
{
"command": "tss.compileLessFiles",
"group": "tss"
}
]
},
"configuration": {
"type": "object",
"title": "TS Support Easy LESS configuration",
"properties": {
"tss-less.compile": {
"type": "object",
"description": "Configuration options for Easy LESS extension.",
"scope": "resource",
"properties": {
"watchFile": {
"type": "boolean",
"description": "保存时自动编译less文件?(默认:true)",
"default": true
},
"compress": {
"type": "boolean",
"description": "Compress .css files? (removes unnecessary white-space)",
"default": false
},
"ieCompat": {
"type": "boolean",
"description": "IE8 compatiblity mode? (restricts size of data-uri to 32KB)",
"default": true
},
"sourceMap": {
"type": "boolean",
"description": "Should .map files be generated?",
"default": false
},
"sourceMapFileInline": {
"type": "boolean",
"description": "Should source maps be inlined within the .css file? (requires sourceMap: true)",
"default": false
},
"out": {
"type": [
"boolean",
"string",
"null"
],
"description": "Default 'out' setting. Set to false to default to no output.",
"default": null
},
"outExt": {
"type": "string",
"description": "The file extension to use for generated .css files",
"default": ".css"
},
"main": {
"type": [
"string",
"array"
],
"description": "Compile specific .less file(s) when any .less file is saved.",
"default": "main.less"
},
"relativeUrls": {
"type": "boolean",
"description": "Rewrite URLs from imported files, relative to the importing file (default: false)",
"default": false
},
"javascriptEnabled": {
"type": "boolean",
"description": "Enable inline javasript in less files within backticks (`) (default: false)",
"default": false
},
"autoprefixer": {
"type": [
"string",
"array",
"null"
],
"description": "The 'browsers' argument for autoprefixer plugin (see https://github.com/ai/browserslist#queries)",
"default": "> 5%, last 2 Chrome versions, not ie 6-9"
}
}
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"galleryBanner": {
"color": "#667",
"theme": "dark"
},
"devDependencies": {
"@types/extend": "^3.0.1",
"@types/glob": "^7.1.1",
"@types/less": "^3.0.1",
"@types/mkpath": "^0.1.29",
"@types/mocha": "^7.0.1",
"@types/node": "^12.11.7",
"@types/source-map-support": "^0.5.1",
"@types/vscode": "^1.43.0",
"@typescript-eslint/eslint-plugin": "^2.18.0",
"@typescript-eslint/parser": "^2.18.0",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"mocha": "^7.1.1",
"typescript": "^3.7.5",
"vscode-test": "^1.3.0"
},
"dependencies": {
"@types/request": "^2.48.5",
"less": "3.9.0",
"less-plugin-autoprefix": "^2.0.0",
"mkpath": "^1.0.0",
"rd": "^2.0.1",
"request": "^2.88.2",
"source-map-support": "^0.5.16"
},
"__metadata": {
"id": "0a35e2a7-80ea-4051-b1cd-e90528169a25",
"publisherId": "592dc4fa-af5d-4a8a-b945-fcbe4b13c320",
"publisherDisplayName": "JaxhLee"
}
}