/
package.json
121 lines (116 loc) · 3.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
{
"name": "css-organizer",
"displayName": "Css Organizer",
"description": "Easy to use and flexible tool for organizing your CSS properties in groups or alphabetically",
"version": "1.0.4",
"publisher": "ucsoftware",
"repository": {
"type": "git",
"url": "https://github.com/ucsw/css-organizer.git"
},
"license" : "MIT",
"homepage": "https://ucsoftware.net",
"engines": {
"vscode": "^1.63.0"
},
"categories": [
"Linters"
],
"keywords":["css","linter","prettyprint", "organizer"],
"icon": "images/logo.png",
"activationEvents": [
"onCommand:css-organizer.alphabetically",
"onCommand:css-organizer.grouped"
],
"main": "./out/extension.js",
"contributes": {
"commands": [{
"command": "css-organizer.alphabetically",
"title": "CSS Properties Alphabetically"
},
{
"command": "css-organizer.grouped",
"title": "CSS Properties Grouped"
}
],
"menus": {
"editor/context": [{
"when": "resourceLangId == css ",
"submenu": "css-organizer.organize",
"group": "1_modification"
}
],
"css-organizer.organize": [{
"when": "resourceLangId == css ",
"command": "css-organizer.alphabetically"
},
{
"when": "resourceLangId == css ",
"command": "css-organizer.grouped"
}
]
},
"submenus": [{
"id": "css-organizer.organize",
"label": "Organize CSS"
}],
"keybindings": [{
"command": "css-organizer.alphabetically",
"key": "ctrl+alt+c a",
"mac": "cmd++alt+c a",
"when": "editorTextFocus"
},
{
"command": "css-organizer.grouped",
"key": "ctrl+alt+c s",
"mac": "cmd++alt+c s",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "CSS Organizer",
"properties": {
"css-organizer.userGroupingFile": {
"type": "string",
"default": "user-grouping.json",
"description": "File containing the specification for an alternative way to group CSS properties. Use this file to set up your own way of grouping."
},
"css-organizer.userGroupingFileUse": {
"type": "boolean",
"default": false,
"description": "Check if you want to use the alternative grouping instead of the built-in."
},
"css-organizer.displayOption": {
"type": "string",
"default": "GroupName",
"enum": ["Nothing", "EmptyLine", "GroupName"],
"description": "When properties are sorted into groups, separate the groups by nothing, an empty line or a comment with the name of the group"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.63.0",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"eslint": "^8.6.0",
"glob": "^7.2.0",
"mocha": "^9.1.3",
"typescript": "^4.5.4",
"@vscode/test-electron": "^2.0.3"
},
"dependencies": {
"css": "^3.0.0"
}
}