Files
github-local-actions/package.json
Sanjula Ganepola 92bf98995d Add open workflow action
Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>
2024-09-26 20:45:59 -04:00

187 lines
4.8 KiB
JSON

{
"name": "github-local-actions",
"displayName": "GitHub Local Actions",
"description": "Run your GitHub Actions locally!",
"icon": "icon.png",
"author": {
"name": "Sanjula Ganepola",
"url": "https://github.com/sanjulaganepola"
},
"publisher": "SanjulaGanepola",
"license": "Apache-2.0",
"version": "0.0.1",
"repository": {
"url": "https://github.com/SanjulaGanepola/github-local-actions"
},
"homepage": "https://github.com/SanjulaGanepola/github-local-actions/blob/main/README.md",
"bugs": {
"url": "https://github.com/SanjulaGanepola/github-local-actions/issues"
},
"keywords": [
"GitHub Actions"
],
"categories": [
"Other"
],
"engines": {
"vscode": "^1.93.0"
},
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "github-local-actions-container",
"title": "GitHub Local Actions",
"icon": "$(robot)"
}
]
},
"views": {
"github-local-actions-container": [
{
"id": "components",
"name": "Components",
"icon": "$(telescope)"
},
{
"id": "workflows",
"name": "Workflows",
"icon": "$(remote-explorer)"
},
{
"id": "settings",
"name": "Settings",
"icon": "$(server-environment)"
}
]
},
"commands": [
{
"category": "GitHub Local Actions",
"command": "githubLocalActions.refreshComponents",
"title": "Refresh",
"icon": "$(refresh)"
},
{
"category": "GitHub Local Actions",
"command": "githubLocalActions.refreshWorkflows",
"title": "Refresh",
"icon": "$(refresh)"
},
{
"category": "GitHub Local Actions",
"command": "githubLocalActions.openWorkflow",
"title": "Open Workflow",
"icon": "$(go-to-file)"
},
{
"category": "GitHub Local Actions",
"command": "githubLocalActions.refreshSettings",
"title": "Refresh",
"icon": "$(refresh)"
}
],
"menus": {
"commandPalette": [
{
"command": "githubLocalActions.refreshComponents",
"when": "never"
},
{
"command": "githubLocalActions.refreshWorkflows",
"when": "never"
},
{
"command": "githubLocalActions.openWorkflow",
"when": "never"
},
{
"command": "githubLocalActions.refreshSettings",
"when": "never"
}
],
"view/title": [
{
"command": "githubLocalActions.refreshComponents",
"when": "view == components",
"group": "navigation@0"
},
{
"command": "githubLocalActions.refreshWorkflows",
"when": "view == workflows",
"group": "navigation@0"
},
{
"command": "githubLocalActions.refreshSettings",
"when": "view == settings",
"group": "navigation@0"
}
],
"view/item/context": [
{
"command": "githubLocalActions.openWorkflow",
"when": "view == workflows && viewItem =~ /^workflow.*/",
"group": "inline@0"
}
]
},
"colors": [
{
"id": "GitHubLocalActions.enabled",
"description": "Color for a component success state",
"defaults": {
"dark": "#89d185",
"light": "#89d185"
}
},
{
"id": "GitHubLocalActions.warning",
"description": "Color for a component warning state",
"defaults": {
"dark": "#cca700",
"light": "#cca700"
}
},
{
"id": "GitHubLocalActions.disabled",
"description": "Color for a component disabled state",
"defaults": {
"dark": "#f48771",
"light": "#f48771"
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"dependencies": {
"yaml": "^2.5.1"
},
"devDependencies": {
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@types/vscode": "^1.93.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"eslint": "^9.9.1",
"ts-loader": "^9.5.1",
"typescript": "^5.5.4",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4"
}
}