-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
138 lines (138 loc) · 3.17 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
133
134
135
136
137
138
{
"name": "classnames-rainbow",
"displayName": "ClassNames Rainbow",
"description": "Gives rainbow colors to html class names to help distinguish them. Works with jsx, tsx etc.",
"author": "Konstantin Kovar <[email protected]>",
"version": "1.0.1",
"license": "MIT",
"repository": "https://github.com/Neugierdsnase/vscode_classnames_rainbow",
"icon": "classnames-rainbow-logo.png",
"publisher": "KonstantinKovar",
"engines": {
"vscode": "^1.63.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:html",
"onLanguage:javascriptreact",
"onLanguage:typescriptreact",
"onLanguage:vue",
"onLanguage:svelte",
"onLanguage:astro"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "ClassNames Rainbow",
"properties": {
"classnamesRainbow.colorIntensity": {
"type": "number",
"default": 5,
"description": "Set the brightness of the rainbow colors from 1 to 10.",
"minimum": 1,
"maximum": 10
},
"classnamesRainbow.minimumClassListLength": {
"type": "number",
"default": 1,
"description": "Set the minimum length of the class list for the extension to take effect.",
"minimum": 1,
"maximum": 20
}
}
},
"languages": [
{
"id": "html",
"aliases": [
"HTML",
"html"
],
"extensions": [
".html",
".htm"
]
},
{
"id": "javascriptreact",
"aliases": [
"JSX",
"jsx"
],
"extensions": [
".jsx"
]
},
{
"id": "typescriptreact",
"aliases": [
"TSX",
"tsx"
],
"extensions": [
".tsx"
]
},
{
"id": "vue",
"aliases": [
"VUE",
"vue"
],
"extensions": [
".vue"
]
},
{
"id": "svelte",
"aliases": [
"svelte"
],
"extensions": [
".svelte"
]
},
{
"id": "astro",
"aliases": [
"astro"
],
"extensions": [
".astro"
]
}
]
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"prepare": "husky install",
"format": "prettier --write .",
"format:thorough": "yarn run format && yarn run lint"
},
"lint-staged": {
"*.ts, *.json": "yarn run format:thorough"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@types/vscode": "^1.63.0",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"@vscode/test-electron": "^2.0.3",
"eslint": "^8.6.0",
"glob": "^7.2.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.3",
"mocha": "^9.1.3",
"typescript": "^4.5.4"
}
}