Gitea-VSCode/package.json
Maxence G. de Montauzan f398c17c60 Update packages & vscode engine
Remove (old) tests
Update some methods to new version
2022-08-17 15:27:58 +02:00

130 lines
4.0 KiB
JSON

{
"name": "gitea-vscode",
"displayName": "Gitea-VSCode",
"description": "Gitea Issue Tracker for vs-code",
"publisher": "IJustDev",
"version": "2.0.0",
"engines": {
"vscode": "^1.70.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onView:open-issues",
"onCommand:giteaIssues.initRepo",
"onCommand:giteaIssues.refreshIssues"
],
"main": "./out/extension.js",
"icon": "resources/icon.png",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "issue-explorer",
"title": "Gitea-Issues",
"icon": "media/issue.svg"
}
]
},
"views": {
"issue-explorer": [
{
"id": "open-issues",
"name": "Open Issues"
},
{
"id": "closed-issues",
"name": "Closed Issues"
}
]
},
"commands": [
{
"command": "giteaIssues.openIssue",
"title": "Show"
},
{
"command": "giteaIssues.refreshIssues",
"title": "Refresh",
"icon": {
"dark": "resources/dark/refresh.svg",
"light": "resources/light/refresh.svg"
}
}
],
"menus": {
"view/title": [
{
"command": "giteaIssues.refreshIssues",
"group": "navigation",
"when": "view == open-issues"
}
]
},
"configuration": {
"title": "Gitea",
"properties": {
"gitea.token": {
"scope": "resource",
"type": "string",
"default": "",
"description": "The token for the gitea server."
},
"gitea.instanceURL": {
"scope": "resource",
"type": "string",
"default": "",
"examples": [
"http://example.com:3000",
"https://gitea.com"
],
"description": "The remote gitea instance's url. Append base url to this string eg. http://localhost:8080 or http://localhost/gitea",
"pattern": "^(https|http)://"
},
"gitea.owner": {
"scope": "resource",
"type": "string",
"default": "",
"description": "The username for the repository."
},
"gitea.repo": {
"scope": "resource",
"type": "string",
"default": "",
"description": "The repository name."
},
"gitea.sslVerify": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "true=Stop when cannot verify SSL certificate, false=Continue any way. Like git config 'sslVerify'."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.70.0",
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"eslint": "^8.20.0",
"typescript": "^4.7.4"
},
"dependencies": {
"axios": "^0.27.2"
},
"repository": {
"type": "github",
"url": "https://github.com/IJustdev/Gitea-VSCode.git"
},
"license": "MIT"
}