forked from meganrogge/template-string-converter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 3.65 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
{
"name": "template-string-converter",
"displayName": "Template String Converter",
"description": "Converts a string to a template string when ${ is typed",
"version": "0.5.9",
"engines": {
"vscode": "^1.49.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:typescript",
"onLanguage:javascript",
"onLanguage:typescriptreact",
"onLanguage:javascriptreact"
],
"license": "MIT",
"galleryBanner": {
"color": "#e30b5d",
"theme": "dark"
},
"main": "./out/extension.js",
"publisher": "meganrogge",
"browser": "./out/extension.js",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint . --ext .ts,.tsx"
},
"contributes": {
"configuration": [
{
"title": "Template String Converter",
"properties": {
"template-string-converter.quoteType": {
"type": "string",
"description": "quote type that gets replaced",
"default": "both",
"enum": [
"single",
"double",
"both"
]
},
"template-string-converter.enabled": {
"type": "boolean",
"description": "extension is enabled",
"default": true
},
"template-string-converter.addBracketsToProps": {
"type": "boolean",
"description": "will add brackets around the prop",
"default": false
},
"template-string-converter.autoRemoveTemplateString": {
"type": "boolean",
"description": "replaces backticks with regular strings if \"${\" is removed",
"default": false
},
"template-string-converter.convertOutermostQuotes": {
"type": "boolean",
"description": "for nested strings, converts the outermost quotes to backticks",
"default": false
},
"template-string-converter.convertWithinTemplateString": {
"type": "boolean",
"description": "convert to template strings within a template string",
"default": true
},
"template-string-converter.validLanguages": {
"type": "array",
"items": {
"type": "string"
},
"description": "the extension runs on these languages",
"default": [
"svelte",
"typescript",
"javascript",
"typescriptreact",
"javascriptreact"
]
},
"template-string-converter.filesExcluded": {
"type": "array",
"items": {
"type": "string"
},
"description": "configure glob patterns for excluding files and folders",
"default": []
}
}
}
]
},
"repository": {
"type": "git",
"url": "https://github.com/meganrogge/template-string-converter"
},
"bugs": {
"url": "https://github.com/meganrogge/template-string-converter/issues"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.0",
"@types/node": "^14.0.27",
"@types/vscode": "^1.49.0",
"@typescript-eslint/eslint-plugin": "^3.8.0",
"@typescript-eslint/parser": "^3.8.0",
"eslint": "^8.3.0",
"glob": "^7.1.6",
"mocha": "^9.1.3",
"typescript": "^4.0.2",
"vscode-test": "^1.4.0"
},
"icon": "images/logo.png",
"keywords": [
"javascript",
"typescript",
"template",
"string",
"converter",
"auto",
"embed",
"embedder",
"autocorrect"
],
"dependencies": {}
}