vscode/extensions/markdown-language-features/package.json

328 lines
8.7 KiB
JSON
Raw Normal View History

2015-11-13 14:39:38 +01:00
{
"name": "markdown-language-features",
"displayName": "%displayName%",
"description": "%description%",
2018-02-27 20:23:02 +01:00
"version": "1.0.0",
2018-03-01 05:51:18 +01:00
"icon": "icon.png",
"publisher": "vscode",
"enableProposedApi": true,
"license": "MIT",
"aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
2016-05-23 19:38:31 +02:00
"engines": {
2018-02-08 00:00:09 +01:00
"vscode": "^1.20.0"
2016-05-23 19:38:31 +02:00
},
"main": "./out/extension",
"categories": [
"Programming Languages"
2016-05-23 19:38:31 +02:00
],
"activationEvents": [
2016-12-09 14:32:22 +01:00
"onLanguage:markdown",
"onCommand:markdown.preview.toggleLock",
"onCommand:markdown.preview.refresh",
"onCommand:markdown.showPreview",
"onCommand:markdown.showPreviewToSide",
"onCommand:markdown.showLockedPreviewToSide",
"onCommand:markdown.showSource",
"onCommand:markdown.showPreviewSecuritySelector",
"onWebviewPanel:markdown.preview"
2016-05-23 19:38:31 +02:00
],
"contributes": {
"commands": [
{
"command": "markdown.showPreview",
2018-02-10 00:09:36 +01:00
"title": "%markdown.preview.title%",
"category": "Markdown",
2016-06-16 16:42:53 +02:00
"icon": {
2019-06-20 20:53:01 +02:00
"light": "./media/preview-light.svg",
"dark": "./media/preview-dark.svg"
}
},
{
"command": "markdown.showPreviewToSide",
2018-02-10 00:09:36 +01:00
"title": "%markdown.previewSide.title%",
"category": "Markdown",
"icon": {
2019-06-20 20:53:01 +02:00
"light": "./media/preview-right-light.svg",
"dark": "./media/preview-right-dark.svg"
}
2016-06-16 16:42:53 +02:00
},
{
"command": "markdown.showLockedPreviewToSide",
"title": "%markdown.showLockedPreviewToSide.title%",
"category": "Markdown",
"icon": {
2019-06-20 20:53:01 +02:00
"light": "./media/preview-right-light.svg",
"dark": "./media/preview-right-dark.svg"
}
},
2016-06-16 16:42:53 +02:00
{
"command": "markdown.showSource",
2018-02-10 00:09:36 +01:00
"title": "%markdown.showSource.title%",
"category": "Markdown",
2016-06-16 16:42:53 +02:00
"icon": {
2019-06-20 20:53:01 +02:00
"light": "./media/view-source-light.svg",
"dark": "./media/view-source-dark.svg"
}
},
{
"command": "markdown.showPreviewSecuritySelector",
"title": "%markdown.showPreviewSecuritySelector.title%",
"category": "Markdown"
},
{
"command": "markdown.preview.refresh",
"title": "%markdown.preview.refresh.title%",
"category": "Markdown"
},
{
"command": "markdown.preview.toggleLock",
"title": "%markdown.preview.toggleLock.title%",
"category": "Markdown"
2016-05-23 19:38:31 +02:00
}
],
"menus": {
"editor/title": [
{
"command": "markdown.showPreviewToSide",
"when": "editorLangId == markdown",
"alt": "markdown.showPreview",
"group": "navigation"
},
{
"command": "markdown.showSource",
"when": "markdownPreviewFocus",
"group": "navigation"
},
{
"command": "markdown.preview.refresh",
"when": "markdownPreviewFocus",
"group": "1_markdown"
},
{
"command": "markdown.preview.toggleLock",
"when": "markdownPreviewFocus",
"group": "1_markdown"
},
{
"command": "markdown.showPreviewSecuritySelector",
"when": "markdownPreviewFocus",
"group": "1_markdown"
}
2016-06-23 16:27:49 +02:00
],
"explorer/context": [
{
"command": "markdown.showPreview",
"when": "resourceLangId == markdown",
2017-12-27 17:50:31 +01:00
"group": "navigation"
}
],
"editor/title/context": [
{
"command": "markdown.showPreview",
"when": "resourceLangId == markdown",
"group": "navigation"
}
],
"commandPalette": [
{
"command": "markdown.showPreview",
"when": "editorLangId == markdown",
"group": "navigation"
},
{
"command": "markdown.showPreviewToSide",
"when": "editorLangId == markdown",
"group": "navigation"
},
{
"command": "markdown.showLockedPreviewToSide",
"when": "editorLangId == markdown",
"group": "navigation"
},
{
"command": "markdown.showSource",
"when": "markdownPreviewFocus",
"group": "navigation"
},
{
"command": "markdown.showPreviewSecuritySelector",
"when": "editorLangId == markdown"
},
{
"command": "markdown.showPreviewSecuritySelector",
"when": "markdownPreviewFocus"
},
{
"command": "markdown.preview.toggleLock",
"when": "markdownPreviewFocus"
},
{
"command": "markdown.preview.refresh",
"when": "editorLangId == markdown"
},
{
"command": "markdown.preview.refresh",
"when": "markdownPreviewFocus"
2016-06-23 16:27:49 +02:00
}
]
},
2016-05-23 19:38:31 +02:00
"keybindings": [
{
"command": "markdown.showPreview",
2016-05-23 19:38:31 +02:00
"key": "shift+ctrl+v",
"mac": "shift+cmd+v",
"when": "editorLangId == markdown"
2016-05-23 19:38:31 +02:00
},
{
"command": "markdown.showPreviewToSide",
2016-05-23 19:38:31 +02:00
"key": "ctrl+k v",
"mac": "cmd+k v",
"when": "editorLangId == markdown"
2016-05-23 19:38:31 +02:00
}
],
"configuration": {
"type": "object",
"title": "Markdown",
"order": 20,
"properties": {
"markdown.styles": {
"type": "array",
"default": [],
2017-10-28 00:01:33 +02:00
"description": "%markdown.styles.dec%",
"scope": "resource"
},
"markdown.preview.breaks": {
"type": "boolean",
"default": false,
2017-10-28 00:01:33 +02:00
"description": "%markdown.preview.breaks.desc%",
"scope": "resource"
},
"markdown.preview.linkify": {
"type": "boolean",
"default": true,
2017-10-28 00:01:33 +02:00
"description": "%markdown.preview.linkify%",
"scope": "resource"
},
"markdown.preview.fontFamily": {
"type": "string",
"default": "-apple-system, BlinkMacSystemFont, 'Segoe WPC', 'Segoe UI', 'Ubuntu', 'Droid Sans', sans-serif",
2017-10-28 00:01:33 +02:00
"description": "%markdown.preview.fontFamily.desc%",
"scope": "resource"
},
"markdown.preview.fontSize": {
"type": "number",
"default": 14,
2017-10-28 00:01:33 +02:00
"description": "%markdown.preview.fontSize.desc%",
"scope": "resource"
},
"markdown.preview.lineHeight": {
"type": "number",
"default": 1.6,
2017-10-28 00:01:33 +02:00
"description": "%markdown.preview.lineHeight.desc%",
"scope": "resource"
},
"markdown.preview.scrollPreviewWithEditor": {
"type": "boolean",
"default": true,
"description": "%markdown.preview.scrollPreviewWithEditor.desc%",
2017-10-28 00:01:33 +02:00
"scope": "resource"
},
"markdown.preview.scrollPreviewWithEditorSelection": {
"type": "boolean",
"default": true,
"description": "%markdown.preview.scrollPreviewWithEditorSelection.desc%",
"deprecationMessage": "%markdown.preview.scrollPreviewWithEditorSelection.deprecationMessage%"
},
"markdown.preview.markEditorSelection": {
"type": "boolean",
"default": true,
2017-10-28 00:01:33 +02:00
"description": "%markdown.preview.markEditorSelection.desc%",
"scope": "resource"
},
"markdown.preview.scrollEditorWithPreview": {
"type": "boolean",
"default": true,
2017-10-28 00:01:33 +02:00
"description": "%markdown.preview.scrollEditorWithPreview.desc%",
"scope": "resource"
2017-01-23 23:12:52 +01:00
},
"markdown.preview.doubleClickToSwitchToEditor": {
"type": "boolean",
"default": true,
2017-10-28 00:01:33 +02:00
"description": "%markdown.preview.doubleClickToSwitchToEditor.desc%",
"scope": "resource"
},
"markdown.preview.openMarkdownLinks": {
"type": "string",
"default": "inPreview",
"description": "%configuration.markdown.preview.openMarkdownLinks.description%",
"scope": "resource",
"enum": [
"inPreview",
"inEditor"
],
"enumDescriptions": [
"%configuration.markdown.preview.openMarkdownLinks.inPreview%",
"%configuration.markdown.preview.openMarkdownLinks.inEditor%"
]
},
"markdown.trace": {
"type": "string",
"enum": [
"off",
"verbose"
],
"default": "off",
2017-10-28 00:01:33 +02:00
"description": "%markdown.trace.desc%",
"scope": "window"
}
}
},
"configurationDefaults": {
"[markdown]": {
"editor.wordWrap": "on",
"editor.quickSuggestions": false
}
},
"jsonValidation": [
{
"fileMatch": "package.json",
"url": "./schemas/package.schema.json"
}
],
"markdown.previewStyles": [
"./media/markdown.css",
"./media/highlight.css"
],
"markdown.previewScripts": [
"./media/index.js"
]
2016-05-23 19:38:31 +02:00
},
2016-06-13 17:00:17 +02:00
"scripts": {
2018-03-20 12:09:56 +01:00
"compile": "gulp compile-extension:markdown-language-features && npm run build-preview",
"watch": "npm run build-preview && gulp watch-extension:markdown-language-features",
"vscode:prepublish": "npm run build-ext && npm run build-preview",
2018-03-20 12:09:56 +01:00
"build-ext": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-extension:markdown-language-features ./tsconfig.json",
"build-preview": "webpack --mode development"
2016-05-21 09:39:12 +02:00
},
2016-05-23 19:38:31 +02:00
"dependencies": {
2019-06-04 03:00:30 +02:00
"highlight.js": "9.15.8",
2018-12-19 20:48:54 +01:00
"markdown-it": "^8.4.2",
"markdown-it-front-matter": "^0.1.2",
2019-01-11 02:43:25 +01:00
"vscode-extension-telemetry": "0.1.1",
2018-09-06 15:10:02 +02:00
"vscode-nls": "^4.0.0"
},
"devDependencies": {
2018-12-19 20:48:54 +01:00
"@types/highlight.js": "9.12.3",
2018-03-05 20:34:14 +01:00
"@types/lodash.throttle": "^4.1.3",
"@types/markdown-it": "0.0.2",
2019-06-05 10:20:01 +02:00
"@types/node": "^10.14.8",
2018-03-05 20:34:14 +01:00
"lodash.throttle": "^4.1.1",
2018-06-12 17:24:23 +02:00
"mocha-junit-reporter": "^1.17.0",
"mocha-multi-reporters": "^1.1.7",
"ts-loader": "^4.0.1",
2019-02-07 09:53:52 +01:00
"typescript": "^3.3.1",
"vscode": "^1.1.10",
"webpack": "^4.1.0",
"webpack-cli": "^2.0.10"
2016-05-23 19:38:31 +02:00
}
}