-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 2.95 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
91
92
93
94
95
96
97
98
99
100
{
"author": "MaibornWolff GmbH",
"bugs": {
"url": "https://github.com/MaibornWolff/metric-gardener/issues",
"email": ""
},
"repository": {
"type": "git",
"url": "git+https://github.com/MaibornWolff/metric-gardener.git"
},
"name": "metric-gardener",
"version": "1.0.0",
"description": "A tool to calculate metrics for imperative and object-oriented languages",
"files": [
"dist/src/commands",
"dist/src/helper",
"dist/src/parser"
],
"main": "dist/src/app.js",
"bin": {
"metric-gardener": "dist/src/app.js"
},
"engines": {
"node": ">=20"
},
"type": "module",
"scripts": {
"start": "node --no-warnings=ExperimentalWarning dist/src/app.js",
"build": "tsc",
"test": "vitest run",
"xo": "xo",
"xo:fix": "xo --fix",
"prepare": "husky",
"import-grammars": "node dist/src/import-grammars/import-grammar.js",
"generate-output-format-markdown": "npm run build && node dist/docs/output-format/generate-output-format-md.js"
},
"dependencies": {
"ajv": "^8.14.0",
"p-map": "^7.0.1",
"tree-sitter": "0.20.6",
"tree-sitter-bash": "0.20.5",
"tree-sitter-c": "0.20.8",
"tree-sitter-c-sharp": "0.20.0",
"tree-sitter-cpp": "0.20.5",
"tree-sitter-go": "0.20.0",
"tree-sitter-java": "0.20.2",
"tree-sitter-javascript": "0.20.4",
"tree-sitter-json": "0.20.2",
"tree-sitter-kotlin": "0.3.1",
"tree-sitter-php": "0.22.2",
"tree-sitter-python": "0.20.4",
"tree-sitter-ruby": "0.20.1",
"tree-sitter-rust": "0.20.4",
"tree-sitter-typescript": "0.20.5",
"tree-sitter-yaml": "0.5.0",
"yargs": "17.7.2"
},
"devDependencies": {
"@commitlint/config-conventional": "19.1.0",
"@types/node": "18.19.26",
"@types/yargs": "17.0.32",
"@vitest/coverage-v8": "1.4.0",
"commitlint": "19.2.1",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"typescript": "5.3.3",
"vitest": "1.4.0",
"xo": "0.58.0"
},
"xo": {
"prettier": true,
"overrides": [
{
"files": "**.ts",
"rules": {
"@typescript-eslint/explicit-function-return-type": "error",
"@typescript-eslint/no-require-imports": [
"error",
{
"allow": [
"tree-sitter"
]
}
]
}
}
],
"rules": {
"@typescript-eslint/naming-convention": "off"
},
"ignores": "resources"
},
"prettier": {
"bracketSpacing": true,
"endOfLine": "auto"
},
"lint-staged": {
"*": "xo --fix"
}
}