-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 1.97 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 1.97 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
{
"name": "csso",
"displayName": "csso",
"version": "1.12.1",
"private": true,
"description": "Minify CSS with CSSO",
"homepage": "https://github.com/1000ch/vscode-csso#readme",
"bugs": "https://github.com/1000ch/vscode-csso/issues",
"repository": "https://github.com/1000ch/vscode-csso",
"license": "MIT",
"qna": "https://stackoverflow.com/questions/tagged/vscode+csso",
"author": {
"name": "Shogo Sensui",
"email": "shogosensui@gmail.com",
"web": "https://github.com/1000ch"
},
"publisher": "1000ch",
"main": "out/extension.js",
"scripts": {
"vscode:prepublish": "npm run build",
"build": "tsc",
"test": "xo"
},
"contributes": {
"commands": [
{
"command": "csso.minify",
"title": "csso: Minify current CSS file"
},
{
"command": "csso.minify-selected",
"title": "csso: Minify selected part of CSS"
}
],
"configuration": {
"type": "object",
"title": "csso configuration options",
"properties": {
"csso.restructure": {
"type": "boolean",
"default": true,
"description": "Structure optimisations"
}
}
},
"menus": {
"editor/context": [
{
"when": "resourceLangId == css || editorLangId == css",
"command": "csso.minify",
"group": "1_modification"
},
{
"when": "editorHasSelection",
"command": "csso.minify-selected",
"group": "1_modification"
}
]
}
},
"activationEvents": [
"onCommand:csso.minify",
"onCommand:csso.minify-selected"
],
"xo": {
"space": 2
},
"dependencies": {
"csso": "^5.0.5",
"vscode-set-selected-text": "^1.1.0",
"vscode-set-text": "^1.0.0"
},
"devDependencies": {
"@types/csso": "^5.0.4",
"@types/vscode": "^1.90.0",
"typescript": "^5.4.5",
"xo": "^0.58.0"
},
"engines": {
"vscode": "^1.90.0"
},
"icon": "img/icon.png"
}