Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.11 KB
/
Copy pathpackage.json
File metadata and controls
87 lines (87 loc) · 2.11 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
{
"name": "@marko/tree-sitter",
"version": "0.3.1",
"description": "Tree-sitter grammar for the Marko templating language",
"keywords": [
"incremental",
"marko",
"parser",
"tree-sitter"
],
"homepage": "https://github.com/marko-js/tree-sitter",
"repository": {
"type": "git",
"url": "https://github.com/marko-js/tree-sitter.git"
},
"license": "MIT",
"packageManager": "pnpm@11.15.1",
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18"
},
"main": "bindings/node",
"types": "bindings/node",
"files": [
"*.wasm",
"LICENSE",
"binding.gyp",
"bindings/node",
"grammar.js",
"prebuilds/**",
"queries",
"src/**",
"tree-sitter.json"
],
"dependencies": {
"node-addon-api": "^8.9.2",
"node-gyp-build": "^4.8.4"
},
"devDependencies": {
"@changesets/changelog-github": "^0.7.0",
"@changesets/cli": "^2.31.0",
"@types/degit": "^2.8.6",
"@types/mocha": "^10.0.6",
"@types/node": "^22.20.4",
"degit": "^2.8.4",
"htmljs-parser": "^5.18.0",
"mocha": "^12.0.2",
"node-gyp": "^13.0.2",
"prebuildify": "^6.0.1",
"tree-sitter": "^0.25.1",
"tree-sitter-cli": "^0.26.9",
"tsx": "^4.23.15",
"web-tree-sitter": "^0.26.9"
},
"peerDependencies": {
"tree-sitter": "^0.25.0"
},
"peerDependenciesMeta": {
"tree-sitter": {
"optional": true
}
},
"scripts": {
"build": "tree-sitter generate && node-gyp rebuild",
"change": "changeset add",
"generate": "tree-sitter generate",
"install": "node-gyp-build",
"release:publish": "changeset publish",
"release:tag": "changeset tag",
"test": "mocha \"./__tests__/*.test.mts\"",
"prebuild": "prebuildify --napi --strip",
"build:wasm": "tree-sitter build --wasm -o tree-sitter-marko.wasm",
"test:wasm": "tsx tools/check-wasm.mts",
"version": "changeset version && node tools/sync-tree-sitter-version.mjs && pnpm install --lockfile-only"
},
"tree-sitter": [
{
"scope": "source.marko",
"file-types": [
"marko"
],
"injection-regex": "^marko$"
}
]
}