forked from chipsalliance/tree-sitter-firrtl
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
90 lines (90 loc) · 1.98 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
81
82
83
84
85
86
87
88
89
90
{
"name": "tree-sitter-firrtl",
"version": "0.8.0",
"description": "FIRRTL grammar for tree-sitter",
"main": "bindings/node",
"keywords": [
"parser",
"lexer",
"firrtl"
],
"author": "Aliaksei Chapyzhenka <[email protected]>",
"contributors": [
"Amaan Qureshi <[email protected]>",
"Andrew Young <[email protected]>"
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/chipsalliance/tree-sitter-firrtl/issues"
},
"homepage": "https://github.com/chipsalliance/tree-sitter-firrtl#readme",
"dependencies": {
"nan": "^2.14.2"
},
"devDependencies": {
"@drom/eslint-config": "^0.10.0",
"eslint": "^8.35.0",
"tree-sitter-cli": "^0.20.7",
"web-tree-sitter": "^0.20.7"
},
"repository": "https://github.com/chipsalliance/tree-sitter-firrtl",
"scripts": {
"build": "tree-sitter generate && node-gyp build",
"gen": "tree-sitter generate",
"lint": "eslint grammar.js",
"parse": "tree-sitter parse",
"test": "tree-sitter test && script/parse-examples",
"test-windows": "tree-sitter test"
},
"tree-sitter": [
{
"scope": "source.firrtl",
"injection-regex": "firrtl",
"file-types": [
"fir"
],
"highlights": [
"queries/highlights.scm"
],
"indents": [
"queries/indents.scm"
]
}
],
"eslintConfig": {
"extends": "@drom/eslint-config/eslint4/node8",
"env": {
"commonjs": true,
"es2021": true
},
"overrides": [],
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
"indent": [
"error",
2,
{
"SwitchCase": 1
}
],
"max-len": [
"error",
{
"code": 120,
"ignoreComments": true,
"ignoreUrls": true,
"ignoreStrings": true
}
],
"no-undef": "off",
"no-unused-vars": [
"error",
{
"argsIgnorePattern": "_"
}
]
}
}
}