-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
63 lines (63 loc) · 1.54 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
{
"name": "@polychromatist/tree-sitter-luau",
"version": "0.2.2",
"description": "Luau grammar for tree-sitter",
"repository": "github:polychromatist/tree-sitter-luau",
"author": "polychromatist <polychromatist@proton.me>",
"contributors": [],
"license": "MIT",
"main": "bindings/node",
"types": "bindings/node",
"keywords": [
"incremental",
"parsing",
"tree-sitter",
"luau"
],
"files": [
"grammar.js",
"binding.gyp",
"prebuilds/**",
"bindings/node/*",
"queries/*",
"src/**",
"*.wasm"
],
"dependencies": {
"node-addon-api": "^8.0.0",
"node-gyp-build": "^4.8.1"
},
"devDependencies": {
"prebuildify": "^6.0.1",
"tree-sitter-cli": "^0.23.2"
},
"peerDependencies": {
"tree-sitter": "^0.21.1"
},
"peerDependenciesMeta": {
"tree-sitter": {
"optional": true
}
},
"scripts": {
"install": "node-gyp-build",
"prestart": "tree-sitter build --wasm",
"start": "tree-sitter playground",
"test": "node --test bindings/node/*_test.js"
},
"tree-sitter": [
{
"scope": "source.luau",
"file-types": ["luau", "lua"],
"first-line-regex": "--!(?:strict|nonstrict|nocheck|native)$",
"content-regex": "\\<(?:^[@]|^[^\"'][`]|^\\s*local\\s+\\w+\\s*[:])\\>",
"injection-regex": "^luau$",
"external-files": [
"src/luauts_pcg_hash_table.h"
],
"highlights": "helix-queries\\highlights.scm",
"locals": "helix-queries\\locals.scm",
"injections": "helix-queries\\injections.scm"
}
]
}