vscode/extensions/npm/package.json

345 lines
8.5 KiB
JSON
Raw Normal View History

{
"name": "npm",
"publisher": "vscode",
2018-02-21 12:16:36 +00:00
"displayName": "%displayName%",
"description": "%description%",
2018-02-27 10:49:59 +00:00
"version": "1.0.1",
"license": "MIT",
"engines": {
"vscode": "0.10.x"
},
2018-02-21 12:16:36 +00:00
"icon": "images/npm_icon.png",
"categories": [
"Other"
],
"scripts": {
"compile": "gulp compile-extension:npm",
"watch": "gulp watch-extension:npm"
},
"dependencies": {
"find-up": "^4.1.0",
"find-yarn-workspace-root": "^2.0.0",
2020-02-21 14:03:28 +00:00
"jsonc-parser": "^2.2.1",
"minimatch": "^3.0.4",
2022-01-07 13:32:20 +00:00
"request-light": "^0.5.7",
"vscode-nls": "^5.1.0",
2021-04-13 17:34:43 +00:00
"which": "^2.0.2",
"which-pm": "^2.0.0"
},
"devDependencies": {
"@types/minimatch": "^3.0.3",
"@types/node": "16.x",
2021-04-13 17:34:43 +00:00
"@types/which": "^2.0.0"
},
2020-11-30 14:02:51 +00:00
"resolutions": {
"which-pm/load-yaml-file/**/argparse": "1.0.9"
},
2020-06-17 09:39:14 +00:00
"main": "./out/npmMain",
2020-06-25 21:21:56 +00:00
"browser": "./dist/browser/npmBrowserMain",
"activationEvents": [
"onTaskType:npm",
2019-10-28 16:16:35 +00:00
"onCommand:npm.runScriptFromFolder",
2018-03-27 20:28:29 +00:00
"onLanguage:json",
"workspaceContains:package.json",
"onView:npm"
],
"capabilities": {
"virtualWorkspaces": false,
"untrustedWorkspaces": {
"supported": "limited",
"description": "%workspaceTrust%"
}
},
"contributes": {
"languages": [
{
"id": "ignore",
"extensions": [
".npmignore"
]
},
{
"id": "properties",
"extensions": [
".npmrc"
]
}
],
2018-03-27 20:28:29 +00:00
"views": {
"explorer": [
{
"id": "npm",
2018-03-31 21:06:43 +00:00
"name": "%view.name%",
"when": "npm:showScriptExplorer",
"icon": "$(json)",
"visibility": "hidden",
"contextualTitle": "%view.name%"
2018-03-27 20:28:29 +00:00
}
]
},
"commands": [
{
"command": "npm.runScript",
2018-05-04 12:52:30 +00:00
"title": "%command.run%",
"icon": "$(run)"
2018-03-30 14:51:05 +00:00
},
{
"command": "npm.debugScript",
"title": "%command.debug%",
"icon": "$(debug)"
2018-03-27 20:28:29 +00:00
},
{
"command": "npm.openScript",
2018-03-31 21:06:43 +00:00
"title": "%command.openScript%"
2018-03-27 20:28:29 +00:00
},
{
"command": "npm.runInstall",
"title": "%command.runInstall%"
},
2018-03-27 20:28:29 +00:00
{
"command": "npm.refresh",
2018-03-31 21:06:43 +00:00
"title": "%command.refresh%",
"icon": "$(refresh)"
},
{
"command": "npm.runSelectedScript",
"title": "%command.runSelectedScript%"
},
{
"command": "npm.runScriptFromFolder",
"title": "%command.runScriptFromFolder%"
},
{
"command": "npm.packageManager",
"title": "%command.packageManager%"
2018-03-27 20:28:29 +00:00
}
],
"menus": {
"commandPalette": [
{
"command": "npm.refresh",
"when": "false"
},
{
"command": "npm.runScript",
"when": "false"
},
{
"command": "npm.debugScript",
"when": "false"
},
{
"command": "npm.openScript",
"when": "false"
},
{
"command": "npm.runInstall",
"when": "false"
},
{
"command": "npm.runSelectedScript",
"when": "false"
},
{
"command": "npm.runScriptFromFolder",
"when": "false"
},
{
"command": "npm.packageManager",
"when": "false"
}
],
"editor/context": [
{
"command": "npm.runSelectedScript",
2020-06-29 19:53:37 +00:00
"when": "resourceFilename == 'package.json' && resourceScheme == file",
"group": "navigation@+1"
}
],
2018-03-27 20:28:29 +00:00
"view/title": [
{
"command": "npm.refresh",
"when": "view == npm",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "npm.openScript",
"when": "view == npm && viewItem == packageJSON",
"group": "navigation@1"
2018-03-30 14:51:05 +00:00
},
{
"command": "npm.runInstall",
"when": "view == npm && viewItem == packageJSON",
"group": "navigation@2"
},
{
2018-04-17 16:18:02 +00:00
"command": "npm.openScript",
2018-03-30 14:51:05 +00:00
"when": "view == npm && viewItem == script",
2018-03-30 15:32:18 +00:00
"group": "navigation@1"
2018-03-30 14:51:05 +00:00
},
{
2018-04-17 16:18:02 +00:00
"command": "npm.runScript",
2018-03-30 14:51:05 +00:00
"when": "view == npm && viewItem == script",
2018-03-30 15:32:18 +00:00
"group": "navigation@2"
},
2018-05-04 12:52:30 +00:00
{
"command": "npm.runScript",
"when": "view == npm && viewItem == script",
"group": "inline"
2018-05-04 12:52:30 +00:00
},
{
"command": "npm.debugScript",
"when": "view == npm && viewItem == script",
"group": "inline"
},
{
2018-04-17 16:18:02 +00:00
"command": "npm.debugScript",
2018-03-30 15:32:18 +00:00
"when": "view == npm && viewItem == script",
"group": "navigation@3"
2018-03-27 20:28:29 +00:00
}
],
"explorer/context": [
2020-06-17 09:39:14 +00:00
{
2020-06-29 19:53:37 +00:00
"when": "config.npm.enableRunFromFolder && explorerViewletVisible && explorerResourceIsFolder && resourceScheme == file",
"command": "npm.runScriptFromFolder",
2020-06-17 09:39:14 +00:00
"group": "2_workspace"
}
]
2018-03-27 20:28:29 +00:00
},
"configuration": {
"id": "npm",
"type": "object",
"title": "Npm",
"properties": {
"npm.autoDetect": {
"type": "string",
"enum": [
"off",
"on"
],
"default": "on",
2017-09-20 15:56:13 +00:00
"scope": "resource",
"description": "%config.npm.autoDetect%"
2017-07-13 14:39:26 +00:00
},
"npm.runSilent": {
"type": "boolean",
2017-09-20 15:56:13 +00:00
"default": false,
"scope": "resource",
"markdownDescription": "%config.npm.runSilent%"
},
"npm.packageManager": {
"scope": "resource",
"type": "string",
"enum": [
"auto",
"npm",
"yarn",
"pnpm"
],
"enumDescriptions": [
"%config.npm.packageManager.auto%",
"%config.npm.packageManager.npm%",
"%config.npm.packageManager.yarn%",
"%config.npm.packageManager.pnpm%"
],
"default": "auto",
2017-11-02 23:44:46 +00:00
"description": "%config.npm.packageManager%"
},
"npm.exclude": {
"type": [
"string",
"array"
],
"items": {
"type": "string"
},
"description": "%config.npm.exclude%",
"scope": "resource"
},
"npm.enableScriptExplorer": {
"type": "boolean",
"default": false,
"scope": "resource",
2020-08-14 09:33:26 +00:00
"deprecationMessage": "The NPM Script Explorer is now available in 'Views' menu in the Explorer in all folders.",
"description": "%config.npm.enableScriptExplorer%"
},
"npm.enableRunFromFolder": {
"type": "boolean",
"default": false,
"scope": "resource",
"description": "%config.npm.enableRunFromFolder%"
},
"npm.scriptExplorerAction": {
"type": "string",
"enum": [
"open",
"run"
],
"markdownDescription": "%config.npm.scriptExplorerAction%",
"scope": "window",
"default": "open"
},
"npm.scriptExplorerExclude": {
"type": "array",
"items": {
"type": "string"
},
"markdownDescription": "%config.npm.scriptExplorerExclude%",
"scope": "resource",
"default": []
},
"npm.fetchOnlinePackageInfo": {
"type": "boolean",
"description": "%config.npm.fetchOnlinePackageInfo%",
"default": true,
"scope": "window",
"tags": [
"usesOnlineServices"
]
},
"npm.scriptHover": {
"type": "boolean",
"description": "%config.npm.scriptHover%",
"default": true,
"scope": "window"
}
}
2017-06-22 15:03:52 +00:00
},
"jsonValidation": [
{
"fileMatch": "package.json",
"url": "https://json.schemastore.org/package"
},
{
"fileMatch": "bower.json",
"url": "https://json.schemastore.org/bower"
}
],
2017-06-27 19:38:56 +00:00
"taskDefinitions": [
2017-06-22 15:03:52 +00:00
{
"type": "npm",
"required": [
"script"
],
2017-06-22 15:03:52 +00:00
"properties": {
"script": {
"type": "string",
2018-02-28 11:27:35 +00:00
"description": "%taskdef.script%"
2017-06-22 15:03:52 +00:00
},
2017-07-19 16:38:26 +00:00
"path": {
2017-06-22 15:03:52 +00:00
"type": "string",
2018-02-28 11:27:35 +00:00
"description": "%taskdef.path%"
2017-06-22 15:03:52 +00:00
}
},
"when": "shellExecutionSupported"
2017-06-22 15:03:52 +00:00
}
]
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
}
}