vscode-maven/package.json

562 строки
16 KiB
JSON
Исходник Обычный вид История

2017-11-10 08:30:04 +03:00
{
2017-11-10 12:25:04 +03:00
"name": "vscode-maven",
2018-02-26 09:40:25 +03:00
"displayName": "Maven for Java",
"description": "%description%",
"version": "0.21.2",
2017-11-14 05:25:26 +03:00
"icon": "resources/logo.png",
"publisher": "vscjava",
2018-07-19 10:33:25 +03:00
"preview": true,
"aiKey": "7c4292ac-8ca8-4e02-9f1c-0b73e1eeeca4",
2017-11-10 12:25:04 +03:00
"engines": {
"vscode": "^1.43.0"
2017-11-10 12:25:04 +03:00
},
"categories": [
2018-05-14 04:48:26 +03:00
"Programming Languages",
2017-11-10 12:25:04 +03:00
"Other"
],
"keywords": [
"Maven",
"Java"
],
"license": "MIT",
"homepage": "https://github.com/Microsoft/vscode-maven/",
2017-11-13 14:07:14 +03:00
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-maven.git"
2017-11-13 14:07:14 +03:00
},
2017-11-10 12:25:04 +03:00
"activationEvents": [
"workspaceContains:**/pom.xml",
"onCommand:maven.explorer.refresh",
2017-12-04 10:35:41 +03:00
"onCommand:maven.goal.clean",
"onCommand:maven.goal.validate",
"onCommand:maven.goal.compile",
"onCommand:maven.goal.test",
"onCommand:maven.goal.package",
"onCommand:maven.goal.verify",
"onCommand:maven.goal.install",
"onCommand:maven.goal.site",
"onCommand:maven.goal.deploy",
"onCommand:maven.goal.custom",
"onCommand:maven.goal.execute",
2017-12-04 10:35:41 +03:00
"onCommand:maven.project.effectivePom",
"onCommand:maven.project.openPom",
2017-12-05 05:31:55 +03:00
"onCommand:maven.archetype.generate",
"onCommand:maven.archetype.update",
"onCommand:maven.history",
2018-12-17 10:02:26 +03:00
"onCommand:maven.plugin.execute",
"onCommand:maven.project.addDependency",
"onView:mavenProjects",
"onLanguage:xml"
2017-11-10 12:25:04 +03:00
],
"main": "./dist/extension",
2017-11-10 12:25:04 +03:00
"contributes": {
"javaExtensions": [
"./jdtls.ext/com.microsoft.java.maven.plugin/target/com.microsoft.java.maven.plugin-0.21.2.jar"
],
2017-11-10 12:25:04 +03:00
"commands": [
{
"command": "maven.explorer.refresh",
"title": "%contributes.commands.maven.explorer.refresh%",
"category": "Maven",
"icon": "$(refresh)"
2017-11-13 12:34:15 +03:00
},
2017-11-15 09:59:07 +03:00
{
2017-11-29 06:14:27 +03:00
"command": "maven.goal.clean",
"title": "clean",
"category": "Maven"
2017-11-15 09:59:07 +03:00
},
{
2017-11-29 06:14:27 +03:00
"command": "maven.goal.validate",
"title": "validate",
"category": "Maven"
2017-11-15 09:59:07 +03:00
},
{
2017-11-29 06:14:27 +03:00
"command": "maven.goal.compile",
"title": "compile",
"category": "Maven"
2017-11-15 09:59:07 +03:00
},
{
2017-11-29 06:14:27 +03:00
"command": "maven.goal.test",
"title": "test",
"category": "Maven"
2017-11-15 09:59:07 +03:00
},
{
2017-11-29 06:14:27 +03:00
"command": "maven.goal.package",
"title": "package",
"category": "Maven"
2017-11-15 09:59:07 +03:00
},
{
2017-11-29 06:14:27 +03:00
"command": "maven.goal.verify",
"title": "verify",
"category": "Maven"
2017-11-15 09:59:07 +03:00
},
{
2017-11-29 06:14:27 +03:00
"command": "maven.goal.install",
"title": "install",
"category": "Maven"
2017-11-15 09:59:07 +03:00
},
{
2017-11-29 06:14:27 +03:00
"command": "maven.goal.site",
"title": "site",
"category": "Maven"
2017-11-15 09:59:07 +03:00
},
{
2017-11-29 06:14:27 +03:00
"command": "maven.goal.deploy",
"title": "deploy",
"category": "Maven"
2017-11-15 09:59:07 +03:00
},
2017-11-20 11:52:45 +03:00
{
2017-11-29 06:14:27 +03:00
"command": "maven.goal.custom",
"title": "%contributes.commands.maven.goal.custom%",
"category": "Maven"
2017-11-20 11:52:45 +03:00
},
2017-11-15 09:59:07 +03:00
{
2017-11-29 06:14:27 +03:00
"command": "maven.project.effectivePom",
"title": "%contributes.commands.maven.project.effectivePom%",
"category": "Maven"
2017-11-20 09:44:27 +03:00
},
{
2017-11-29 06:14:27 +03:00
"command": "maven.project.openPom",
"title": "%contributes.commands.maven.project.openPom%",
2019-09-17 11:42:36 +03:00
"category": "Maven",
"icon": "$(go-to-file)"
},
{
2017-11-29 06:14:27 +03:00
"command": "maven.archetype.generate",
"title": "%contributes.commands.maven.archetype.generate%",
"category": "Maven",
"icon": "$(add)"
},
{
"command": "maven.archetype.update",
"title": "%contributes.commands.maven.archetype.update%",
"category": "Maven"
2018-05-14 04:48:26 +03:00
},
{
"command": "maven.history",
"title": "%contributes.commands.maven.history%",
"category": "Maven"
},
{
"command": "maven.goal.execute",
"title": "%contributes.commands.maven.goal.execute%",
2018-05-14 04:48:26 +03:00
"category": "Maven"
},
{
"command": "maven.plugin.execute",
"title": "%contributes.commands.maven.plugin.execute%",
"category": "Maven",
"icon": "$(play)"
},
2019-03-12 10:02:41 +03:00
{
"command": "maven.plugin.debug",
"title": "%contributes.commands.maven.plugin.debug%",
"category": "Maven"
},
{
"command": "maven.view.flat",
"title": "%contributes.commands.maven.view.flat%",
"category": "Maven",
"icon": "$(list-tree)"
},
{
"command": "maven.view.hierarchical",
"title": "%contributes.commands.maven.view.hierarchical%",
"category": "Maven",
"icon": "$(list-flat)"
},
{
"command": "maven.project.addDependency",
"title": "%contributes.commands.maven.project.addDependency%",
"category": "Maven"
},
{
"command": "maven.project.showDependencies",
"title": "%contributes.commands.maven.project.showDependencies%",
"category": "Maven"
},
{
"command": "maven.favorites",
"title": "%contributes.commands.maven.favorites%",
"category": "Maven"
2017-11-10 12:25:04 +03:00
}
2017-11-10 08:30:04 +03:00
],
2017-11-10 12:25:04 +03:00
"views": {
"explorer": [
{
"id": "mavenProjects",
2018-12-17 10:02:26 +03:00
"name": "%contributes.views.explorer.mavenProjects%"
2017-11-10 12:25:04 +03:00
}
]
2017-11-10 08:30:04 +03:00
},
2017-11-10 12:25:04 +03:00
"menus": {
"commandPalette": [
{
"command": "maven.goal.clean",
2018-02-13 07:06:51 +03:00
"when": "never"
},
{
"command": "maven.goal.validate",
2018-02-13 07:06:51 +03:00
"when": "never"
},
{
"command": "maven.goal.compile",
2018-02-13 07:06:51 +03:00
"when": "never"
},
{
"command": "maven.goal.test",
2018-02-13 07:06:51 +03:00
"when": "never"
},
{
"command": "maven.goal.package",
2018-02-13 07:06:51 +03:00
"when": "never"
},
{
"command": "maven.goal.verify",
2018-02-13 07:06:51 +03:00
"when": "never"
},
{
"command": "maven.goal.install",
2018-02-13 07:06:51 +03:00
"when": "never"
},
{
"command": "maven.goal.site",
2018-02-13 07:06:51 +03:00
"when": "never"
},
{
"command": "maven.goal.deploy",
2018-02-13 07:06:51 +03:00
"when": "never"
},
{
"command": "maven.goal.custom",
2018-02-13 07:06:51 +03:00
"when": "never"
},
{
"command": "maven.project.effectivePom",
2018-02-13 07:06:51 +03:00
"when": "never"
},
{
"command": "maven.explorer.refresh",
2018-02-13 07:06:51 +03:00
"when": "never"
},
{
"command": "maven.project.openPom",
2018-02-13 07:06:51 +03:00
"when": "never"
},
{
"command": "maven.plugin.execute",
"when": "never"
2019-03-12 10:02:41 +03:00
},
{
"command": "maven.plugin.debug",
"when": "never"
},
{
"command": "maven.project.showDependencies",
"when": "never"
}
],
"explorer/context": [
{
2017-11-29 06:18:36 +03:00
"command": "maven.archetype.generate",
"group": "maven@3"
},
{
2017-11-29 06:14:27 +03:00
"command": "maven.project.effectivePom",
2017-11-29 06:18:36 +03:00
"when": "resourceFilename == pom.xml",
"group": "maven@1"
}
],
2017-11-10 12:25:04 +03:00
"view/title": [
{
"command": "maven.view.flat",
"when": "view == mavenProjects && config.maven.view != flat",
"group": "navigation@0a"
},
{
"command": "maven.view.hierarchical",
"when": "view == mavenProjects && config.maven.view != hierarchical",
"group": "navigation@0b"
},
{
"command": "maven.archetype.generate",
"when": "view == mavenProjects",
"group": "navigation@1"
},
2017-11-10 12:25:04 +03:00
{
"command": "maven.explorer.refresh",
2017-12-04 12:10:41 +03:00
"when": "view == mavenProjects",
"group": "navigation@2"
2017-11-10 12:25:04 +03:00
}
2017-11-13 12:34:15 +03:00
],
"view/item/context": [
2017-11-15 09:59:07 +03:00
{
"command": "maven.goal.custom",
"when": "view == mavenProjects && viewItem == MavenProject",
"group": "1-lifecycle@5"
},
{
"command": "maven.favorites",
"when": "view == mavenProjects && viewItem == MavenProject",
"group": "1-lifecycle@3"
},
{
"command": "maven.history",
"when": "view == mavenProjects && viewItem == MavenProject",
2017-11-20 09:44:27 +03:00
"group": "1-lifecycle@0"
2017-11-15 09:59:07 +03:00
},
{
"command": "maven.goal.clean",
"when": "view == mavenProjects && viewItem == MavenProject",
"group": "1-lifecycle@10"
2017-11-15 09:59:07 +03:00
},
{
"command": "maven.goal.package",
"when": "view == mavenProjects && viewItem == MavenProject",
"group": "1-lifecycle@20"
2017-11-15 09:59:07 +03:00
},
{
"command": "maven.goal.install",
"when": "view == mavenProjects && viewItem == MavenProject",
"group": "1-lifecycle@30"
2017-11-15 09:59:07 +03:00
},
{
"command": "maven.goal.compile",
"when": "view == mavenProjects && viewItem == MavenProject",
"group": "1-lifecycle@40"
2017-11-15 09:59:07 +03:00
},
{
"command": "maven.goal.validate",
"when": "view == mavenProjects && viewItem == MavenProject",
"group": "1-lifecycle@50"
2017-11-15 09:59:07 +03:00
},
{
"command": "maven.goal.verify",
"when": "view == mavenProjects && viewItem == MavenProject",
"group": "1-lifecycle@60"
2017-11-15 09:59:07 +03:00
},
{
"command": "maven.goal.test",
"when": "view == mavenProjects && viewItem == MavenProject",
"group": "1-lifecycle@70"
2017-11-15 09:59:07 +03:00
},
{
"command": "maven.goal.site",
"when": "view == mavenProjects && viewItem == MavenProject",
"group": "1-lifecycle@80"
2017-11-20 09:44:27 +03:00
},
2017-11-20 11:52:45 +03:00
{
"command": "maven.goal.deploy",
"when": "view == mavenProjects && viewItem == MavenProject",
"group": "1-lifecycle@90"
2017-11-20 11:52:45 +03:00
},
2017-11-15 09:59:07 +03:00
{
2017-11-29 06:14:27 +03:00
"command": "maven.project.effectivePom",
"when": "view == mavenProjects && viewItem == MavenProject",
2017-11-20 09:44:27 +03:00
"group": "0-pom@1"
},
{
"command": "maven.project.showDependencies",
"when": "view == mavenProjects && viewItem == MavenProject",
"group": "0-pom@0"
},
2019-09-17 11:42:36 +03:00
{
"command": "maven.project.openPom",
"when": "view == mavenProjects && viewItem == MavenProject",
"group": "inline"
},
{
"command": "maven.plugin.execute",
"when": "view == mavenProjects && viewItem == PluginGoal",
"group": "inline"
},
{
"command": "maven.plugin.execute",
"when": "view == mavenProjects && viewItem == PluginGoal",
"group": "1@1"
},
2019-03-12 10:02:41 +03:00
{
"command": "maven.plugin.debug",
"when": "view == mavenProjects && viewItem == PluginGoal",
"group": "1@2"
},
{
"command": "maven.explorer.refresh",
"when": "view == mavenProjects && viewItem == MavenPlugin",
"group": "1@1"
},
{
"command": "maven.explorer.refresh",
"when": "view == mavenProjects && viewItem == Menu",
2019-09-17 11:42:36 +03:00
"group": "inline"
2017-11-13 12:34:15 +03:00
}
2017-11-10 12:25:04 +03:00
]
2017-11-10 08:30:04 +03:00
},
2017-11-10 12:25:04 +03:00
"configuration": [
{
2018-02-26 09:40:25 +03:00
"title": "Maven for Java",
2017-11-10 12:25:04 +03:00
"properties": {
2018-07-20 04:46:33 +03:00
"maven.excludedFolders": {
"type": "array",
"default": [
"**/.*",
"**/node_modules",
"**/target",
"**/bin"
],
"description": "%configuration.maven.excludedFolders%",
2017-12-12 05:51:50 +03:00
"scope": "resource"
2017-12-11 12:12:57 +03:00
},
"maven.executable.preferMavenWrapper": {
"type": "boolean",
"default": "true",
"description": "%configuration.maven.executable.preferMavenWrapper%",
"scope": "resource"
},
2017-12-11 12:12:57 +03:00
"maven.executable.path": {
"type": "string",
"default": "",
"description": "%configuration.maven.executable.path%",
"scope": "resource"
},
2018-04-12 09:41:33 +03:00
"maven.executable.options": {
"type": "string",
"default": "",
"description": "%configuration.maven.executable.options%",
"scope": "resource"
},
"maven.terminal.useJavaHome": {
"type": "boolean",
"default": false,
"description": "%configuration.maven.terminal.useJavaHome%",
"scope": "window"
},
"maven.terminal.customEnv": {
"type": "array",
"items": {
"type": "object",
"title": "environment setting",
2019-03-05 10:00:22 +03:00
"required": [
"environmentVariable",
"value"
],
"properties": {
"environmentVariable": {
"type": "string",
2019-03-05 10:00:22 +03:00
"minLength": 1,
"description": "%configuration.maven.terminal.customEnv.environmentVariable%"
},
"value": {
"type": "string",
"description": "%configuration.maven.terminal.customEnv.value%"
}
}
},
"default": [],
"description": "%configuration.maven.terminal.customEnv%",
"scope": "window"
},
2019-03-04 10:42:39 +03:00
"maven.terminal.favorites": {
"type": "array",
"items": {
"type": "object",
"title": "Favorite commands",
2019-03-05 10:00:22 +03:00
"required": [
"alias",
"command"
],
"properties": {
"alias": {
"type": "string",
2019-03-05 10:00:22 +03:00
"minLength": 1,
"description": "%configuration.maven.terminal.favorites.alias%"
},
"command": {
"type": "string",
2019-03-05 10:00:22 +03:00
"minLength": 1,
"description": "%configuration.maven.terminal.favorites.command%"
},
"debug": {
"type": "boolean",
"default": false,
"description": "%configuration.maven.terminal.favorites.debug%"
}
}
},
"default": [],
"description": "%configuration.maven.terminal.favorites%",
"scope": "resource"
},
"maven.view": {
"type": "string",
"enum": [
"flat",
"hierarchical"
],
"default": "flat",
"scope": "window",
"description": "%configuration.maven.view%"
},
"maven.pomfile.globPattern": {
"type": "string",
"default": "**/pom.xml",
2019-05-17 10:03:13 +03:00
"description": "%configuration.maven.pomfile.globPattern%",
"scope": "window"
},
"maven.pomfile.autoUpdateEffectivePOM": {
"type": "boolean",
"default": false,
"description": "%configuration.maven.pomfile.autoUpdateEffectivePOM%",
"scope": "window"
2017-11-10 12:25:04 +03:00
}
}
}
]
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"build-plugin": "gulp build-plugin",
2017-11-10 12:25:04 +03:00
"compile": "tsc -p ./",
"tslint": "tslint -t verbose --project tslint.json",
"watch": "webpack --mode development --watch --info-verbosity verbose",
"test": "npm run compile && node ./out/test/runTest.js",
"webpack": "webpack --mode development"
2017-11-10 12:25:04 +03:00
},
"devDependencies": {
2019-06-21 07:58:19 +03:00
"@types/fs-extra": "^4.0.9",
"@types/glob": "^7.1.1",
"@types/lodash": "^4.14.136",
"@types/md5": "^2.1.33",
"@types/minimatch": "^3.0.3",
"@types/mocha": "^5.2.7",
"@types/node": "^10.14.13",
"@types/vscode": "1.43.0",
"@types/which": "^1.3.1",
2019-06-21 07:58:19 +03:00
"@types/xml2js": "^0.4.4",
"glob": "^7.1.4",
"gulp": "^4.0.2",
"mocha": "^4.1.0",
"ts-loader": "^4.4.2",
"tslint": "^5.18.0",
2017-12-05 10:59:32 +03:00
"tslint-microsoft-contrib": "^5.0.1",
"typescript": "^2.9.2",
"vscode-test": "^1.0.2",
"webpack": "^4.36.1",
"webpack-cli": "^3.3.6"
2017-11-10 12:25:04 +03:00
},
"dependencies": {
"axios": "^0.19.0",
2019-06-21 07:58:19 +03:00
"fast-glob": "^2.2.7",
2017-12-11 08:52:13 +03:00
"fs-extra": "^4.0.3",
"get-port": "^4.2.0",
"lodash": "^4.17.15",
2017-11-15 09:59:07 +03:00
"md5": "^2.2.1",
"minimatch": "^3.0.4",
2019-04-10 08:27:19 +03:00
"vscode-extension-telemetry-wrapper": "^0.4.0",
"vscode-languageserver-protocol": "^3.14.1",
"which": "^1.3.1",
"xml-zero-lexer": "^2.0.5",
"xml2js": "^0.4.19"
2017-11-10 12:25:04 +03:00
}
2017-12-05 10:59:32 +03:00
}