-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 1.62 KB
/
Copy pathpackage.json
File metadata and controls
67 lines (67 loc) · 1.62 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
{
"name": "custom-prettier---css-formatter",
"displayName": "Custom Prettier - CSS Formatter",
"description": "Tailor CSS styles flawlessly, enforcing consistency and efficiency.",
"version": "1.0.0",
"license": "MIT",
"engines": {
"vscode": "^1.88.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "custom-prettier---css-formatter.applyStyleOrder",
"title": "applyStyleOrder"
}
],
"configuration": {
"title": "custom-prettier---css-formatter",
"properties": {
"cssPrettierType": {
"type": "string",
"default": "multi",
"enum": [
"single",
"multi",
"mixed"
],
"description": "Define the ordering method of CSS properties: 'single' for one criterion, 'multi' for multiple criteria, or 'mixed' to optionally inserts line breaks to emphasize certain declarations while keeping others concise."
},
"cssPrettierFormat": {
"type": "array",
"default": [
"property1",
"property2"
],
"description": "Specify the exact order of CSS properties as they should appear in stylesheets."
}
}
}
},
"scripts": {
"lint": "eslint .",
"pretest": "yarn run lint",
"test": "vscode-test",
"format:lock": "prettier --write package-lock.json"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.88.0",
"@vscode/test-cli": "^0.0.8",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.57.0",
"prettier": "^3.2.5",
"typescript": "^5.4.5"
},
"dependencies": {
"jsonc-parser": "^3.2.1"
}
}