package.json
{
"name": "edit-with-shell",
"displayName": "Edit with Shell Command",
"description": "Leverage your favourite shell commands to edit text",
"version": "1.3.0",
"publisher": "ryu1kn",
"license": "SEE LICENSE IN LICENSE.txt",
"icon": "images/edit-with-shell.png",
"bugs": {
"url": "https://github.com/ryu1kn/vscode-edit-with-shell/issues"
},
"homepage": "https://github.com/ryu1kn/vscode-edit-with-shell/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/ryu1kn/vscode-edit-with-shell.git"
},
"engines": {
"vscode": "^1.26.0"
},
"categories": [
"Other"
],
"keywords": [
"shell",
"command",
"filter"
],
"activationEvents": [
"onCommand:editWithShell.clearCommandHistory",
"onCommand:editWithShell.runCommand",
"onCommand:editWithShell.runQuickCommand1",
"onCommand:editWithShell.runQuickCommand2",
"onCommand:editWithShell.runQuickCommand3",
"onCommand:editWithShell.runQuickCommand4",
"onCommand:editWithShell.runQuickCommand5"
],
"main": "./out/extension",
"contributes": {
"commands": [
{
"command": "editWithShell.clearCommandHistory",
"title": "Clear command history",
"category": "EditWithShell"
},
{
"command": "editWithShell.runCommand",
"title": "Run command",
"category": "EditWithShell"
},
{
"command": "editWithShell.runQuickCommand1",
"title": "Run quick command 1",
"category": "EditWithShell"
},
{
"command": "editWithShell.runQuickCommand2",
"title": "Run quick command 2",
"category": "EditWithShell"
},
{
"command": "editWithShell.runQuickCommand3",
"title": "Run quick command 3",
"category": "EditWithShell"
},
{
"command": "editWithShell.runQuickCommand4",
"title": "Run quick command 4",
"category": "EditWithShell"
},
{
"command": "editWithShell.runQuickCommand5",
"title": "Run quick command 5",
"category": "EditWithShell"
}
],
"configuration": {
"type": "object",
"title": "Edit with Shell Command configurations",
"properties": {
"editWithShell.currentDirectoryKind": {
"description": "Current directory for shell commands",
"type": "string",
"enum": [
"currentFile",
"workspaceRoot"
],
"default": "currentFile"
},
"editWithShell.quickCommand1": {
"description": "ID of a favorite command triggered by quick command 1",
"type": "string"
},
"editWithShell.quickCommand2": {
"description": "ID of a favorite command triggered by quick command 2",
"type": "string"
},
"editWithShell.quickCommand3": {
"description": "ID of a favorite command triggered by quick command 3",
"type": "string"
},
"editWithShell.quickCommand4": {
"description": "ID of a favorite command triggered by quick command 4",
"type": "string"
},
"editWithShell.quickCommand5": {
"description": "ID of a favorite command triggered by quick command 5",
"type": "string"
},
"editWithShell.favoriteCommands": {
"description": "Commands that can be activated by quick commands",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"command": {
"type": "string"
}
},
"required": [
"id",
"command"
]
},
"default": []
},
"editWithShell.processEntireTextIfNoneSelected": {
"description": "Pipe the entire text to the shell command if no text is selected",
"type": "boolean",
"default": false
},
"editWithShell.shell.linux": {
"description": "The path of the shell that this extension uses on Linux",
"type": "string",
"default": "/bin/sh"
},
"editWithShell.shellArgs.linux": {
"description": "Arguments to the shell to be used on Linux",
"type": "array",
"items": {
"type": "string"
},
"default": [
"-c"
]
},
"editWithShell.shell.osx": {
"description": "The path of the shell that this extension uses on OS X",
"type": "string",
"default": "/bin/sh"
},
"editWithShell.shellArgs.osx": {
"description": "Arguments to the shell to be used on OS X",
"type": "array",
"items": {
"type": "string"
},
"default": [
"-c"
]
},
"editWithShell.shell.windows": {
"description": "The path of the shell that this extension uses on Windows",
"type": "string",
"default": "cmd.exe"
},
"editWithShell.shellArgs.windows": {
"description": "Arguments to the shell to be used on Windows",
"type": "array",
"items": {
"type": "string"
},
"default": [
"/d",
"/s",
"/c"
]
}
}
}
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install",
"coverage": "nyc mocha",
"lint": "tslint -p .",
"test": "mocha",
"test-mode": "mocha --watch",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"prep": "yarn run lint && yarn run compile && yarn test",
"vscode:prepublish": "yarn run compile",
"vscode:postpublish": "./tag-release.sh"
},
"devDependencies": {
"@types/mocha": "^8.0.4",
"@types/node": "^12.14.1",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"testdouble": "^3.13.1",
"ts-node": "^9.0.0",
"tslint": "^6.1.3",
"typescript": "^4.1.2",
"vscode": "^1.1.37"
},
"resolutions": {
"**/minimist": "^1.2.5"
}
}