-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 2.92 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
{
"name": "dcdcss",
"displayName": "DcdCss",
"description": "一款为css module开发提升效率的小工具",
"version": "0.4.0",
"icon": "image/icon.png",
"engines": {
"vscode": "^1.4.0"
},
"publisher": "shuyikang",
"categories": [
"Other"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "extension.extractCssClasses",
"title": "Extract CSS Classes to LESS"
},
{
"command": "extension.verifyCss",
"title": "Verify CSS"
}
],
"menus": {
"editor/context": [
{
"when": "editorFocus",
"command": "extension.extractCssClasses",
"group": ""
}
],
"explorer/context": [
{
"command": "extension.extractCssClasses",
"group": ""
}
]
},
"keybindings": {
"command": "extension.extractCssClasses",
"key": "ctrl+enter",
"mac": "cmd+enter",
"when": "editorTextFocus"
},
"configuration": {
"title": "DcdCss",
"properties": {
"DcdCss.cssDefaultContent": {
"type": "object",
"description": "css默认内容",
"default": ""
},
"DcdCss.showToast": {
"type": "boolean",
"description": "在每次操作完成之后是否展示提示信息",
"default": true
}
}
},
"snippets": [
{
"language": "less",
"path": "./snippets/color.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@types/vscode": "^1.3.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"eslint": "^9.9.1",
"ts-loader": "^9.5.1",
"typescript": "^5.5.4",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"fs-extra": "^11.2.0"
}
}