vscode/extensions/npm/package.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

362 lines
9 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",
2023-09-18 23:30:01 +00:00
"private": true,
"license": "MIT",
"engines": {
"vscode": "0.10.x"
},
2018-02-21 12:16:36 +00:00
"icon": "images/npm_icon.png",
"categories": [
"Other"
],
"enabledApiProposals": [
"terminalQuickFixProvider"
],
"scripts": {
"compile": "npx gulp compile-extension:npm",
"watch": "npx gulp watch-extension:npm"
},
"dependencies": {
"find-up": "^5.0.0",
"find-yarn-workspace-root": "^2.0.0",
"jsonc-parser": "^3.2.0",
"minimatch": "^5.1.6",
"request-light": "^0.7.0",
"which": "^4.0.0",
2023-12-06 17:01:59 +00:00
"which-pm": "^2.1.1",
"vscode-uri": "^3.0.8"
},
"devDependencies": {
"@types/minimatch": "^5.1.2",
"@types/node": "18.x",
"@types/which": "^3.0.0"
2020-11-30 14:02:51 +00:00
},
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",
2018-03-27 20:28:29 +00:00
"onLanguage:json",
"workspaceContains:package.json"
],
"capabilities": {
"virtualWorkspaces": {
"supported": "limited",
"description": "%virtualWorkspaces%"
},
"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",
"bun"
],
"enumDescriptions": [
"%config.npm.packageManager.auto%",
"%config.npm.packageManager.npm%",
"%config.npm.packageManager.yarn%",
"%config.npm.packageManager.pnpm%",
"%config.npm.packageManager.bun%"
],
"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
}
],
"terminalQuickFixes": [
{
"id": "ms-vscode.npm-command",
"commandLineMatcher": "npm",
"commandExitResult": "error",
"outputMatcher": {
"anchor": "bottom",
"length": 8,
"lineMatcher": "Did you mean (?:this|one of these)\\?((?:\\n.+?npm .+ #.+)+)",
"offset": 2
}
}
]
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
}
}