加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 3.02 KB
一键复制 编辑 原始数据 按行查看 历史
duxuyang 提交于 2022-02-24 22:42 . fix: 增加 taro小程序目录生成
{
"name": "xxmj-upload",
"displayName": "xxmj-upload",
"description": "小熊美家上传工具,taro、飞冰代码提示",
"version": "0.0.7",
"publisher": "dxy-upload",
"engines": {
"vscode": "^1.46.0"
},
"categories": [
"Other","Snippets"
],
"activationEvents": [
"*"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "xxmj-upload.choosedFile",
"title": "选择图片/文件"
},
{
"command": "xxmj-upload.changeFile",
"title": "imgcook转换"
},
{
"command": "xxmj-upload.createTaroDir",
"title": "创建page文件 taro",
"key": "Ctrl+Shift+M"
}
],
"menus": {
"editor/context": [
{
"when": "editorFocus",
"command": "xxmj-upload.choosedFile",
"group": "navigation"
},
{
"when": "editorFocus",
"command": "xxmj-upload.changeFile",
"group": "navigation"
}
],
"explorer/context": [
{
"command": "xxmj-upload.createTaroDir",
"group": "navigation"
}
]
},
"configuration": [
{
"title": "上传工具配置",
"properties": {
"upload_file.accessKey": {
"type": "string",
"default": "",
"description": "设置七牛上传accessKey"
},
"upload_file.secretKey": {
"type": "string",
"default": "",
"description": "设置七牛上传secretKey"
},
"upload_file.domain": {
"type": "string",
"default": "",
"description": "设置上传后域名"
},
"upload_file.scope": {
"type": "string",
"default": "",
"description": "设置七牛上传上传空间"
},
"upload_file.gzip": {
"type": "boolean",
"default": "true",
"description": "是否启用图片压缩"
}
}
}
],
"snippets": [
{
"language": "typescript",
"path": "./snippets/snippets.code-snippets"
},
{
"language": "javascript",
"path": "./snippets/snippets.code-snippets"
},
{
"language": "typescriptreact",
"path": "./snippets/snippets.code-snippets"
},
{
"language": "javascriptreact",
"path": "./snippets/snippets.code-snippets"
}
]
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.46.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"eslint": "^7.15.0",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"typescript": "^4.1.2",
"vscode-test": "^1.4.1"
},
"dependencies": {
"imagemin": "^7.0.1",
"img-compressor": "0.0.2",
"md5": "^2.3.0",
"qiniu": "^7.3.2",
"tinify": "^1.6.0-beta.2",
"uuid": "^8.3.2"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化