|
| 1 | +{ |
| 2 | + "name": "python", |
| 3 | + "title": "Python", |
| 4 | + "description": "Python code intelligence (using the Python language server)", |
| 5 | + "publisher": "sourcegraph", |
| 6 | + "activationEvents": [ |
| 7 | + "onLanguage:python" |
| 8 | + ], |
| 9 | + "repository": { |
| 10 | + "type": "git", |
| 11 | + "url": "https://github.com/sourcegraph/sourcegraph-python" |
| 12 | + }, |
| 13 | + "contributes": { |
| 14 | + "configuration": { |
| 15 | + "title": "Python settings", |
| 16 | + "properties": { |
| 17 | + "python.languageServer.url": { |
| 18 | + "description": "The URL to the Python language server (which is an instance of https://github.com/sourcegraph/python-language-server).", |
| 19 | + "type": "string", |
| 20 | + "format": "uri", |
| 21 | + "pattern": "^wss?://" |
| 22 | + } |
| 23 | + } |
| 24 | + } |
| 25 | + }, |
| 26 | + "version": "0.0.0-DEVELOPMENT", |
| 27 | + "license": "MIT", |
| 28 | + "main": "dist/sourcegraph-python.js", |
| 29 | + "scripts": { |
| 30 | + "prettier": "prettier '**/*.{js?(on),ts}' --write --list-different", |
| 31 | + "tslint": "tslint -p tsconfig.json './src/**/*.ts'", |
| 32 | + "typecheck": "tsc -p tsconfig.json", |
| 33 | + "build": "parcel build --out-file dist/sourcegraph-python.js src/sourcegraph-python.ts", |
| 34 | + "serve": "parcel serve --no-hmr --out-file sourcegraph-python.js src/sourcegraph-python.ts", |
| 35 | + "watch:typecheck": "tsc -p tsconfig.json -w", |
| 36 | + "watch:build": "tsc -p tsconfig.dist.json -w", |
| 37 | + "sourcegraph:prepublish": "npm run build" |
| 38 | + }, |
| 39 | + "browserslist": [ |
| 40 | + "last 1 Chrome versions", |
| 41 | + "last 1 Firefox versions", |
| 42 | + "last 1 Edge versions", |
| 43 | + "last 1 Safari versions" |
| 44 | + ], |
| 45 | + "devDependencies": { |
| 46 | + "@sourcegraph/tsconfig": "^3.0.0", |
| 47 | + "@sourcegraph/tslint-config": "^12.0.0", |
| 48 | + "parcel-bundler": "^1.10.3", |
| 49 | + "prettier": "^1.14.3", |
| 50 | + "sourcegraph": "^19.4.0", |
| 51 | + "tslint": "^5.11.0", |
| 52 | + "tslint-language-service": "^0.9.9", |
| 53 | + "typescript": "^3.1.3" |
| 54 | + }, |
| 55 | + "dependencies": { |
| 56 | + "@types/ws": "^6.0.1", |
| 57 | + "rxjs": "^6.3.3", |
| 58 | + "vscode-jsonrpc": "^4.0.0", |
| 59 | + "vscode-languageserver-protocol": "^3.13.0", |
| 60 | + "vscode-ws-jsonrpc": "^0.0.3", |
| 61 | + "ws": "^6.1.0" |
| 62 | + } |
| 63 | +} |
0 commit comments