Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
159 lines (159 loc) · 4.17 KB
/
Copy pathpackage.json
File metadata and controls
159 lines (159 loc) · 4.17 KB
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "Lexiflow",
"displayName": "Lexiflow",
"description": "Automatically converts quotes to backticks when typing template literals and reverts back when template syntax is removed",
"version": "0.0.12",
"publisher": "Lexiflow Team",
"icon": "assets/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/Lexiflow/Lexiflow.git"
},
"bugs": {
"url": "https://github.com/Lexiflow/Lexiflow/issues"
},
"homepage": "https://Lexiflow.vercel.app",
"keywords": [
"template literal",
"converter",
"quotes",
"backticks",
"javascript",
"typescript",
"auto",
"autoconverter",
"string",
"string template",
"revert",
"bidirectional",
"smart conversion"
],
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Programming Languages",
"Formatters",
"Other"
],
"activationEvents": [
"onLanguage:javascript",
"onLanguage:typescript",
"onLanguage:javascriptreact",
"onLanguage:typescriptreact",
"onLanguage:svelte"
],
"main": "./out/src/extension.js",
"tags": [
"auto",
"string",
"template",
"javascriptreact",
"typescriptreact",
"template literal",
"quote converter",
"backticks",
"javascript",
"typescript",
"formatter",
"auto converter",
"revert",
"bidirectional",
"smart conversion"
],
"contributes": {
"commands": [
{
"command": "Lexiflow.toggleAutoConvert",
"title": "Toggle Auto-Convert",
"category": "Lexiflow"
},
{
"command": "Lexiflow.test",
"title": "Test Conversion",
"category": "Lexiflow"
},
{
"command": "Lexiflow.toggleRevertFeature",
"title": "Toggle Revert Feature",
"category": "Lexiflow"
},
{
"command": "Lexiflow.enableExtension",
"title": "Enable Lexiflow",
"category": "Lexiflow"
},
{
"command": "Lexiflow.disableExtension",
"title": "Disable Lexiflow",
"category": "Lexiflow"
},
{
"command": "Lexiflow.wrapJSXAttributes",
"title": "Wrap JSX Attributes",
"category": "Lexiflow"
},
{
"command": "Lexiflow.debugJSXDetection",
"title": "Debug JSX Detection",
"category": "Lexiflow"
},
{
"command": "Lexiflow.testJSXBacktickConversion",
"title": "Test JSX Backtick Conversion",
"category": "Lexiflow"
}
],
"configuration": {
"title": "Lexiflow",
"properties": {
"Lexiflow.enableAutoConvert": {
"type": "boolean",
"default": true,
"description": "Enable automatic conversion when typing template literals"
},
"Lexiflow.showNotifications": {
"type": "boolean",
"default": true,
"description": "Show notifications when conversions are made"
},
"Lexiflow.supportedLanguages": {
"type": "array",
"default": ["javascript", "typescript", "javascriptreact", "typescriptreact", "svelte"],
"description": "File types to monitor for conversions"
},
"Lexiflow.showWelcomeMessage": {
"type": "boolean",
"default": true,
"description": "Show welcome message when extension is activated"
},
"Lexiflow.autoRemoveTemplateString": {
"type": "boolean",
"default": true,
"description": "Enable automatic reversion of backticks to quotes when template syntax is removed"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.10",
"@types/node": "16.x",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"@vscode/test-electron": "^2.3.0",
"eslint": "^8.28.0",
"glob": "^8.0.0",
"mocha": "^10.0.0",
"typescript": "^4.9.4"
}
}