-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 3 KB
/
Copy pathpackage.json
File metadata and controls
100 lines (100 loc) · 3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "python",
"description": "Python code intelligence (beta)",
"publisher": "sourcegraph",
"activationEvents": [
"onLanguage:python"
],
"repository": {
"type": "git",
"url": "https://github.com/sourcegraph/sourcegraph-python"
},
"categories": [
"Programming languages"
],
"tags": [
"python",
"language-server"
],
"contributes": {
"actions": [
{
"id": "impreciseResults",
"title": "References: Search mode",
"command": "open",
"commandArguments": [
"https://sourcegraph.com/extensions/sourcegraph/python"
],
"actionItem": {
"label": "References: Search mode",
"description": "Results come from text search and heuristics. To use a language server for precise results, click to go to the README and follow the deployment instructions."
}
}
],
"menus": {
"panel/toolbar": [
{
"action": "impreciseResults",
"when": "isImprecise"
}
]
},
"configuration": {
"title": "Python settings",
"properties": {
"python.serverUrl": {
"description": "The URL to the Python language server (which is an instance of https://github.com/sourcegraph/python-language-server).",
"type": "string",
"format": "uri",
"pattern": "^wss?://"
}
}
}
},
"version": "0.0.0-DEVELOPMENT",
"license": "MIT",
"main": "dist/sourcegraph-python.js",
"scripts": {
"prettier": "prettier '**/*.{js?(on),ts}' --write --list-different",
"prettier-check": "npm run prettier -- --write=false",
"tslint": "tslint -p tsconfig.json './src/**/*.ts'",
"typecheck": "tsc -p tsconfig.json",
"build": "parcel build --out-file dist/sourcegraph-python.js src/sourcegraph-python.ts",
"symlink-package": "mkdirp dist && lnfs ./package.json ./dist/package.json",
"serve": "parcel serve --no-hmr --out-file sourcegraph-python.js src/sourcegraph-python.ts",
"watch:typecheck": "tsc -p tsconfig.json -w",
"watch:build": "tsc -p tsconfig.dist.json -w",
"sourcegraph:prepublish": "npm run build"
},
"browserslist": [
"last 1 Chrome versions",
"last 1 Firefox versions",
"last 1 Edge versions",
"last 1 Safari versions"
],
"devDependencies": {
"@sourcegraph/tsconfig": "^3.0.0",
"@sourcegraph/tslint-config": "^12.0.0",
"@types/mkdirp-promise": "^5.0.0",
"lnfs-cli": "^2.1.0",
"mkdirp-promise": "^5.0.1",
"parcel-bundler": "^1.10.3",
"prettier": "^1.14.3",
"sourcegraph": "^19.4.0",
"tslint": "^5.11.0",
"tslint-language-service": "^0.9.9",
"typescript": "^3.1.3"
},
"dependencies": {
"@sourcegraph/basic-code-intel": "6.0.12",
"@types/ws": "^6.0.1",
"concurrently": "^4.1.0",
"path-browserify": "^1.0.0",
"rxjs": "^6.3.3",
"tagged-template-noop": "^2.1.0",
"vscode-jsonrpc": "^4.0.0",
"vscode-languageserver-protocol": "^3.13.0",
"vscode-ws-jsonrpc": "^0.0.3",
"ws": "^6.1.0"
}
}