-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
156 lines (156 loc) · 4.94 KB
/
package.json
File metadata and controls
156 lines (156 loc) · 4.94 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
{
"name": "dependency-graph-viewer",
"displayName": "Dependency Graph Viewer",
"description": "Visualize the dependencies in your project",
"version": "1.0.0",
"license": "MIT",
"icon": "images/icon.png",
"publisher": "Antarpreet",
"engines": {
"vscode": "^1.99.0"
},
"categories": [
"Visualization"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "dependency-graph-viewer.openDependencyGraph",
"title": "View Dependency Graph"
}
],
"menus": {
"explorer/context": [
{
"command": "dependency-graph-viewer.openDependencyGraph",
"when": "resourceLangId == javascript || resourceLangId === javascriptreact || resourceLangId == typescript || resourceLangId === typescriptreact"
}
]
},
"configuration": {
"title": "Dependency Graph Viewer",
"properties": {
"dependency-graph-viewer.buttonsVisible": {
"type": "boolean",
"default": true,
"order": 1,
"description": "Specifies whether to show the controls for the graph by default."
},
"dependency-graph-viewer.variant": {
"type": "string",
"enum": [
"dots",
"lines",
"cross",
"none"
],
"enumItemLabels": [
"Dots",
"Lines",
"Cross",
"None"
],
"default": "dots",
"order": 2,
"description": "The variant of the graph background pattern to be displayed."
},
"dependency-graph-viewer.variantLightColor": {
"type": "string",
"default": "#aaaaaa",
"order": 3,
"description": "Specifies the color of the graph background pattern for light theme. This is a hex color code."
},
"dependency-graph-viewer.variantDarkColor": {
"type": "string",
"default": "#555555",
"order": 4,
"description": "Specifies the color of the graph background pattern for dark theme. This is a hex color code."
},
"dependency-graph-viewer.deletable": {
"type": "boolean",
"default": false,
"order": 5,
"description": "Specifies whether the nodes and edges are deletable by default. They can be deleted by pressing backspace on selected nodes/edges. Multiple nodes/edges can be selected by holding down the shift key and dragging a rectangle around them."
},
"dependency-graph-viewer.draggable": {
"type": "boolean",
"default": false,
"order": 6,
"description": "Specifies whether the nodes and edges are draggable by default. They can be dragged by clicking and holding on them."
},
"dependency-graph-viewer.glowable": {
"type": "boolean",
"default": true,
"order": 7,
"description": "Specifies whether the nodes are glowable by default."
},
"dependency-graph-viewer.layout": {
"type": "string",
"enum": [
"horizontal",
"vertical"
],
"enumItemLabels": [
"Horizontal",
"Vertical"
],
"default": "vertical",
"order": 8,
"description": "The layout of the graph to be displayed."
},
"dependency-graph-viewer.snapToGrid": {
"type": "boolean",
"default": false,
"order": 9,
"description": "Specifies whether the nodes snap to the grid by default."
},
"dependency-graph-viewer.graphType": {
"type": "string",
"enum": [
"graph",
"sequential"
],
"default": "graph",
"order": 10,
"description": "Specifies the type of graph to be displayed by default."
}
}
}
},
"repository": {
"type": "git",
"url": "https://github.com/Antarpreet/dependency-graph-viewer.git"
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile:all": "tsc -p ./ && ncp ./src/parse.py ./out/parse.py",
"compile": "npm run compile:web && tsc -p ./",
"compile:web": "cd web && npm install && npm run build",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"package": "vsce package",
"publish": "vsce publish"
},
"devDependencies": {
"@types/jsdom": "^21.1.7",
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/vscode": "^1.99.0",
"@typescript-eslint/eslint-plugin": "^8.31.1",
"@typescript-eslint/parser": "^8.31.1",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.5.2",
"eslint": "^9.25.1",
"glob": "^11.0.2",
"mocha": "^10.2.0",
"ncp": "^2.0.0"
},
"dependencies": {
"jsdom": "^26.1.0",
"typescript": "^5.8.3"
}
}