UNPKG

obsidian-plugin-config

Version:

Global CLI injection tool for Obsidian plugins

78 lines (77 loc) 2.17 kB
{ "version": "2.0.0", "tasks": [ { "label": "Lint", "type": "shell", "command": "yarn lint", "group": "test", "presentation": { "reveal": "always", "panel": "shared" }, "problemMatcher": ["$eslint-stylish"] }, { "label": "Lint: Fix", "type": "shell", "command": "yarn lint:fix", "group": "test", "presentation": { "reveal": "always", "panel": "shared" }, "problemMatcher": ["$eslint-stylish"] }, { "label": "Prettier: Check", "type": "shell", "command": "yarn prettier", "group": "test", "presentation": { "reveal": "always", "panel": "shared" }, "problemMatcher": [] }, { "label": "Prettier: Fix", "type": "shell", "command": "yarn prettier:fix", "group": "test", "presentation": { "reveal": "always", "panel": "shared" }, "problemMatcher": [] }, { "label": "Build", "type": "shell", "command": "yarn build", "group": { "kind": "build", "isDefault": true }, "presentation": { "reveal": "always", "panel": "shared" }, "problemMatcher": ["$tsc"] }, { "label": "Obsidian Inject", "type": "shell", "command": "obsidian-inject", "group": "build", "presentation": { "reveal": "always", "panel": "shared" }, "problemMatcher": [] }, { "label": "Check Global CLI Version", "type": "shell", "command": "npm list -g obsidian-plugin-config --depth=0", "group": "build", "presentation": { "reveal": "always", "panel": "shared" }, "problemMatcher": [] }, { "label": "Obsidian Inject (no confirm)", "type": "shell", "command": "obsidian-inject --yes", "group": "build", "presentation": { "reveal": "always", "panel": "shared" }, "problemMatcher": [] }, { "label": "Cleanup: Lint + Prettier + Build", "dependsOrder": "sequence", "dependsOn": ["Lint: Fix", "Prettier: Fix", "Build"], "group": "build", "presentation": { "reveal": "always", "panel": "shared" }, "problemMatcher": [] } ] }