-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.49 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
{
"name": "json-color-token",
"description": "A language server that enables previewing/editing hex color tokens in json documents",
"icon": "images/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/YECHUNAN/json-color-token"
},
"author": "Chunan Ye",
"license": "MIT",
"version": "1.3.3",
"publisher": "yechunan",
"categories": [
"Visualization"
],
"engines": {
"vscode": "^1.81.0"
},
"activationEvents": [
"onLanguage:plaintext"
],
"main": "./client/out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "JSON Color Token",
"properties": {
"jsonColorToken.maxNumberOfColorTokens": {
"type": "number",
"default": 1000,
"description": "Controls the maximum number of color tokens to show preview color."
},
"jsonColorToken.colorTokenCasing": {
"type": "string",
"default": "Uppercase",
"enum": [
"Uppercase",
"Lowercase"
],
"description": "Whether the built-in color picker will set color code as uppercase letters or lowercase letters",
"enumDescriptions": [
"Color presentation selected in the in-editor color picker will insert color code as uppercase letters (e.g. #AABBCC).",
"Color presentation selected in the in-editor color picker will insert color code as lowercase letters (e.g. #aabbcc)."
]
},
"jsonColorToken.languages": {
"type": "array",
"default": [
"json",
"jsonc"
],
"description": "Languages for which to search for color tokens. This setting is mutually exclusive with languages set as 'cssLanguages'. \n\nThe extension must be restarted for an updated set of languages to take effect."
},
"jsonColorToken.cssLanguages": {
"type": "array",
"default": [
"css",
"less"
],
"description": "Languages for which to search for css variables referencing color tokens. This setting is mutually exclusive with languages set as 'languages'.\n\nThe extension must be restarted for an updated set of cssLanguages to take effect."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"package": "vsce package",
"publish": "vsce publish",
"lint": "eslint . --ext .ts"
},
"devDependencies": {
"@types/node": "^18.0.0",
"@typescript-eslint/parser": "^6.4.0",
"eslint": "^8.47.0",
"typescript": "^4.0.2",
"vsce": "^1.97.0"
}
}