generated from finos-labs/project-blueprint
-
Notifications
You must be signed in to change notification settings - Fork 92
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 4.09 KB
/
package.json
File metadata and controls
133 lines (133 loc) · 4.09 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
{
"name": "calm-vscode-plugin",
"displayName": "CALM Preview & Tools",
"description": "Live-visualize CALM architecture models, validate, and generate docs.",
"version": "0.1.0",
"publisher": "local",
"engines": {
"vscode": "^1.88.0"
},
"categories": [
"Other"
],
"icon": "media/icon.png",
"main": "dist/extension.js",
"activationEvents": [
"onStartupFinished",
"onLanguage:json",
"onLanguage:yaml",
"onLanguage:yml"
],
"contributes": {
"commands": [
{
"command": "calm.openPreview",
"title": "CALM: Open Preview"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "calm",
"title": "CALM",
"icon": "media/icon.png"
}
]
},
"views": {
"calm": [
{
"id": "calmSidebar",
"name": "Model Elements"
}
]
},
"configuration": {
"title": "CALM",
"properties": {
"calm.cli.path": {
"type": "string",
"default": "./cli",
"markdownDescription": "Path to the CALM CLI entry. If not available, the extension will fall back to internal validation."
},
"calm.preview.autoOpen": {
"type": "boolean",
"default": false,
"description": "Automatically open CALM Preview when a CALM file is opened."
},
"calm.preview.layout": {
"type": "string",
"enum": [
"fcose",
"cose",
"dagre"
],
"default": "dagre",
"description": "Graph layout algorithm for the preview."
},
"calm.preview.showLabels": {
"type": "boolean",
"default": true,
"description": "Show labels for nodes and edges in the preview."
},
"calm.files.globs": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"calm/**/*.json",
"calm/**/*.y?(a)ml"
],
"markdownDescription": "Glob patterns for CALM model files in the workspace."
}
}
},
"keybindings": [
{
"command": "calm.openPreview",
"key": "ctrl+shift+c",
"mac": "cmd+shift+c",
"when": "editorTextFocus"
}
],
"menus": {
"editor/context": [
{
"command": "calm.openPreview",
"when": "resourceLangId == json || resourceLangId == yaml || resourceLangId == yml",
"group": "navigation@9"
}
]
}
},
"scripts": {
"build": "tsup",
"watch": "tsup --watch",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint src",
"lint-fix": "eslint src --fix",
"package": "vsce package --no-dependencies",
"vscode:prepublish": "tsup"
},
"devDependencies": {
"@types/cytoscape-fcose": "^2.2.4",
"@types/node": "^22.0.0",
"@types/vscode": "^1.88.0",
"@typescript-eslint/eslint-plugin": "^8.29.1",
"@typescript-eslint/parser": "^8.29.1",
"eslint": "^9.24.0",
"globals": "^16.0.0",
"tsup": "^8.2.4",
"typescript": "^5.6.2",
"vitest": "^2.0.5",
"vsce": "^2.15.0"
},
"dependencies": {
"cytoscape": "^3.28.1",
"cytoscape-dagre": "^2.5.0",
"cytoscape-fcose": "^2.2.0",
"yaml": "^2.5.1"
}
}