{ "name": "vetur", "displayName": "Vetur", "description": "Vue tooling for VS Code", "author": "Pine Wu ", "icon": "asset/vue.png", "version": "0.34.1", "publisher": "octref", "scripts": { "postinstall": "run-s install:*", "install:server": "cd server && yarn", "install:vti": "cd vti && yarn", "build:grammar": "ts-node --project scripts/tsconfig.json scripts/build_grammar", "compile": "rollup -c rollup.config.js", "watch": "rollup -c rollup.config.js -w", "lint": "tslint -c tslint.json client/**/*.ts server/**/*.ts scripts/**/*.ts", "build:test": "tsc -p test/tsconfig.json", "pretest": "yarn build:test", "test:server": "cd server && yarn test", "test:e2e": "node ./dist-test/test/codeTestRunner.js", "test:grammar": "node ./dist-test/test/codeTestRunner.js grammar", "test:lsp": "node ./dist-test/test/codeTestRunner.js lsp", "test:int": "node ./dist-test/test/codeTestRunner.js interpolation", "test:vue3": "node ./dist-test/test/codeTestRunner.js vue3", "test:componentData": "node ./dist-test/test/codeTestRunner.js componentData", "test:monorepo": "node ./dist-test/test/codeTestRunner.js monorepo", "test": "run-s test:server test:e2e", "docs": "bash ./build/update-docs.sh", "prepare-publish": "./build/release-cleanup.sh", "prepare": "husky install" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.ts": [ "tslint --fix" ], "*.{js,ts,yaml}": [ "prettier --write" ] }, "repository": { "type": "git", "url": "https://github.com/vuejs/vetur.git" }, "keywords": [ "vetur", "Vue", "vue", "vuejs" ], "categories": [ "Programming Languages" ], "engines": { "vscode": "^1.52.0" }, "activationEvents": [ "onLanguage:vue" ], "main": "./dist/vueMain.js", "contributes": { "commands": [ { "command": "vetur.restartVLS", "category": "Vetur", "title": "Restart VLS (Vue Language Server)" }, { "command": "vetur.generateGrammar", "category": "Vetur", "title": "Generate grammar from `vetur.grammar.customBlocks`" }, { "command": "vetur.showCorrespondingVirtualFile", "category": "Vetur", "title": "Show corresponding virtual file and sourcemap" }, { "command": "vetur.openUserScaffoldSnippetFolder", "category": "Vetur", "title": "Open user scaffold snippet folder" }, { "command": "vetur.showOutputChannel", "category": "Vetur", "title": "Show Output Channel" }, { "command": "vetur.showDoctorInfo", "category": "Vetur", "title": "Show Doctor info" } ], "breakpoints": [ { "language": "vue" } ], "languages": [ { "id": "vue", "aliases": [ "Vue", "vue" ], "extensions": [ ".vue" ], "configuration": "./languages/vue-language-configuration.json" }, { "id": "vue-html", "aliases": [ "Vue-html" ], "configuration": "./languages/vue-html-language-configuration.json" }, { "id": "vue-postcss", "aliases": [ "Vue-PostCSS", "Vue-POSTCSS", "vue-postcss" ], "configuration": "./languages/vue-postcss-language-configuration.json" }, { "id": "vue-sugarss", "aliases": [ "Vue-SugarSS", "Vue-SUGARSS", "vue-sugarss" ], "configuration": "./languages/vue-sugarss-language-configuration.json" } ], "grammars": [ { "language": "vue", "scopeName": "source.vue", "path": "./syntaxes/vue-generated.json", "embeddedLanguages": { "text.html.basic": "html", "text.html.vue-html": "vue-html", "text.jade.slm": "slm", "text.pug": "jade", "text.haml": "haml", "text.slim": "slim", "text.html.liquid": "liquid", "source.css": "css", "source.css.scss": "scss", "source.css.less": "less", "source.css.postcss": "vue-postcss", "source.css.sugarss": "vue-sugarss", "source.sass": "sass", "source.stylus": "stylus", "source.js": "javascript", "source.ts": "typescript", "source.coffee": "coffeescript", "text.html.markdown": "md", "source.yaml": "yaml", "source.json": "json", "source.php": "php", "source.graphql": "graphql" } }, { "language": "vue-postcss", "scopeName": "source.css.postcss", "path": "./syntaxes/vue-postcss.json" }, { "language": "vue-sugarss", "scopeName": "source.css.sugarss", "path": "./syntaxes/vue-sugarss.json" }, { "language": "vue-html", "scopeName": "text.html.vue-html", "path": "./syntaxes/vue-html.tmLanguage.json", "embeddedLanguages": { "source.js": "javascript" } }, { "path": "./syntaxes/pug/directives.tmLanguage.json", "scopeName": "vue.pug.directives", "injectTo": [ "source.vue" ] }, { "path": "./syntaxes/pug/interpolations.tmLanguage.json", "scopeName": "vue.pug.interpolations", "injectTo": [ "source.vue" ] }, { "scopeName": "markdown.vue.codeblock", "path": "./syntaxes/markdown-vue.json", "injectTo": [ "text.html.markdown" ], "embeddedLanguages": { "meta.embedded.block.vue": "vue" } } ], "configuration": { "title": "Vetur", "properties": { "vetur.ignoreProjectWarning": { "type": "boolean", "default": false, "description": "Vetur will warn about not setup correctly for the project. You can disable it.", "scope": "application" }, "vetur.useWorkspaceDependencies": { "type": "boolean", "default": false, "description": "Use dependencies from workspace. Currently only for TypeScript.", "scope": "application" }, "vetur.completion.autoImport": { "type": "boolean", "default": true, "description": "Include completion for module export and auto import them" }, "vetur.completion.scaffoldSnippetSources": { "type": "object", "default": { "workspace": "💼", "user": "🗒️", "vetur": "✌" }, "properties": { "workspace": { "type": "string", "default": "💼", "description": "Show Scaffold Snippets from `/.vscode/vetur/snippets`." }, "user": { "type": "string", "default": "🗒️", "description": "Show Scaffold Snippets from `/User/snippets/vetur`." }, "vetur": { "type": "string", "default": "✌", "description": "Show Scaffold Snippets bundled in Vetur." } }, "description": "Where Vetur source Scaffold Snippets from and how to indicate them. Set a source to \"\" to disable it.\n\n- workspace: `/.vscode/vetur/snippets`.\n- user: `/User/snippets/vetur`.\n- vetur: Bundled in Vetur.\n\nThe default is:\n```\n\"vetur.completion.scaffoldSnippetSources\": {\n \"workspace\": \"💼\",\n \"user\": \"🗒️\",\n \"vetur\": \"✌\"\n}\n```\n\nAlternatively, you can do:\n\n```\n\"vetur.completion.scaffoldSnippetSources\": {\n \"workspace\": \"(W)\",\n \"user\": \"(U)\",\n \"vetur\": \"(V)\"\n}\n```\n\nRead more: https://vuejs.github.io/vetur/snippet.html." }, "vetur.completion.tagCasing": { "type": "string", "default": "kebab", "enum": [ "initial", "kebab" ], "enumDescriptions": [ "use the key in `components: {...}` as is for tag completion and do not force any casing", "kebab-case completion for " ], "description": "Casing conversion for tag completion" }, "vetur.grammar.customBlocks": { "type": "object", "default": { "docs": "md", "i18n": "json" }, "description": "Mapping from custom block tag name to language name. Used for generating grammar to support syntax highlighting for custom blocks." }, "vetur.validation.template": { "type": "boolean", "default": true, "description": "Validate vue-html in