home / packages / non_npm_packages

non_npm_packages: Zokhoi/vscode-ftml, package.json

This data as json

commit contents organization path repository
0a99762d7a3032c9d87b66c80ed516a98993f1c2
{
    "activationEvents": [
        "onLanguage:ftml",
        "onCommand:ftml.preview.open",
        "onCommand:ftml.preview.openToSide",
        "onCommand:ftml.preview.toggleLock",
        "onCommand:ftml.preview.toggleLive",
        "onCommand:ftml.preview.toggleBackend",
        "onCommand:ftml.preview.refresh",
        "onCommand:ftml.remote.wikidot.login",
        "onCommand:ftml.remote.wikidot.switchAccount",
        "onCommand:ftml.remote.wikidot.fetch",
        "onCommand:ftml.remote.wikidot.push"
    ],
    "bugs": {
        "url": "https://github.com/Zokhoi/vscode-ftml/issues"
    },
    "categories": [
        "Programming Languages"
    ],
    "contributes": {
        "commands": [
            {
                "category": "Ftml",
                "command": "ftml.preview.open",
                "title": "%ftml.preview.open%"
            },
            {
                "category": "Ftml",
                "command": "ftml.preview.openToSide",
                "title": "%ftml.preview.openToSide%"
            },
            {
                "category": "Ftml",
                "command": "ftml.preview.toggleLock",
                "title": "%ftml.preview.toggleLock%"
            },
            {
                "category": "Ftml",
                "command": "ftml.preview.toggleLive",
                "title": "%ftml.preview.toggleLive%"
            },
            {
                "category": "Ftml",
                "command": "ftml.preview.toggleBackend",
                "title": "%ftml.preview.toggleBackend%"
            },
            {
                "category": "Ftml",
                "command": "ftml.preview.refresh",
                "title": "%ftml.preview.refresh%"
            },
            {
                "category": "Ftml",
                "command": "ftml.remote.wikidot.login",
                "title": "%ftml.remote.wikidot.login%"
            },
            {
                "category": "Ftml",
                "command": "ftml.remote.wikidot.switchAccount",
                "title": "%ftml.remote.wikidot.switchAccount%"
            },
            {
                "category": "Ftml",
                "command": "ftml.remote.wikidot.fetch",
                "title": "%ftml.remote.wikidot.fetch%"
            },
            {
                "category": "Ftml",
                "command": "ftml.remote.wikidot.push",
                "title": "%ftml.remote.wikidot.push%"
            },
            {
                "category": "Ftml",
                "command": "ftml.diff.merge.selected",
                "enablement": "resourceLangId == ftml && isInDiffEditor",
                "title": "%ftml.diff.merge.selected%"
            },
            {
                "category": "Ftml",
                "command": "ftml.diff.merge.all",
                "enablement": "resourceLangId == ftml && isInDiffEditor",
                "title": "%ftml.diff.merge.all%"
            },
            {
                "category": "Ftml",
                "command": "ftml.diff.save",
                "enablement": "resourceLangId == ftml && isInDiffEditor",
                "title": "%ftml.diff.save%"
            }
        ],
        "configuration": [
            {
                "properties": {
                    "ftml.preview.backend": {
                        "default": "ftml",
                        "description": "%ftml.preview.backend%",
                        "type": "string"
                    },
                    "ftml.preview.live": {
                        "default": true,
                        "description": "%ftml.preview.live%",
                        "type": "boolean"
                    },
                    "ftml.preview.lock": {
                        "default": false,
                        "description": "%ftml.preview.lock%",
                        "type": "boolean"
                    },
                    "ftml.preview.wikidot": {
                        "default": "https://scp-wiki.wikidot.com",
                        "description": "%ftml.preview.wikidot%",
                        "type": "string"
                    },
                    "ftml.remote.sync.accountSelect": {
                        "default": true,
                        "description": "%ftml.remote.sync.accountSelect%",
                        "type": "boolean"
                    }
                },
                "title": "FTML"
            }
        ],
        "grammars": [
            {
                "embeddedLanguages": {
                    "meta.embedded.block.css": "css",
                    "meta.embedded.block.html": "html",
                    "meta.embedded.block.katex": "katex",
                    "meta.embedded.block.yaml": "yaml"
                },
                "language": "ftml",
                "path": "./syntaxes/ftml.tmLanguage.json",
                "scopeName": "text.ftml"
            }
        ],
        "keybindings": [
            {
                "command": "ftml.diff.save",
                "key": "ctrl+s",
                "mac": "cmd+s",
                "when": "resourceLangId == ftml && isInDiffEditor"
            }
        ],
        "languages": [
            {
                "aliases": [
                    "FTML",
                    "ftml",
                    "Wikidot code"
                ],
                "configuration": "./language-configuration.json",
                "extensions": [
                    ".ftml",
                    ".wd",
                    ".wikidot",
                    ".wj",
                    ".wikijump"
                ],
                "icon": {
                    "dark": "assets/ftmlang.64x64.png",
                    "light": "assets/ftmlang.64x64.png"
                },
                "id": "ftml"
            }
        ],
        "menus": {
            "editor/context": [
                {
                    "command": "ftml.preview.open",
                    "group": "4_ftml",
                    "when": "resourceLangId == ftml && !isInDiffEditor"
                },
                {
                    "command": "ftml.preview.openToSide",
                    "group": "4_ftml",
                    "when": "resourceLangId == ftml && !isInDiffEditor"
                },
                {
                    "command": "ftml.remote.wikidot.fetch",
                    "group": "4_ftml",
                    "when": "resourceLangId == ftml && !isInDiffEditor"
                },
                {
                    "command": "ftml.remote.wikidot.push",
                    "group": "4_ftml",
                    "when": "resourceLangId == ftml && !isInDiffEditor"
                },
                {
                    "command": "ftml.diff.merge.selected",
                    "group": "4_ftml",
                    "when": "resourceLangId == ftml && isInDiffEditor && editorReadonly"
                },
                {
                    "command": "ftml.diff.merge.all",
                    "group": "4_ftml",
                    "when": "resourceLangId == ftml && isInDiffEditor && editorReadonly"
                }
            ],
            "editor/title": [
                {
                    "command": "ftml.preview.open",
                    "group": "4_ftml",
                    "when": "resourceLangId == ftml && !isInDiffEditor"
                },
                {
                    "command": "ftml.preview.openToSide",
                    "group": "4_ftml",
                    "when": "resourceLangId == ftml && !isInDiffEditor"
                },
                {
                    "command": "ftml.remote.wikidot.fetch",
                    "group": "4_ftml",
                    "when": "resourceLangId == ftml && !isInDiffEditor"
                },
                {
                    "command": "ftml.remote.wikidot.push",
                    "group": "4_ftml",
                    "when": "resourceLangId == ftml && !isInDiffEditor"
                },
                {
                    "command": "ftml.diff.merge.selected",
                    "group": "4_ftml",
                    "when": "resourceLangId == ftml && isInDiffEditor && editorReadonly"
                },
                {
                    "command": "ftml.diff.merge.all",
                    "group": "4_ftml",
                    "when": "resourceLangId == ftml && isInDiffEditor && editorReadonly"
                },
                {
                    "command": "ftml.preview.toggleLock",
                    "group": "4_ftml",
                    "when": "ftmlPreviewFocus"
                },
                {
                    "command": "ftml.preview.toggleLive",
                    "group": "4_ftml",
                    "when": "ftmlPreviewFocus && ftmlPreviewBackend == ftml"
                },
                {
                    "command": "ftml.preview.toggleBackend",
                    "group": "4_ftml",
                    "when": "ftmlPreviewFocus"
                },
                {
                    "command": "ftml.preview.refresh",
                    "group": "4_ftml",
                    "when": "ftmlPreviewFocus"
                }
            ]
        }
    },
    "dependencies": {
        "@vscode-ftml/ftml-wasm": "^1.18",
        "cheerio": "^1.0.0-rc.10",
        "cross-fetch": "^3.1.5",
        "diff": "^5.0.0",
        "front-matter": "^4.0.2"
    },
    "description": "VSCode extension for support of FTML",
    "devDependencies": {
        "@types/diff": "^5.0.2",
        "@types/js-yaml": "^4.0.5",
        "@types/node": "^17.0.23",
        "@types/vscode": "^1.65.0",
        "@types/vscode-webview": "^1.57.0",
        "esbuild": "^0.14.27",
        "js-yaml": "^4.1.0",
        "toml": "^3.0.0",
        "typescript": "^4.6.2",
        "vite": "^2.8.6",
        "vite-plugin-commonjs-externals": "^0.1.1"
    },
    "displayName": "FTML/Wikidot Workshop",
    "engines": {
        "vscode": "^1.65.0"
    },
    "icon": "assets/vscode-ftml.128x128.png",
    "main": "./dist/extension.js",
    "name": "vscode-ftml",
    "publisher": "zokhoi",
    "repository": {
        "type": "git",
        "url": "https://github.com/Zokhoi/vscode-ftml.git"
    },
    "scripts": {
        "compile": "pnpm run compile:yaml && pnpm run compile:vite",
        "compile:ts": "tsc -p ./",
        "compile:vite": "node ./scripts/build.js",
        "compile:yaml": "pnpx js-yaml ./syntaxes/ftml.tmLanguage.yaml > ./syntaxes/ftml.tmLanguage.json",
        "lint": "eslint . --ext .ts,.tsx",
        "update:syntax-blocks": "node scripts/updateBlocks.js",
        "vscode:prepublish": "pnpm run compile",
        "watch": "tsc -w -p ./"
    },
    "version": "0.1.3"
}
Zokhoi package.json Zokhoi/vscode-ftml
Powered by Datasette · Queries took 0.963ms