forked from finos/architecture-as-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
170 lines (170 loc) · 5.21 KB
/
package.json
File metadata and controls
170 lines (170 loc) · 5.21 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
{
"name": "calm-vscode-plugin",
"displayName": "CALM Preview & Tools",
"description": "Live-visualize CALM architecture models, validate, and generate docs.",
"version": "0.0.9",
"publisher": "FINOS",
"homepage": "https://calm.finos.org",
"repository": {
"type": "git",
"url": "https://github.com/finos/architecture-as-code.git"
},
"engines": {
"vscode": "^1.88.0"
},
"categories": [
"Programming Languages",
"Visualization"
],
"keywords": [
"calm",
"architecture-as-code",
"architecture",
"modeling",
"documentation",
"finos"
],
"icon": "media/icon.png",
"main": "dist/extension.js",
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "calm.openPreview",
"title": "CALM: Open Preview"
},
{
"command": "calm.searchTreeView",
"title": "Search Model Elements",
"icon": "$(search)"
},
{
"command": "calm.clearTreeViewSearch",
"title": "Clear Search",
"icon": "$(clear-all)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "calm",
"title": "CALM",
"icon": "media/icon.png"
}
]
},
"views": {
"calm": [
{
"id": "calmSidebar",
"name": "Model Elements",
"canSelectMany": false,
"visibility": "visible"
}
]
},
"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.files.globs": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"calm/**/*.json",
"calm/**/*.y?(a)ml"
],
"markdownDescription": "Glob patterns for CALM model files in the workspace."
},
"calm.template.globs": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"**/*.md",
"**/*.markdown",
"**/*.hbs",
"**/*.handlebars"
],
"markdownDescription": "Glob patterns for template files that may reference CALM architecture files."
}
}
},
"keybindings": [
{
"command": "calm.openPreview",
"key": "ctrl+shift+c",
"mac": "cmd+shift+c",
"when": "editorTextFocus"
}
],
"menus": {
"view/title": [
{
"command": "calm.searchTreeView",
"when": "view == calmSidebar",
"group": "navigation"
},
{
"command": "calm.clearTreeViewSearch",
"when": "view == calmSidebar",
"group": "navigation"
}
],
"editor/context": [
{
"command": "calm.openPreview",
"group": "navigation@9"
}
]
}
},
"scripts": {
"build": "tsup",
"postbuild": "node ./scripts/copy-widgets.js",
"watch": "tsup --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint src",
"lint-fix": "eslint src --fix",
"package": "npm run build && vsce package --no-dependencies",
"vscode:prepublish": "npm run build"
},
"devDependencies": {
"@types/lodash": "^4.17.16",
"@types/markdown-it": "^14.1.2",
"@types/node": "^22.0.0",
"@types/svg-pan-zoom": "^3.3.0",
"@types/vscode": "^1.88.0",
"@typescript-eslint/eslint-plugin": "^8.29.1",
"@typescript-eslint/parser": "^8.29.1",
"@vscode/dts": "^0.4.1",
"eslint": "^9.24.0",
"eslint-plugin-import": "^2.32.0",
"globals": "^16.0.0",
"tsup": "^8.2.4",
"typescript": "^5.6.2",
"vsce": "^2.15.0"
},
"dependencies": {
"@finos/calm-models": "file:../../calm-models",
"@finos/calm-shared": "file:../../shared",
"jsdom": "^22.1.0",
"lodash": "^4.17.21",
"markdown-it": "^13.0.1",
"mermaid": "^10.4.0",
"svg-pan-zoom": "^3.6.2",
"yaml": "^2.5.1",
"zustand": "^5.0.8"
}
}