vscode-texinfo/package.json

222 lines
8.0 KiB
JSON
Raw Normal View History

2020-10-03 18:04:18 +00:00
{
"name": "texinfo",
"displayName": "Texinfo Language Support",
2020-11-15 19:36:54 +00:00
"description": "Provides basic editing experience for Texinfo documents, including syntax highlighting, code completion, HTML preview, etc.",
2020-11-13 07:22:08 +00:00
"publisher": "cismonx",
2021-02-23 10:47:51 +00:00
"version": "0.1.4",
2020-10-03 18:04:18 +00:00
"author": {
"name": "CismonX",
"email": "admin@cismon.net",
"url": "https://cismon.net"
},
"license": "MIT",
"repository": {
"type": "git",
2021-01-23 21:34:06 +00:00
"url": "https://git.cismon.net/CismonX/vscode-texinfo"
2020-10-03 18:04:18 +00:00
},
2020-10-04 20:24:15 +00:00
"icon": "assets/texinfo.png",
2020-10-04 18:16:08 +00:00
"devDependencies": {
2021-03-15 07:44:27 +00:00
"@types/node": "^14.14.34",
2020-11-04 06:42:31 +00:00
"@types/terser-webpack-plugin": "^5.0.2",
2020-11-13 07:22:08 +00:00
"@types/vscode": "~1.40.0",
2021-01-23 20:57:48 +00:00
"@types/webpack": "^4.41.26",
2021-03-11 10:15:16 +00:00
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0",
2020-10-08 15:14:48 +00:00
"cson": "^7.20.0",
2021-03-15 07:44:27 +00:00
"eslint": "^7.22.0",
2020-11-15 19:36:54 +00:00
"json": "^10.0.0",
2020-10-08 15:14:48 +00:00
"language-texinfo": "^1.0.0",
2021-02-23 10:33:28 +00:00
"node-html-parser": "^2.2.1",
2021-03-15 07:44:27 +00:00
"ts-loader": "^8.0.18",
2020-12-31 06:37:05 +00:00
"ts-node": "^9.1.1",
2021-03-11 10:15:16 +00:00
"typescript": "^4.2.3",
2021-03-15 07:44:27 +00:00
"webpack": "^5.25.1",
2021-02-09 08:34:45 +00:00
"webpack-cli": "^4.5.0"
2020-10-04 18:16:08 +00:00
},
"scripts": {
2020-11-02 07:10:13 +00:00
"vscode:prepublish": "webpack --mode production",
"build": "webpack --mode development",
2020-10-04 18:16:08 +00:00
"prepare": "sh ./scripts/prepare.sh",
"lint": "eslint --ext ts --fix src",
2020-11-02 07:10:13 +00:00
"watch": "webpack --mode development --watch"
2020-10-04 18:16:08 +00:00
},
2020-10-10 17:36:05 +00:00
"eslintConfig": {
"root": true,
2020-11-02 21:14:05 +00:00
"ignorePatterns": "out/**",
2020-10-10 17:36:05 +00:00
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
2020-10-13 20:15:27 +00:00
"comma-dangle": [
"warn",
"always-multiline"
],
"max-len": [
"warn",
{
"code": 120
}
],
2020-10-10 17:36:05 +00:00
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/semi": "warn"
}
},
2020-10-03 18:04:18 +00:00
"engines": {
2020-10-10 17:36:05 +00:00
"vscode": "^1.40.0"
2020-10-03 18:04:18 +00:00
},
"categories": [
"Programming Languages",
2020-10-08 15:14:48 +00:00
"Snippets",
"Other"
2020-10-03 18:04:18 +00:00
],
"main": "./out/extension.js",
"activationEvents": [
"onLanguage:texinfo"
],
"contributes": {
"commands": [
{
2020-10-26 17:28:11 +00:00
"command": "texinfo.preview.show",
2020-10-04 18:16:08 +00:00
"title": "Show preview",
2020-10-03 18:04:18 +00:00
"icon": "$(open-preview)"
2020-11-11 12:29:30 +00:00
},
{
"command": "texinfo.preview.goto",
"title": "Goto node in preview"
},
{
"command": "texinfo.indicator.click",
"title": "Refresh indicator status"
2020-10-03 18:04:18 +00:00
}
],
"menus": {
2020-10-04 18:16:08 +00:00
"commandPalette": [
{
2020-10-26 17:28:11 +00:00
"command": "texinfo.preview.show",
2020-10-04 18:16:08 +00:00
"when": "editorLangId == texinfo",
"group": "navigation"
2020-11-11 12:29:30 +00:00
},
{
"command": "texinfo.preview.goto",
"when": "false",
"group": "navigation"
},
{
"command": "texinfo.indicator.click",
"when": "false",
"group": "navigation"
2020-10-04 18:16:08 +00:00
}
],
2020-10-03 18:04:18 +00:00
"editor/title": [
{
2020-10-26 17:28:11 +00:00
"command": "texinfo.preview.show",
2020-10-03 18:04:18 +00:00
"when": "editorLangId == texinfo",
"group": "navigation"
}
]
},
2020-10-04 18:16:08 +00:00
"keybindings": [
{
2021-03-11 10:15:16 +00:00
"command": "texinfo.preview.html.show",
2020-10-04 18:16:08 +00:00
"key": "ctrl+k v",
"mac": "cmd+k v",
"when": "editorLangId == texinfo"
}
],
2020-10-03 18:04:18 +00:00
"configuration": {
"title": "Texinfo",
"properties": {
"texinfo.makeinfo": {
"type": "string",
"default": "makeinfo",
2020-10-17 13:41:03 +00:00
"markdownDescription": "Path to the `makeinfo` (or `texi2any`) command. If not located in `$PATH`, an absolute path should be specified.\n\nThe value should not contain any command-line arguments, just the filename."
2020-10-03 18:04:18 +00:00
},
2020-11-11 12:29:30 +00:00
"texinfo.enableCodeLens": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable code lens on node identifiers which jumps to the corresponding nodes in preview."
},
2020-10-26 19:37:05 +00:00
"texinfo.completion.enableSnippets": {
"type": "boolean",
"default": true,
"markdownDescription": "Show snippets in code completion items.\n\nIf disabled, only commands are shown."
},
"texinfo.completion.hideSnippetCommands": {
"type": "boolean",
"default": true,
"markdownDescription": "When snippet is enabled, hide the snippets' corresponding commands from completion items."
},
2020-10-03 18:04:18 +00:00
"texinfo.preview.noHeaders": {
"type": "boolean",
"default": false,
2020-10-17 13:41:03 +00:00
"markdownDescription": "Suppress node separators in preview.\n\nThis corresponds to the `--no-headers` option of `makeinfo`."
2020-10-03 18:04:18 +00:00
},
"texinfo.preview.maxSize": {
"type": "integer",
"default": "2",
2020-10-17 13:41:03 +00:00
"minimum": 1,
"maximum": 16,
2020-10-03 18:04:18 +00:00
"markdownDescription": "Max allowed size (in MiB) for the preview document."
},
"texinfo.preview.errorLimit": {
"type": "integer",
"default": 100,
2020-10-17 13:41:03 +00:00
"minimum": 0,
2020-10-24 15:50:20 +00:00
"markdownDescription": "Max number of errors before quit when trying to display preview.\n\nThis corresponds to the `--error-limit=NUM` option of `makeinfo`."
2020-10-03 18:04:18 +00:00
},
"texinfo.preview.force": {
"type": "boolean",
"default": false,
2020-10-17 13:41:03 +00:00
"markdownDescription": "Preserve preview even if errors.\n\nThis corresponds to the `--force` option of `makeinfo`."
2020-10-03 18:04:18 +00:00
},
2020-10-17 13:41:03 +00:00
"texinfo.preview.noValidation": {
2020-10-03 18:04:18 +00:00
"type": "boolean",
"default": false,
2020-10-17 13:41:03 +00:00
"markdownDescription": "Supress node cross-reference validation.\n\nThis corresponds to the `--no-validate` option of `makeinfo`."
2020-10-03 18:04:18 +00:00
},
2020-10-17 13:41:03 +00:00
"texinfo.preview.noWarnings": {
2020-10-03 18:04:18 +00:00
"type": "boolean",
"default": false,
2020-10-17 13:41:03 +00:00
"markdownDescription": "Suppress warnings.\n\nThis corresponds to the `--no-warn` option of `makeinfo`."
},
"texinfo.preview.displayImage": {
"type": "boolean",
"default": false,
2020-11-30 03:56:55 +00:00
"markdownDescription": "Display images in in preview.\n\nIf image display is not needed, turn off this option to improve preview performance."
2021-02-22 07:06:05 +00:00
},
"texinfo.preview.customCSS": {
"type": "string",
"default": "",
"markdownDescription": "URI of custom CSS for preview.\n\nA good example is https://www.gnu.org/software/gnulib/manual.css"
2020-10-03 18:04:18 +00:00
}
}
},
"languages": [
{
"id": "texinfo",
"aliases": [
"Texinfo"
],
"extensions": [
".texi",
".texinfo",
".txi"
],
2020-11-02 21:14:05 +00:00
"configuration": "./language-configuration.json"
2020-10-03 18:04:18 +00:00
}
],
"grammars": [
{
"language": "texinfo",
"scopeName": "text.texinfo",
2020-10-15 20:16:13 +00:00
"path": "./out/grammars/texinfo.json"
2020-10-03 18:04:18 +00:00
}
]
}
}