-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.03 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
{
"name": "style-sorter",
"displayName": "Style Sorter",
"description": "Sorts your declarations meaningfully",
"version": "0.1.3",
"publisher": "NateDavis",
"private": "true",
"license": "MIT",
"main": "./out/main.js",
"icon": "media/icon.png",
"homepage": "https://github.com/NaeNate/style-sorter#readme",
"author": {
"name": "Nate Davis",
"email": "[email protected]",
"url": "https://github.com/NaeNate"
},
"repository": {
"type": "git",
"url": "https://github.com/NaeNate/style-sorter.git"
},
"engines": {
"vscode": "^1.84.0"
},
"categories": [
"Formatters"
],
"keywords": [
"css",
"vscode-extension"
],
"scripts": {
"base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild-watch": "pnpm run base --sourcemap --watch",
"esbuild": "pnpm run base --sourcemap",
"vscode:prepublish": "pnpm run base --minify",
"package": "pnpm vsce package --no-dependencies",
"publish": "pnpm vsce publish --no-dependencies"
},
"dependencies": {
"css-declaration-sorter": "^7.1.1",
"postcss": "^8.4.31"
},
"devDependencies": {
"@types/node": "^20.9.0",
"@types/vscode": "^1.84.1",
"esbuild": "^0.19.5",
"typescript": "^5.2.2"
},
"contributes": {
"commands": [
{
"command": "style-sorter.sort",
"title": "Sort Styles"
}
],
"configuration": {
"properties": {
"style-sorter.order": {
"type": "string",
"description": "Specifies how declarations should be sorted.",
"default": "alphabetical",
"enum": [
"alphabetical",
"concentric-css",
"smacss"
],
"enumDescriptions": [
"Sort alphabetically.",
"Sort properties applying outside the box model, moving inward to intrinsic changes.",
"Sort from most important, flow affecting properties, to least important properties."
]
}
}
}
}
}