1 Star 0 Fork 1

锦阳/vue-helper

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 4.51 KB
一键复制 编辑 原始数据 按行查看 历史
锦阳 提交于 2020-07-28 14:01 +08:00 . fix
{
"name": "wanwu-vue-helper",
"displayName": "wanwu-vue-helper",
"description": "vue帮助工具",
"version": "2.4.9",
"publisher": "jinyang",
"repository": {
"url": "https://gitee.com/binote/vue-helper"
},
"engines": {
"vscode": "^1.35.0"
},
"categories": [
"Snippets",
"Other"
],
"activationEvents": [
"onLanguage:html",
"onLanguage:vue",
"onCommand:vue-helper.functionCompletion",
"onCommand:vue-helper.deleteComplete",
"onCommand:vue-helper.blockSelect",
"onCommand:vue-helper.pxRem",
"onCommand:vue-helper.pxToRem",
"onCommand:vue-helper.remToPx"
],
"main": "./out/src/extension",
"icon": "logo.png",
"contributes": {
"commands": [
{
"command": "vue-helper.pxToRem",
"title": "vue-helper.pxToRem"
},
{
"command": "vue-helper.remToPx",
"title": "vue-helper.remToPx"
},
{
"command": "vue-helper.deleteComplete",
"title": "vue-helper.deleteComplete"
}
],
"keybindings": [
{
"command": "vue-helper.functionCompletion",
"key": "shift+alt+enter",
"when": "editorTextFocus"
},
{
"key": "alt+z",
"command": "vue-helper.pxRem",
"when": "editorTextFocus"
},
{
"key": "alt+x",
"command": "vue-helper.blockSelect",
"when": "editorTextFocus"
}
],
"snippets": [
{
"language": "javascript",
"path": "./snippets/vue.json"
},
{
"language": "vue-html",
"path": "./snippets/vue-html.json"
}
],
"configuration": {
"type": "object",
"title": "Vue Helper",
"properties": {
"vue-helper.alias": {
"type": "object",
"default": {
"@": "."
},
"description": "webpack alias"
},
"vue-helper.rem-px": {
"type": "number",
"default": 16,
"description": "1rem equal px value"
},
"vue-helper.rem-decimal-length": {
"type": "integer",
"default": 4,
"description": "decimal length"
},
"vue-helper.tips": {
"type": "string",
"default": "tips.json"
},
"vue-helper.componentIgnore": {
"type": "array",
"description": "assign which dir ignore search componennt",
"items": {
"type": "string"
}
},
"vue-helper.componentPath": {
"type": "array",
"description": "assign which dir to search component",
"items": {
"type": "string"
}
},
"vue-helper.componentPrefix": {
"type": "object",
"description": "assign prefix to replace in the file path",
"default": {
"alias": "@",
"path": "src"
}
},
"vue-helper.tagNameWay": {
"description": "dictate the rule of vue component name in html section",
"type": "string",
"default": "kebabCase",
"enum": [
"kebabCase",
"camelCase",
"CamelCase"
]
},
"vue-helper.indent-size": {
"type": "number",
"default": 2,
"description": "Indentation size of snippets"
},
"vue-helper.quotes": {
"type": "string",
"default": "double",
"description": "Normal quotes of autocomplete",
"enum": [
"single",
"double"
]
},
"vue-helper.pug-quotes": {
"type": "string",
"default": "single",
"description": "Pug quotes of autocomplete",
"enum": [
"single",
"double"
]
}
}
}
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"compile": "webpack --mode none",
"watch": "webpack --mode none --watch",
"test-compile": "tsc -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^5.2.7",
"@types/node": "^10.12.12",
"ts-loader": "^6.0.1",
"typescript": "^2.6.1",
"vscode": "^1.1.32",
"webpack": "^4.32.1",
"webpack-cli": "^3.3.2"
},
"dependencies": {
"cheerio": "^1.0.0-rc.1",
"glob": "^7.1.3",
"hoek": "^5.0.3",
"lodash": "^4.17.15",
"param-case": "^2.1.1",
"pretty": "^2.0.0",
"shelljs": "^0.8.3"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/binote/vue-helper.git
git@gitee.com:binote/vue-helper.git
binote
vue-helper
vue-helper
master

搜索帮助