-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
61 lines (59 loc) · 1.48 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
{
"name": "fixfigmasvgidbug",
"displayName": "SVGID转换",
"description": "修复SVG",
"version": "0.0.3",
"publisher": "leeguoo",
"engines": {
"vscode": "^1.61.0"
},
"categories": [
"Other"
],
"main": "./out/extension.js",
"activationEvents": ["onLanguage:xml"],
"contributes": {
"commands": [
{
"command": "fixFigmaSVGIDBug.fix",
"title": "替换SVG中的冒号"
}
],
"menus": {
"editor/context": [{
"command": "fixFigmaSVGIDBug.fix",
"when": "resourceExtname == .svg"
}]
},
"keybindings": [{
"command": "fixFigmaSVGIDBug.fix",
"key": "ctrl+f1",
"mac": "cmd+f1",
"when": "editorTextFocus"
}]
},
"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",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"devDependencies": {
"@types/glob": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "14.17.27",
"@types/vscode": "^1.61.0",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"@vscode/test-electron": "^1.6.2",
"eslint": "^8.1.0",
"glob": "^7.1.7",
"mocha": "^9.1.3",
"typescript": "^4.4.4"
},
"repository": "https://github.com/leeguooooo/FixFigmaSVGIDBug",
"license": "ISC"
}