forked from zignd/HTML-CSS-Class-Completion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
138 lines (138 loc) · 4.51 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": "html-css-class-completion",
"displayName": "IntelliSense for CSS class names in HTML",
"description": "CSS class name completion for the HTML class attribute based on the definitions found in your workspace.",
"version": "1.22.1",
"publisher": "vain0x",
"engines": {
"vscode": "^1.52.0"
},
"keywords": [
"html",
"css",
"class",
"autocomplete",
"multi-root ready"
],
"categories": [
"Programming Languages",
"Other"
],
"activationEvents": [
"onLanguage:css",
"workspaceContains:**/*.css"
],
"contributes": {
"commands": [
{
"command": "html-css-class-completion.cache",
"title": "Cache CSS class definitions"
}
],
"configuration": [
{
"title": "IntelliSense for CSS class names in HTML",
"properties": {
"html-css-class-completion.includeGlobPattern": {
"type": "string",
"default": "**/*.{css,html}",
"description": "A glob pattern that defines files and folders to search for. The glob pattern will be matched against the paths of resulting matches relative to their workspace."
},
"html-css-class-completion.excludeGlobPattern": {
"type": "string",
"default": "",
"description": "A glob pattern that defines files and folders to exclude. The glob pattern will be matched against the file paths of resulting matches relative to their workspace."
},
"html-css-class-completion.enableEmmetSupport": {
"type": "boolean",
"default": false,
"description": "Enables completion when you're writing Emmet abbreviations."
},
"html-css-class-completion.enableExternalStylesheetSupport": {
"type": "boolean",
"default": true,
"description": "Support external stylesheet (If true, src attributes on link[rel=stylesheet] in HTML documents are fetched. If false, link elements are ignored.)"
},
"html-css-class-completion.HTMLLanguages": {
"type": "array",
"description": "A list of HTML based languages where suggestions are enabled.",
"default": [
"html",
"vue",
"razor",
"blade",
"handlebars",
"twig",
"django-html",
"php",
"markdown",
"erb",
"ejs",
"svelte"
]
},
"html-css-class-completion.CSSLanguages": {
"type": "array",
"description": "A list of CSS based languages where suggestions are enabled.",
"default": [
"css",
"sass",
"scss"
]
},
"html-css-class-completion.JavaScriptLanguages": {
"type": "array",
"description": "A list of JavaScript based languages where suggestions are enabled.",
"default": [
"javascript",
"javascriptreact",
"typescriptreact"
]
}
}
}
]
},
"icon": "images/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/vain0x/HTML-CSS-Class-Completion"
},
"main": "./dist/extension.js",
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack --config ./build/node-extension.webpack.config.js",
"watch": "webpack --watch --config ./build/node-extension.webpack.config.js",
"package": "webpack --mode production --devtool hidden-source-map --config ./build/node-extension.webpack.config.js",
"vsce-package": "vsce package",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
"pretest": "npm run test-compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/lodash": "^4.14.184",
"@types/mocha": "^10.0.7",
"@types/node": "^20.14.14",
"@types/vscode": "=1.52.0",
"@typescript-eslint/eslint-plugin": "^8.0.1",
"@typescript-eslint/parser": "^8.0.1",
"@vscode/vsce": "^2.31.1",
"eslint": "^8.57.0",
"glob": "^11.0.0",
"mocha": "^10.7.0",
"ts-loader": "^9.5.1",
"typescript": "^5.5.4",
"vscode-test": "^1.4.1",
"webpack": "^5.93.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@adobe/css-tools": "^4.4.0",
"htmlparser2": "^9.1.0",
"lodash": "^4.17.21",
"p-map": "^7.0.2",
"source-map-support": "^0.5.21"
}
}