-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
80 lines (80 loc) · 2.24 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
{
"name": "tree-sitter-eventrule",
"version": "1.7.7",
"description": "Grammar for AWS Event Rules: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns-content-based-filtering.html",
"main": "./bindings/node",
"bin": {
"rule2rego": "./bin/index.js"
},
"files": [
"src",
"bin",
"bindings/node",
"grammar.js",
"queries",
"LICENSE",
"README.md",
"dist"
],
"scripts": {
"prepublishOnly": "npm run build-node && npm run build-wasm && npm run bundle",
"bundle": "webpack --mode=production",
"build": "npm run build-node",
"build-node": "tree-sitter generate && npx node-gyp configure && node-gyp build",
"build-wasm": "tree-sitter generate --no-bindings && tree-sitter build-wasm",
"test-grammar": "tree-sitter generate && tree-sitter test",
"test-compiler": "jest --runInBand --ci",
"test-format": "rome ${npm_rome_cmd:-ci} *.ts *.js test/* bin/*",
"test": "npm run test-format && npm run test-grammar && npm run test-compiler",
"format": "npm_rome_cmd=format npm run test-format -- --write"
},
"repository": {
"type": "git",
"url": "git+https://github.com/3p3r/tree-sitter-eventrule.git"
},
"keywords": [
"aws",
"eventbridge",
"eventrule",
"event",
"parser",
"json"
],
"author": "Sepehr Laal",
"license": "MIT",
"bugs": {
"url": "https://github.com/3p3r/tree-sitter-eventrule/issues"
},
"homepage": "https://github.com/3p3r/tree-sitter-eventrule#readme",
"devDependencies": {
"@open-policy-agent/opa-wasm": "^1.8.0",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.7",
"@types/node": "^20.8.10",
"copy-webpack-plugin": "^11.0.0",
"glob": "^10.3.10",
"jest": "^29.7.0",
"nan": "^2.18.0",
"node-gyp": "^10.0.0",
"rome": "^12.1.3",
"tree-sitter": "0.20.6",
"tree-sitter-cli": "^0.20.8",
"tree-sitter-json": "^0.20.1",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.0",
"tsx": "^3.14.0",
"web-tree-sitter": "^0.20.8",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"tree-sitter": [
{
"scope": "source.eventrule",
"file-types": [
"json",
"eventrule"
],
"first-line-regex": "#!.*\\beventrule$"
}
]
}