mirror of
https://github.com/vadimmelnicuk/meo.git
synced 2026-05-03 12:40:38 +00:00
211 lines
6.8 KiB
JSON
211 lines
6.8 KiB
JSON
{
|
|
"name": "meo",
|
|
"displayName": "Markdown Editor Optimized",
|
|
"description": "An optimized markdown editor with live editing mode for VS Code.",
|
|
"version": "0.1.9",
|
|
"publisher": "vadimmelnicuk",
|
|
"private": true,
|
|
"icon": "logo.png",
|
|
"engines": {
|
|
"vscode": "^1.97.0"
|
|
},
|
|
"categories": [
|
|
"Programming Languages",
|
|
"Other"
|
|
],
|
|
"keywords": [
|
|
"markdown",
|
|
"editor",
|
|
"live-edit",
|
|
"wysiwyg",
|
|
"markdown-editor",
|
|
"markdown-preview"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/vadimmelnicuk/meo.git"
|
|
},
|
|
"main": "./dist/extension.js",
|
|
"activationEvents": [
|
|
"onLanguage:markdown",
|
|
"onCommand:markdownEditorOptimized.open",
|
|
"onCommand:markdownEditorOptimized.setDefaultEditor",
|
|
"onCommand:markdownEditorOptimized.resetThemeToDefaults"
|
|
],
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "markdownEditorOptimized.open",
|
|
"title": "Open With Markdown Editor Optimized",
|
|
"icon": "$(book)"
|
|
},
|
|
{
|
|
"command": "markdownEditorOptimized.setDefaultEditor",
|
|
"title": "Markdown Editor Optimized: Set as Default",
|
|
"icon": "$(check)"
|
|
},
|
|
{
|
|
"command": "markdownEditorOptimized.resetThemeToDefaults",
|
|
"title": "Markdown Editor Optimized: Reset Theme to Defaults",
|
|
"icon": "$(discard)"
|
|
}
|
|
],
|
|
"customEditors": [
|
|
{
|
|
"viewType": "markdownEditorOptimized.editor",
|
|
"displayName": "Markdown Editor Optimized",
|
|
"selector": [
|
|
{
|
|
"filenamePattern": "*.md"
|
|
},
|
|
{
|
|
"filenamePattern": "*.markdown"
|
|
}
|
|
],
|
|
"priority": "default"
|
|
}
|
|
],
|
|
"menus": {
|
|
"explorer/context": [
|
|
{
|
|
"command": "markdownEditorOptimized.open",
|
|
"when": "resourceFilename =~ /\\.(md|markdown)$/",
|
|
"group": "navigation"
|
|
}
|
|
],
|
|
"editor/title/context": [
|
|
{
|
|
"command": "markdownEditorOptimized.open",
|
|
"when": "resourceFilename =~ /\\.(md|markdown)$/",
|
|
"group": "navigation"
|
|
}
|
|
]
|
|
},
|
|
"configuration": {
|
|
"title": "Markdown Editor Optimized",
|
|
"properties": {
|
|
"markdownEditorOptimized.useAsDefault": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"order": 1,
|
|
"description": "Use Markdown Editor Optimized as the default editor for Markdown files"
|
|
},
|
|
"markdownEditorOptimized.outline.position": {
|
|
"type": "string",
|
|
"enum": [
|
|
"left",
|
|
"right"
|
|
],
|
|
"enumDescriptions": [
|
|
"Show the document outline on the left side of the editor.",
|
|
"Show the document outline on the right side of the editor."
|
|
],
|
|
"default": "right",
|
|
"order": 2,
|
|
"description": "Position of the document outline sidebar."
|
|
},
|
|
"markdownEditorOptimized.theme.base02": {
|
|
"type": "string",
|
|
"format": "color-hex",
|
|
"default": "#676f7d",
|
|
"description": "Subtle syntax markers and comments."
|
|
},
|
|
"markdownEditorOptimized.theme.base03": {
|
|
"type": "string",
|
|
"format": "color-hex",
|
|
"default": "#3e444d",
|
|
"description": "Muted borders and guides."
|
|
},
|
|
"markdownEditorOptimized.theme.base04": {
|
|
"type": "string",
|
|
"format": "color-hex",
|
|
"default": "#e06c75",
|
|
"description": "Headings and keywords."
|
|
},
|
|
"markdownEditorOptimized.theme.base05": {
|
|
"type": "string",
|
|
"format": "color-hex",
|
|
"default": "#61afef",
|
|
"description": "Links and primary identifiers."
|
|
},
|
|
"markdownEditorOptimized.theme.base06": {
|
|
"type": "string",
|
|
"format": "color-hex",
|
|
"default": "#66D9EF",
|
|
"description": "Type and function accents."
|
|
},
|
|
"markdownEditorOptimized.theme.base07": {
|
|
"type": "string",
|
|
"format": "color-hex",
|
|
"default": "#e5c07b",
|
|
"description": "Strings and strong emphasis."
|
|
},
|
|
"markdownEditorOptimized.theme.base08": {
|
|
"type": "string",
|
|
"format": "color-hex",
|
|
"default": "#c678dd",
|
|
"description": "Numbers and constants."
|
|
},
|
|
"markdownEditorOptimized.theme.base09": {
|
|
"type": "string",
|
|
"format": "color-hex",
|
|
"default": "#98c379",
|
|
"description": "Quotes and attributes."
|
|
},
|
|
"markdownEditorOptimized.fonts.live": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "Font family for Live mode. Leave empty to use VS Code editor font."
|
|
},
|
|
"markdownEditorOptimized.fonts.source": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "Font family for Source mode. Leave empty to use VS Code editor font."
|
|
},
|
|
"markdownEditorOptimized.fonts.liveLineHeight": {
|
|
"type": "number",
|
|
"default": 1.5,
|
|
"minimum": 1,
|
|
"maximum": 3,
|
|
"multipleOf": 0.1,
|
|
"description": "Line height multiplier for Live mode editor content (for example, 1.4 or 1.6)."
|
|
},
|
|
"markdownEditorOptimized.fonts.sourceLineHeight": {
|
|
"type": "number",
|
|
"default": 1.5,
|
|
"minimum": 1,
|
|
"maximum": 3,
|
|
"multipleOf": 0.1,
|
|
"description": "Line height multiplier for Source mode editor content (for example, 1.4 or 1.6)."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"install:all": "bun install && (cd webview && bun install)",
|
|
"build": "bun run build:webview && bun run build:extension",
|
|
"build:webview": "rm -rf webview/dist && mkdir -p webview/dist && bun build webview/src/index.js --target=browser --format=iife --minify --outfile=webview/dist/index.js && cp webview/src/styles.css webview/dist/index.css && cp node_modules/mermaid/dist/mermaid.min.js webview/dist/mermaid.min.js",
|
|
"build:extension": "bun build src/extension.ts --target=node --format=cjs --minify --outfile=dist/extension.js -e vscode --sourcemap=inline",
|
|
"release:prep": "bun scripts/release-prep.mjs",
|
|
"release:finalize": "bun scripts/release-prep.mjs finalize",
|
|
"vscode:publish": "vsce package"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/commands": "6.8.1",
|
|
"@codemirror/lang-cpp": "^6.0.3",
|
|
"@codemirror/lang-css": "^6.3.1",
|
|
"@codemirror/lang-html": "^6.4.11",
|
|
"@codemirror/lang-javascript": "^6.2.4",
|
|
"@codemirror/lang-json": "^6.0.2",
|
|
"@codemirror/lang-markdown": "6.3.4",
|
|
"@codemirror/lang-python": "^6.2.1",
|
|
"@codemirror/language": "6.11.3",
|
|
"@codemirror/state": "6.5.2",
|
|
"@codemirror/view": "6.36.4",
|
|
"@lezer/highlight": "^1.2.3",
|
|
"@types/vscode": "^1.109.0",
|
|
"lucide": "^0.564.0",
|
|
"mermaid": "^11.4.1"
|
|
}
|
|
}
|