-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 3.37 KB
/
package.json
File metadata and controls
112 lines (112 loc) · 3.37 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
{
"name": "logmagic",
"displayName": "LogMagic",
"description": "Easily print variables and parameters with keyboard shortcuts for quick debugging.",
"version": "1.7.6",
"repository": "https://github.com/syko/VSCodeLogMagic",
"publisher": "syko",
"license": "See LICENSE",
"icon": "images/logo.png",
"engines": {
"vscode": "^1.49.3"
},
"categories": [
"Other"
],
"keywords": [
"logging",
"print",
"console",
"debug",
"code generation"
],
"activationEvents": [
"onCommand:logmagic.logDown",
"onCommand:logmagic.logUp",
"onCommand:logmagic.removeAllLogStatements"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "logmagic.logDown",
"title": "LogMagic: Log Downwards"
},
{
"command": "logmagic.logUp",
"title": "LogMagic: Log Upwards"
},
{
"command": "logmagic.removeAllLogStatements",
"title": "LogMagic: Remove All Log Statements From Current File"
}
],
"configuration": {
"title": "LogMagic",
"properties": {
"logMagic.defaultLanguage": {
"type": "string",
"scope": "resource",
"description": "The default language to use when the active language is not directly supported by LogMagic.",
"enum": [
"javascript",
"typescript",
"C#"
],
"default": "javascript"
},
"logMagic.logFormats": {
"type": "array",
"scope": "resource",
"description": "Configure one or more log statements to generate & rotate between.\n Can be configured on any setting level, including folders.\n Each statement specification is an object like\n{\n\"logPrefix\": \"A log-function call including the opening parenthesesis print(\",\n\t\"parameterSeparator\": \"A parameter separator, like a comma\",\n\t\"identifierPrefix\": \"Anything to prefix identifiers with\",\n\t\"identifierSuffix\": \"Anything to suffix identifiers with, like .toString()\",\n\t\"logSuffix\": \"An ending suffix to complete the log statement, like );\",\n\t\"quoteCharacter\": \"The quote character to use when logging strings\",\n\t\"insertSpaces\": \"A boolean indicating whether logged strings should be wrapped in spaces for padding.\"\n}"
}
}
},
"keybindings": [
{
"command": "logmagic.logDown",
"key": "alt+j",
"when": "editorTextFocus && !editorReadonly"
},
{
"command": "logmagic.logUp",
"key": "alt+k",
"when": "editorTextFocus && !editorReadonly"
},
{
"command": "logmagic.removeAllLogStatements",
"key": "ctrl+alt+j",
"mac": "cmd+alt+j",
"when": "editorTextFocus && !editorReadonly"
}
]
},
"scripts": {
"vscode:prepublish": "yarn run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
"pretest": "yarn run test-compile",
"lint": "eslint src --ext ts",
"test": "mocha --recursive ./out/test/*.js"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "14.x",
"@types/vscode": "^1.49.0",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"eslint": "^8.4.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.25.3",
"glob": "^7.1.7",
"mocha": "^8.4.0",
"ts-loader": "^9.2.2",
"typescript": "^4.3.2",
"webpack": "^5.38.1",
"webpack-cli": "^4.7.0"
}
}