|
1 | 1 | { |
2 | 2 | "name": "@finos/calm-explorer", |
| 3 | + "displayName": "CALM Explorer", |
3 | 4 | "version": "0.1.0", |
4 | 5 | "description": "Interactive exploration tool for FINOS CALM (Common Architecture Language Model) architecture diagrams", |
| 6 | + "publisher": "finos", |
5 | 7 | "license": "Apache-2.0", |
6 | | - "type": "module", |
| 8 | + "engines": { |
| 9 | + "vscode": "^1.85.0" |
| 10 | + }, |
| 11 | + "categories": [ |
| 12 | + "Visualization", |
| 13 | + "Other" |
| 14 | + ], |
| 15 | + "activationEvents": [ |
| 16 | + "onLanguage:json", |
| 17 | + "onCommand:calmExplorer.openViewer" |
| 18 | + ], |
| 19 | + "main": "./dist/extension.js", |
| 20 | + "contributes": { |
| 21 | + "commands": [ |
| 22 | + { |
| 23 | + "command": "calmExplorer.openViewer", |
| 24 | + "title": "Open CALM Viewer", |
| 25 | + "category": "CALM" |
| 26 | + } |
| 27 | + ], |
| 28 | + "customEditors": [ |
| 29 | + { |
| 30 | + "viewType": "calmExplorer.viewer", |
| 31 | + "displayName": "CALM Viewer", |
| 32 | + "selector": [ |
| 33 | + { |
| 34 | + "filenamePattern": "*.calm.json" |
| 35 | + } |
| 36 | + ], |
| 37 | + "priority": "option" |
| 38 | + } |
| 39 | + ] |
| 40 | + }, |
7 | 41 | "scripts": { |
8 | 42 | "dev": "NODE_OPTIONS='--no-deprecation' vite", |
9 | | - "build": "vite build", |
| 43 | + "build": "npm run build:extension && npm run build:webview", |
| 44 | + "build:extension": "tsc -p tsconfig.extension.json", |
| 45 | + "build:webview": "vite build", |
10 | 46 | "build:dev": "vite build --mode development", |
| 47 | + "watch:extension": "tsc -watch -p tsconfig.extension.json", |
| 48 | + "watch:webview": "vite build --watch", |
| 49 | + "package": "vsce package", |
11 | 50 | "lint": "eslint .", |
12 | 51 | "lint-fix": "eslint . --fix", |
13 | 52 | "preview": "vite preview", |
|
83 | 122 | "@types/node": "^22.16.5", |
84 | 123 | "@types/react": "^18.3.23", |
85 | 124 | "@types/react-dom": "^18.3.7", |
| 125 | + "@types/vscode": "^1.105.0", |
86 | 126 | "@vitejs/plugin-react-swc": "^3.11.0", |
87 | 127 | "@vitest/ui": "^3.2.4", |
| 128 | + "@vscode/vsce": "^2.32.0", |
88 | 129 | "autoprefixer": "^10.4.21", |
89 | 130 | "eslint": "^9.32.0", |
90 | 131 | "eslint-plugin-react-hooks": "^5.2.0", |
|
0 commit comments