vscode-texinfo/package.json

230 lines
8.4 KiB
JSON
Raw Normal View History

2020-10-03 18:04:18 +00:00
{
2021-03-22 16:19:48 +00:00
"_copyrightNotice": [
"Copyright (C) 2020,2021 CismonX <admin@cismon.net>",
"Copying and distribution of this file, with or without modification,",
"are permitted in any medium without royalty, provided the copyright notice and this notice are preserved.",
"This file is offered as-is, without any warranty."
],
2020-10-03 18:04:18 +00:00
"name": "texinfo",
"displayName": "Texinfo Language Support",
2021-03-17 12:15:30 +00:00
"description": "Texinfo language support for Visual Studio Code",
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"
},
2021-03-17 12:11:48 +00:00
"license": "GPL-3.0-or-later",
2021-03-28 18:02:09 +00:00
"homepage": "https://sv.gnu.org/p/vscode-texinfo",
2020-10-03 18:04:18 +00:00
"repository": {
"type": "git",
2021-03-28 18:02:09 +00:00
"url": "https://git.sv.gnu.org/cgit/vscode-texinfo.git"
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-28 17:02:06 +00:00
"@types/node": "^14.14.37",
"@types/terser-webpack-plugin": "^5.0.3",
2020-11-13 07:22:08 +00:00
"@types/vscode": "~1.40.0",
2021-03-28 17:02:06 +00:00
"@types/webpack": "^5.0.0",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
2020-10-08 15:14:48 +00:00
"cson": "^7.20.0",
2021-03-28 17:02:06 +00:00
"eslint": "^7.23.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-28 17:02:06 +00:00
"ts-loader": "^8.1.0",
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-28 17:02:06 +00:00
"webpack": "^5.28.0",
"webpack-cli": "^4.6.0"
2020-10-04 18:16:08 +00:00
},
"scripts": {
2020-11-02 07:10:13 +00:00
"vscode:prepublish": "webpack --mode production",
"package": "./scripts/package.sh",
2020-11-02 07:10:13 +00:00
"build": "webpack --mode development",
"prepare": "./scripts/prepare.sh",
2020-10-04 18:16:08 +00:00
"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
}
]
}
}