-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
132 lines (132 loc) · 3.35 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
{
"name": "css-color-collector",
"displayName": "CSS Color Collector",
"description": "Collect color codes from a css file and replace it with an intuitive variable and add a new :root pseudo selector which contains these variables.",
"version": "2.1.0",
"publisher": "xkeshav",
"engines": {
"vscode": "^1.74.0"
},
"homepage": "https://github.com/xkeshav/color-collector/blob/main/README.md",
"license": "SEE LICENSE IN LICENSE",
"bugs": {
"url": "https://github.com/xkeshav/color-collector/issues",
"email": "xkeshav@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/xkeshav/color-collector.git"
},
"icon": "/images/logo.png",
"extensionKind": [
"workspace"
],
"galleryBanner": {
"color": "#af3eaf",
"theme": "dark"
},
"keywords": [
"css",
"color",
"collector",
"css color",
"color collector",
"css color collector",
"ccc",
"color parser"
],
"categories": [
"Other",
"Programming Languages"
],
"activationEvents": [
"workspaceContains:**/*.css"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "css-color-collector.collect",
"category": "ccc",
"title": "collect colors"
}
],
"configuration": {
"title": "CSS Color Collector",
"properties": {
"cssColorCollector.colorInSeparateFile": {
"type": "boolean",
"default": false,
"description": "create separate file for :root "
},
"cssColorCollector.updatePropertyVariable": {
"type": "object",
"properties": {
"background-color": {
"type": "string",
"default": "bg"
}
},
"markdownDescription": "change default property variable name which will be used while generating **:root** variable \n\n *Example* \n\n ``` { \"background-color\": \"bgc\" }``` "
}
}
},
"keybindings": [
{
"command": "css-color-collector.collect",
"key": "ctrl+f7",
"mac": "cmd+f7",
"when": "editorTextFocus && resourceLangId =~ /s?css|less/"
}
],
"languages": [
{
"id": "css",
"extensions": [
".css",
".scss",
".less"
],
"aliases": [
"CSS",
"sass",
"scss",
"less"
],
"mimeTypes": [
"text/css"
]
}
],
"menus": {
"commandPalette": [
{
"command": "css-color-collector.collect",
"when": "editorLangId == css || editorLangId == scss || editorLangId == less"
}
]
}
},
"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": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"@vscode/test-electron": "^2.2.0",
"eslint": "^8.28.0",
"glob": "^8.0.3",
"mocha": "^10.1.0",
"typescript": "^5.3.3"
}
}