forked from tree-sitter/tree-sitter-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.69 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
{
"name": "tree-sitter-php",
"version": "0.22.2",
"description": "PHP grammar for tree-sitter",
"main": "bindings/node",
"keywords": [
"parser",
"lexer",
"php"
],
"author": "Josh Vera",
"license": "MIT",
"bugs": {
"url": "https://github.com/tree-sitter/tree-sitter-php/issues"
},
"homepage": "https://github.com/tree-sitter/tree-sitter-php#readme",
"dependencies": {
"nan": "^2.19.0",
"tree-sitter": "^0.20.6"
},
"devDependencies": {
"eslint": ">=8.57.0",
"eslint-config-google": "^0.14.0",
"node-gyp": "^10.0.1",
"shelljs": "^0.8.5",
"tree-sitter-cli": "^0.21.0"
},
"scripts": {
"build": "npm run build-php && npm run build-php_only && node-gyp rebuild",
"build-php": "cd php && tree-sitter generate --no-bindings",
"build-php_only": "cd php_only && tree-sitter generate --no-bindings",
"lint": "eslint common/define-grammar.js",
"test": "npm run test-php && npm run test-php_only && npm run test-load",
"test-examples": "script/parse-examples",
"test-load": "node -e \"console.log(require('./php').name, require('./php_only').name)\"",
"test-php": "cd php && tree-sitter test",
"test-php_only": "cd php_only && tree-sitter test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tree-sitter/tree-sitter-php.git"
},
"tree-sitter": [
{
"scope": "source.php",
"file-types": [
"php"
],
"path": "php",
"highlights": "queries/highlights.scm",
"injections": [
"queries/injections.scm",
"queries/injections-text.scm"
],
"tags": "queries/tags.scm",
"external-files": [
"common/scanner.h"
]
}
]
}