forked from Chakroun-Anas/turbo-console-log
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
157 lines (157 loc) · 4.81 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
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
{
"name": "turbo-fmt-println",
"displayName": "Turbo FMT Println",
"description": "Automating the process of writing meaningful log messages.",
"version": "2.3.1",
"publisher": "sachinsmc",
"author": "Sachin Chavan <chavansachin295@gmail.com",
"engines": {
"vscode": "^1.50.0"
},
"icon": "images/icon.png",
"categories": [
"Other"
],
"activationEvents": [
"onCommand:turboConsoleLog.displayLogMessage",
"onCommand:turboConsoleLog.commentAllLogMessages",
"onCommand:turboConsoleLog.uncommentAllLogMessages",
"onCommand:turboConsoleLog.deleteAllLogMessages"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "Turbo Console Log Configuration",
"properties": {
"turboConsoleLog.wrapLogMessage": {
"type": "boolean",
"default": false,
"description": "Determine if the log message should be wrapped or not."
},
"turboConsoleLog.logMessagePrefix": {
"type": "string",
"default": "🚀",
"description": "The prefix of the log message."
},
"turboConsoleLog.includeFileNameAndLineNum": {
"type": "boolean",
"default": true,
"description": "Whether to include the file name and the line number of the log message."
},
"turboConsoleLog.addSemicolonInTheEnd": {
"type": "boolean",
"default": false,
"description": "Whether to add or not a semicolon in the end of the log message."
},
"turboConsoleLog.insertEnclosingClass": {
"type": "boolean",
"default": true,
"description": "Whether to insert or not the enclosing class of the selected variable in the log message."
},
"turboConsoleLog.insertEnclosingFunction": {
"type": "boolean",
"default": true,
"description": "Whether to insert or not the enclosing function of the selected variable in the log message."
},
"turboConsoleLog.delimiterInsideMessage": {
"type": "string",
"default": "~",
"description": "The delimiter that will separate the different log message elements (file name, line number, class, function and variable)"
},
"turboConsoleLog.quote": {
"type": "string",
"enum": [
"\"",
"'",
"`"
],
"default": "\"",
"description": "Double quotes, single quotes or backtick"
}
}
},
"commands": [
{
"command": "turboConsoleLog.displayLogMessage",
"title": "Turbo Console Log: Display Log Message"
},
{
"command": "turboConsoleLog.commentAllLogMessages",
"title": "Turbo Console Log: Comment All Log Messages"
},
{
"command": "turboConsoleLog.uncommentAllLogMessages",
"title": "Turbo Console Log: Uncomment All Log Messages"
},
{
"command": "turboConsoleLog.deleteAllLogMessages",
"title": "Turbo Console Log: Delete All Log Messages"
}
],
"keybindings": [
{
"command": "turboConsoleLog.displayLogMessage",
"key": "ctrl+alt+l",
"mac": "ctrl+alt+l"
},
{
"command": "turboConsoleLog.commentAllLogMessages",
"key": "alt+shift+c",
"mac": "alt+shift+c"
},
{
"command": "turboConsoleLog.uncommentAllLogMessages",
"key": "alt+shift+u",
"mac": "alt+shift+u"
},
{
"command": "turboConsoleLog.deleteAllLogMessages",
"key": "alt+shift+d",
"mac": "alt+shift+d"
}
]
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./ && mkdir -p out/test/files/js && cp -r src/test/files/js out/test/files",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"test": "node ./out/test/runTest.js",
"generateTest": "ts-node ./src/test/generator.ts"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.0",
"@types/node": "^12.11.7",
"@types/vscode": "^1.50.0",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"chalk": "^4.1.0",
"eslint": "^7.9.0",
"eslint-plugin-prettier": "^3.1.4",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"typescript": "^4.0.2",
"vscode-test": "^1.4.0"
},
"license": "SEE LICENSE IN LICENSE.txt",
"bugs": {
"url": "https://github.com/sachinsmc/turbo-fmt-println/issues",
"email": "chavansachin295@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/sachinsmc/turbo-fmt-println"
},
"keywords": [
"golang",
"log",
"debug",
"fmt",
"go",
"println",
"logger"
]
}