-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
178 lines (178 loc) · 6.81 KB
/
package.json
File metadata and controls
178 lines (178 loc) · 6.81 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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"name": "code-reading-helper-by-py-sequence-reverse",
"displayName": "PySequenceReverse Sequence Diagram Builder for Python",
"description": "Create Mermaid speaking sequence diagrams for Python functions and view them in a webview.",
"version": "1.0.0",
"publisher": "kazu",
"engines": {
"vscode": "^1.65.0",
"node": ">=14.0.0"
},
"categories": [
"Visualization"
],
"main": "./out/extension.js",
"activationEvents": [
"onLanguage:python"
],
"contributes": {
"commands": [
{
"command": "PySequenceReverse.createSequenceDiagram",
"title": "PySequenceReverse: Create diagram for this function"
}
],
"menus": {
"editor/context": [
{
"command": "PySequenceReverse.createSequenceDiagram"
}
]
},
"views": {
"Sequence-Diagram": [
{
"type": "webview",
"id": "myExtension.view",
"name": "Sequecne Diagram"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "Sequence-Diagram",
"title": "WebView",
"icon": "icons/sequence.svg"
}
]
},
"configuration": {
"title": "PySequenceReverse",
"properties": {
"py-sequence-reverse.Ignore: Ignore on Generate": {
"description": "Glob patterns of files to ignore when fetching call hierarchy for the call graph.",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"py-sequence-reverse.Ignore: Ignore Non-Workspace Files": {
"description": "Ignore files that are not part of the current workspace.",
"type": "boolean",
"default": true
},
"py-sequence-reverse.Ignore: Ignore Analyzing Third-Party Packages": {
"description": "Don't analyze files/functions located in the physical or virtual environments (3rd party packages). See Python settings for managing these directories.",
"type": "boolean",
"default": true
},
"py-sequence-reverse.Files: Save Diagram File Automatically": {
"description": "Save diagram automatically rather than asking for a file name.",
"type": "boolean",
"default": false
},
"py-sequence-reverse.Files: Open Diagram Automatically": {
"description": "Open saved diagram automatically (if supported previewer extension is installed).",
"type": "boolean",
"default": true
},
"py-sequence-reverse.Diagram: Max Call Depth": {
"description": "Maximum call depth (1 to 32).",
"type": "integer",
"default": 5,
"minimum": 1,
"maximum": 32
},
"py-sequence-reverse.Diagram: Omit Message Details": {
"description": "Check to omit function parameters and only display the name of the called function.",
"type": "boolean",
"default": false
},
"py-sequence-reverse.Diagram: include Sequence Numbers": {
"description": "Check to include sequence numbers in messages",
"type": "boolean",
"default": true
},
"py-sequence-reverse.Diagram: Show Signatures Instead Parameters": {
"description": "Check to include the signature of the called function rather than parameter values (only applies when parameters are not omitted).",
"type": "boolean",
"default": false
},
"py-sequence-reverse.Diagram: Return Message Label": {
"description": "Label to show on return messages. To comply with Mermaid, the empty value is replaced by a space.",
"type": "string",
"default": "return value"
},
"py-sequence-reverse.Diagram: Display Mode": {
"type": "string",
"enum": [
"view",
"panel"
],
"default": "view",
"description": "Select display method (view = side bar, panel = editor panel)"
},
"py-sequence-reverse.Thresholds: Thresholds for Orange": {
"type": "number",
"default": 3,
"description": "Threshold for orange color coding"
},
"py-sequence-reverse.Thresholds: Thresholds for Red": {
"type": "number",
"default": 10,
"description": "Threshold for red color coding"
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"unittest": "mocha --require ts-node/register 'src/test/**/*.ts'"
},
"devDependencies": {
"@types/chai": "^5.2.2",
"@types/mocha": "^10.0.10",
"@types/node": "14.x",
"@types/vscode": "^1.65.0",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"@vscode/test-electron": "^2.1.3",
"chai": "^6.0.1",
"eslint": "^8.11.0",
"mocha": "^11.7.2",
"ts-node": "^10.9.2",
"typescript": "^4.6.3"
},
"repository": {
"type": "git",
"url": "https://github.com/KDB017/CodeReadingHelperByPySequenceReverse"
},
"license": "MIT",
"icon": "art/big-logo.png",
"bugs": {
"url": ""
},
"homepage": "https://github.com/KDB017/CodeReadingHelperByPySequenceReverse/blob/main/README.md",
"keywords": [
"uml",
"call graph",
"sequence diagram",
"python",
"mermaid",
"reverse engineering"
],
"dependencies": {
"@panzoom/panzoom": "^4.6.0",
"concat-map": "^0.0.2",
"minimatch": "^9.0.3",
"sanitize-filename": "^1.6.3",
"yarn": "^1.22.22"
}
}