forked from ganimomer/eslint-stats
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 3.57 KB
/
package.json
File metadata and controls
113 lines (113 loc) · 3.57 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "@danielsitek/eslint-stats",
"version": "0.4.2",
"description": "Modern TypeScript formatters for ESLint with aggregated error/warning statistics and visual graphs - Zero dependencies",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./by-error": {
"types": "./dist/formatters/by-error.d.ts",
"import": "./dist/formatters/by-error.js"
},
"./by-warning": {
"types": "./dist/formatters/by-warning.d.ts",
"import": "./dist/formatters/by-warning.js"
},
"./by-error-and-warning": {
"types": "./dist/formatters/by-error-and-warning.d.ts",
"import": "./dist/formatters/by-error-and-warning.js"
},
"./by-error-and-warning-stacked": {
"types": "./dist/formatters/by-error-and-warning-stacked.d.ts",
"import": "./dist/formatters/by-error-and-warning-stacked.js"
},
"./by-folder": {
"types": "./dist/formatters/by-folder.d.ts",
"import": "./dist/formatters/by-folder.js"
},
"./by-prometheus": {
"types": "./dist/formatters/by-prometheus.d.ts",
"import": "./dist/formatters/by-prometheus.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"keywords": [
"eslint",
"formatter",
"statistics",
"stats",
"aggregated",
"visualization",
"typescript",
"zero-dependencies",
"eslint9",
"prometheus",
"metrics",
"monitoring"
],
"scripts": {
"build": "tsc -p tsconfig.build.json",
"clean": "rm -rf dist",
"prebuild": "npm run clean",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "tsx --test test/**/*.test.ts",
"test:watch": "tsx --test --watch test/**/*.test.ts",
"test:coverage": "tsx --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info --test test/**/*.test.ts",
"prepublishOnly": "npm run build && npm test",
"demo:error": "eslint .demo -f ./dist/formatters/by-error.js -c .demo/eslint.config.mjs",
"demo:warning": "eslint .demo -f ./dist/formatters/by-warning.js -c .demo/eslint.config.mjs",
"demo:both": "eslint .demo -f ./dist/formatters/by-error-and-warning.js -c .demo/eslint.config.mjs",
"demo:stacked": "eslint .demo -f ./dist/formatters/by-error-and-warning-stacked.js -c .demo/eslint.config.mjs",
"demo:folder": "eslint .demo -f ./dist/formatters/by-folder.js -c .demo/eslint.config.mjs",
"demo:prometheus": "eslint .demo -f ./dist/formatters/by-prometheus.js -c .demo/eslint.config.mjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/danielsitek/eslint-stats.git"
},
"bugs": {
"url": "https://github.com/danielsitek/eslint-stats/issues"
},
"homepage": "https://github.com/danielsitek/eslint-stats#readme",
"author": {
"name": "Daniel Sitek",
"email": "me@danielsitek.com",
"url": "https://github.com/danielsitek"
},
"contributors": [
{
"name": "Omer Ganim",
"email": "ganimomer@gmail.com",
"url": "http://github.com/ganimomer"
}
],
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
"eslint": ">=8.0.0"
},
"license": "MIT",
"devDependencies": {
"@types/node": "^25.0.10",
"@typescript-eslint/eslint-plugin": "^8.53.1",
"@typescript-eslint/parser": "^8.53.1",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"prettier": "^3.8.1",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
}
}