-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
70 lines (70 loc) · 2.96 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
{
"name": "@unit-mesh/treesitter-artifacts",
"author": "Unit Mesh authors",
"type": "module",
"exports": {
".": {
"import": "./main/treesitter.js",
"require": "./main/treesitter.js"
},
"./wasm/*": "./wasm/*"
},
"main": "./main/treesitter.js",
"version": "1.6.3",
"repository": {
"type": "git",
"url": "https://github.com/unit-mesh/treesitter-artifacts"
},
"engines": {
"node": ">=18.0.0"
},
"description": "prebuild treesitter wasm binaries for everyone",
"keywords": [
"treesitter",
"wasm"
],
"license": "MIT",
"scripts": {
"gen-wasm": "tree-sitter --version && run-p __gen-* && run-s __mv-wasm",
"__gen-c": "tree-sitter build-wasm node_modules/tree-sitter-c/",
"__gen-cpp": "tree-sitter build-wasm node_modules/tree-sitter-cpp/",
"__gen-c-sharp": "tree-sitter build-wasm node_modules/tree-sitter-c-sharp/",
"__gen-go": "tree-sitter build-wasm node_modules/tree-sitter-go/",
"__gen-java": "tree-sitter build-wasm node_modules/tree-sitter-java/",
"__gen-javascript": "tree-sitter build-wasm node_modules/tree-sitter-javascript/",
"__gen-kotlin": "tree-sitter build-wasm node_modules/tree-sitter-kotlin/",
"__gen-lua": "tree-sitter build-wasm node_modules/tree-sitter-lua/",
"__gen-python": "tree-sitter build-wasm node_modules/tree-sitter-python/",
"__gen-rust": "tree-sitter build-wasm node_modules/tree-sitter-rust/",
"__gen-swift": "tree-sitter build-wasm node_modules/tree-sitter-swift/",
"__gen-typescript": "tree-sitter build-wasm node_modules/tree-sitter-typescript/typescript/",
"__gen-typescript-jsx": "tree-sitter build-wasm node_modules/tree-sitter-typescript/tsx/",
"__gen-zig": "tree-sitter build-wasm node_modules/tree-sitter-zig/",
"__gen-toml": "tree-sitter build-wasm node_modules/tree-sitter-toml/",
"__gen-markdown": "tree-sitter build-wasm node_modules/@tree-sitter-grammars/tree-sitter-markdown/tree-sitter-markdown",
"__mv-wasm": "rm -rf ./wasm && mkdir wasm && mv *.wasm wasm/",
"download_treesitter": "node index.js",
"build": "run-p gen-wasm download_treesitter"
},
"devDependencies": {
"@types/node": "^18.16.0",
"node-fetch": "^3.3.1",
"npm-run-all": "^4.1.5",
"tree-sitter-cli": "0.21.0",
"tree-sitter-c": "0.20.6",
"tree-sitter-c-sharp": "0.20.0",
"tree-sitter-cpp": "git://github.com/tree-sitter/tree-sitter-cpp#v0.20.5",
"tree-sitter-go": "git://github.com/tree-sitter/tree-sitter-go#05900fa",
"tree-sitter-java": "0.21.0",
"tree-sitter-javascript": "0.20.1",
"tree-sitter-kotlin": "^0.2.11",
"tree-sitter-lua": "^2.1.3",
"tree-sitter-python": "^0.20.2",
"tree-sitter-rust": "^0.20.4",
"tree-sitter-swift": "^0.3.6",
"tree-sitter-typescript": "git://github.com/tree-sitter/tree-sitter-typescript#v0.20.4",
"tree-sitter-zig": "git://github.com/GrayJack/tree-sitter-zig#8e970cb",
"tree-sitter-toml": "0.5.1",
"@tree-sitter-grammars/tree-sitter-markdown": "0.2.3"
}
}