-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
72 lines (72 loc) · 1.9 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
{
"name": "code-svgr",
"displayName": "SVGR - SVG to React",
"description": "Extension for converting SVG's to an optimized JSX file, works for both ReactJS & React Native",
"version": "0.1.0",
"publisher": "NathHorrigan",
"repository": "https://github.com/NathHorrigan/code-svgr",
"icon": "./images/icon.png",
"engines": {
"vscode": "^1.43.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:javascript",
"onLanguage:typescript",
"onCommand:svgr.convert_selection",
"onCommand:svgr.convert_file"
],
"main": "./out/extension.js",
"contributes": {
"menus": {
"explorer/context": [
{
"command": "svgr.convert_file",
"group": "7_modification@1000",
"when": "resourceLangId == xml"
}
]
},
"commands": [
{
"command": "svgr.convert_selection",
"title": "SVGR: Convert selection to component (saved to Clipboard)"
},
{
"command": "svgr.convert_file",
"title": "SVGR: Convert SVG file to React component"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.1",
"@types/node": "^12.11.7",
"@types/vscode": "^1.43.0",
"eslint": "^6.8.0",
"@typescript-eslint/parser": "^2.18.0",
"@typescript-eslint/eslint-plugin": "^2.18.0",
"glob": "^7.1.6",
"mocha": "^7.0.1",
"typescript": "^3.7.5",
"vscode-test": "^1.3.0"
},
"dependencies": {
"@svgr/core": "^5.3.0",
"@svgr/plugin-jsx": "^5.3.0",
"@svgr/plugin-prettier": "^5.3.0",
"@svgr/plugin-svgo": "^5.3.0",
"is-svg": "^4.2.1",
"locate-character": "^2.0.5"
}
}