|
| 1 | +{ |
| 2 | + "name": "prisma-erd-visualizer", |
| 3 | + "displayName": "Prisma Entity-Relationship Diagrams visualizer", |
| 4 | + "description": "A VS Code extension for viewing the ERD (Entity Relationship Diagram) database schema from a prismal file in your VS Code Editor.", |
| 5 | + "version": "0.0.3", |
| 6 | + "icon": "assets/logo.png", |
| 7 | + "publisher": "bocovo", |
| 8 | + "engines": { |
| 9 | + "vscode": "^1.87.0" |
| 10 | + }, |
| 11 | + "categories": [ |
| 12 | + "Other" |
| 13 | + ], |
| 14 | + "activationEvents": [], |
| 15 | + "main": "./dist/extension/index.js", |
| 16 | + "contributes": { |
| 17 | + "commands": [ |
| 18 | + { |
| 19 | + "command": "prisma-erd-visualizer.previewDiagrams", |
| 20 | + "title": "Show diagram", |
| 21 | + "icon": { |
| 22 | + "light": "./assets/icons/open-preview.svg", |
| 23 | + "dark": "./assets/icons/open-preview-dark.svg" |
| 24 | + } |
| 25 | + } |
| 26 | + ], |
| 27 | + "menus": { |
| 28 | + "editor/title": [ |
| 29 | + { |
| 30 | + "when": "resourceLangId == prisma", |
| 31 | + "command": "prisma-erd-visualizer.previewDiagrams", |
| 32 | + "group": "navigation" |
| 33 | + } |
| 34 | + ] |
| 35 | + }, |
| 36 | + "configuration": { |
| 37 | + "title": "Prisma Entity Relationship Diagram", |
| 38 | + "properties": { |
| 39 | + "prismaERDPreviewer.preferredTheme": { |
| 40 | + "type": "string", |
| 41 | + "default": "dark", |
| 42 | + "enum": [ |
| 43 | + "dark", |
| 44 | + "light" |
| 45 | + ], |
| 46 | + "enumDescriptions": [ |
| 47 | + "To use dark mode theme colors", |
| 48 | + "To use light mode theme colors" |
| 49 | + ] |
| 50 | + } |
| 51 | + } |
| 52 | + } |
| 53 | + }, |
| 54 | + "scripts": { |
| 55 | + "vscode:prepublish": "yarn run package", |
| 56 | + "compile-tests": "tsc -p . --outDir out", |
| 57 | + "watch-tests": "tsc -p . -w --outDir out", |
| 58 | + "pretest": "yarn run compile-tests && yarn run build && yarn run lint", |
| 59 | + "lint": "eslint src --ext ts", |
| 60 | + "test": "vscode-test", |
| 61 | + "build:prisma": "vite build && yarn run generate:css", |
| 62 | + "package": "yarn run build", |
| 63 | + "preview": "vite preview", |
| 64 | + "generate:css": "cd ../json-table-schema-visualizer && npx tailwindcss -i ./src/styles/index.css > ../prisma-vs-code-extension/dist/webview/assets/index.css --minify" |
| 65 | + }, |
| 66 | + "devDependencies": { |
| 67 | + "@tomjs/vite-plugin-vscode": "^2.2.0", |
| 68 | + "@types/mocha": "^10.0.6", |
| 69 | + "@types/node": "18.x", |
| 70 | + "@types/react": "^18.2.75", |
| 71 | + "@types/react-dom": "^18.2.24", |
| 72 | + "@types/vscode": "^1.87.0", |
| 73 | + "@typescript-eslint/eslint-plugin": "^7.4.0", |
| 74 | + "@typescript-eslint/parser": "^7.4.0", |
| 75 | + "@vitejs/plugin-react-swc": "^3.6.0", |
| 76 | + "@vscode/test-cli": "^0.0.8", |
| 77 | + "@vscode/test-electron": "^2.3.9", |
| 78 | + "eslint": "^8.57.0", |
| 79 | + "ts-loader": "^9.5.1", |
| 80 | + "vite": "^5.2.8", |
| 81 | + "vite-tsconfig-paths": "^4.3.2" |
| 82 | + }, |
| 83 | + "dependencies": { |
| 84 | + "json-table-schema-visualizer": "1.0.0", |
| 85 | + "prisma-to-json-table-schema": "0.0.1", |
| 86 | + "react": "^18.2.0", |
| 87 | + "react-dom": "^18.2.0", |
| 88 | + "shared": "0.0.0" |
| 89 | + }, |
| 90 | + "repository": { |
| 91 | + "type": "git", |
| 92 | + "url": "https://github.com/BOCOVO/db-schema-visualizer" |
| 93 | + } |
| 94 | +} |
0 commit comments