| 1 | { |
| 2 | "name": "portal-tunnel", |
| 3 | "publisher": "gosuda", |
| 4 | "displayName": "Portal Tunnel", |
| 5 | "description": "Expose local services to the internet via Portal relay tunnels", |
| 6 | "version": "0.0.3", |
| 7 | "engines": { |
| 8 | "vscode": "^1.109.0" |
| 9 | }, |
| 10 | "extensionKind": [ |
| 11 | "workspace" |
| 12 | ], |
| 13 | "categories": [ |
| 14 | "Other" |
| 15 | ], |
| 16 | "main": "./dist/extension.js", |
| 17 | "contributes": { |
| 18 | "commands": [ |
| 19 | { |
| 20 | "command": "portal.startTunnel", |
| 21 | "title": "Start Tunnel", |
| 22 | "category": "Portal" |
| 23 | }, |
| 24 | { |
| 25 | "command": "portal.startTunnelAdvanced", |
| 26 | "title": "Start Tunnel (Advanced)", |
| 27 | "category": "Portal" |
| 28 | }, |
| 29 | { |
| 30 | "command": "portal.stopTunnel", |
| 31 | "title": "Stop Tunnel", |
| 32 | "category": "Portal" |
| 33 | } |
| 34 | ], |
| 35 | "configuration": { |
| 36 | "title": "Portal", |
| 37 | "properties": { |
| 38 | "portal.relayUrls": { |
| 39 | "type": "array", |
| 40 | "items": { "type": "string" }, |
| 41 | "default": [], |
| 42 | "description": "Relay server URLs (https only, e.g. https://my-relay.example.com). Leave empty to use the public registry at https://raw.githubusercontent.com/gosuda/portal-tunnel/main/registry.json." |
| 43 | }, |
| 44 | "portal.defaultHost": { |
| 45 | "type": "string", |
| 46 | "default": "localhost:3000", |
| 47 | "description": "Default local host:port suggested when starting a tunnel." |
| 48 | }, |
| 49 | "portal.defaultName": { |
| 50 | "type": "string", |
| 51 | "default": "", |
| 52 | "description": "Default tunnel service name suggestion. Leave empty to omit --name." |
| 53 | } |
| 54 | } |
| 55 | } |
| 56 | }, |
| 57 | "scripts": { |
| 58 | "vscode:prepublish": "npm run package", |
| 59 | "compile": "npm run check-types && npm run lint && node esbuild.js", |
| 60 | "watch": "npm-run-all -p watch:*", |
| 61 | "watch:esbuild": "node esbuild.js --watch", |
| 62 | "watch:tsc": "tsc --noEmit --watch --project tsconfig.json", |
| 63 | "package": "npm run check-types && npm run lint && node esbuild.js --production", |
| 64 | "compile-tests": "tsc -p . --outDir out", |
| 65 | "watch-tests": "tsc -p . -w --outDir out", |
| 66 | "pretest": "npm run compile-tests && npm run compile && npm run lint", |
| 67 | "check-types": "tsc --noEmit", |
| 68 | "lint": "eslint src", |
| 69 | "test": "vscode-test" |
| 70 | }, |
| 71 | "devDependencies": { |
| 72 | "@types/vscode": "^1.109.0", |
| 73 | "@types/mocha": "^10.0.10", |
| 74 | "@types/node": "22.x", |
| 75 | "typescript-eslint": "^8.54.0", |
| 76 | "eslint": "^9.39.2", |
| 77 | "esbuild": "^0.27.2", |
| 78 | "npm-run-all": "^4.1.5", |
| 79 | "typescript": "^5.9.3", |
| 80 | "@vscode/test-cli": "^0.0.12", |
| 81 | "@vscode/test-electron": "^2.5.2" |
| 82 | } |
| 83 | } |