forked from github/stack-graphs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 3.63 KB
/
package.json
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
{
"name": "tree-sitter-stack-graphs-typescript",
"description": "Stack graphs based navigation for TypeScript",
"author": "GitHub <opensource+stack-graphs@github.com>",
"contributors": [
"Hendrik van Antwerpen <hendrikvanantwerpen@github.com>"
],
"publisher": "github",
"license": "(MIT OR Apache-2.0)",
"version": "0.1.0",
"repository": {
"type": "git",
"url": "https://github.com/github/stack-graphs"
},
"engines": {
"vscode": "^1.76.0"
},
"main": "./out/extension",
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"configuration": {
"title": "tree-sitter-stack-graphs-typescript",
"properties": {
"tree-sitter-stack-graphs-typescript.database.defaultLocation": {
"markdownDescription": "The default location for the database, if an explicit path is not provided.",
"type": "string",
"default": "workspace",
"enum": [
"workspace",
"user"
],
"enumDescriptions": [
"Use a workspace-local database. Indexing data will not be shared between workspaces.",
"Use the user database, stored in the user's local data directory. Indexing data is shared between workspaces."
],
"scope": "machine-overridable",
"order": 10
},
"tree-sitter-stack-graphs-typescript.database.path": {
"markdownDescription": "The path to the database. Expands ~ to the user's home directory.",
"type": "string",
"default": null,
"scope": "machine-overridable",
"order": 11
},
"tree-sitter-stack-graphs-typescript.index.maxFolderTime": {
"markdownDescription": "Maximum index time per workspace folder in seconds (-1 means no limit).",
"type": "integer",
"minimum": -1,
"default": -1,
"scope": "machine-overridable",
"order": 20
},
"tree-sitter-stack-graphs-typescript.index.maxFileTime": {
"markdownDescription": "Maximum index time per file in seconds (-1 means no limit).",
"type": "integer",
"minimum": -1,
"default": 10,
"scope": "machine-overridable",
"order": 21
},
"tree-sitter-stack-graphs-typescript.query.maxTime": {
"markdownDescription": "Maximum query time per file in milliseconds (-1 means no limit).",
"type": "integer",
"minimum": -1,
"default": 100,
"scope": "machine-overridable",
"order": 30
}
}
}
},
"dependencies": {
"vscode-languageclient": "^8.1.0"
},
"scripts": {
"build-cli": "CARGO_PROFILE_RELEASE_DEBUG=true cargo build --features cli,lsp --release --target-dir target",
"install-cli": "mkdir -p out/bin && cp target/release/tree-sitter-stack-graphs-typescript out/bin",
"build-ext": "tsc -b",
"build": "npm run build-cli && npm run build-ext && npm run install-cli"
},
"devDependencies": {
"@types/node": "^16",
"@types/vscode": "^1.76.0",
"typescript": "^5"
}
}