-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpackage.json
102 lines (102 loc) · 2.19 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
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "vscode-tree-sitter",
"displayName": "Tree Sitter",
"description": "Accurate syntax coloring with tree-sitter",
"icon": "tree-sitter-small.png",
"version": "0.1.2",
"publisher": "georgewfraser",
"repository": {
"type": "git",
"url": "https://github.com/georgewfraser/vscode-tree-sitter"
},
"engines": {
"vscode": "^1.34.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:go",
"onLanguage:typescript",
"onLanguage:cpp",
"onLanguage:rust"
],
"main": "./out/extension.js",
"contributes": {
"grammars": [
{
"language": "go",
"scopeName": "source.go",
"path": "./src/go.tmLanguage.json"
},
{
"language": "typescript",
"scopeName": "source.ts",
"path": "./src/typescript.tmLanguage.json"
},
{
"language": "cpp",
"scopeName": "source.cpp",
"path": "./src/cpp.tmLanguage.json"
},
{
"language": "rust",
"scopeName": "source.rust",
"path": "./src/rust.tmLanguage.json"
}
],
"colors": [
{
"id": "treeSitter.field",
"description": "Color for fields",
"defaults": {
"dark": "#9CDCFE",
"light": "#001080",
"highContrast": "#4EC9B0"
}
},
{
"id": "treeSitter.type",
"description": "Color for types",
"defaults": {
"dark": "#4EC9B0",
"light": "#267f99",
"highContrast": "#4EC9B0"
}
},
{
"id": "treeSitter.function",
"description": "Color for functions",
"defaults": {
"dark": "#DCDCAA",
"light": "#795E26",
"highContrast": "#DCDCAA"
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^8.10.25",
"electron-rebuild": "^1.8.4",
"tslint": "^5.8.0",
"typescript": "^3.1.4",
"vscode": "^1.1.25"
},
"dependencies": {
"tar": ">=4.4.2",
"tree-sitter": "^0.15.1",
"tree-sitter-c": "^0.13.13",
"tree-sitter-cpp": "^0.13.15",
"tree-sitter-go": "^0.13.3",
"tree-sitter-rust": "^0.13.7",
"tree-sitter-typescript": "^0.13.6"
}
}