forked from gptlint/gptlint
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
136 lines (136 loc) · 3.45 KB
/
Copy pathpackage.json
File metadata and controls
136 lines (136 loc) · 3.45 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "gptlint",
"version": "1.5.4",
"description": "A linter with superpowers! Use LLMs to enforce best practices across your codebase in a standardized, configurable, scalable manner.",
"author": "Travis Fischer <travis@transitivebullsh.it>",
"license": "MIT",
"homepage": "https://gptlint.dev",
"repository": {
"type": "git",
"url": "gptlint/gptlint"
},
"packageManager": "pnpm@8.15.7",
"engines": {
"node": ">=18"
},
"type": "module",
"source": "./bin/gptlint.ts",
"types": "./dist/src/index.d.ts",
"sideEffects": false,
"bin": {
"gptlint": "./dist/bin/gptlint.js"
},
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js",
"default": "./dist/src/index.js"
}
},
"files": [
"dist",
"package.json",
"readme.md",
"license"
],
"scripts": {
"build": "run-s build:*",
"build:built-in-rules": "tsx bin/build-built-in-rules.ts",
"build:main": "tsup",
"build:docs": "tsx bin/cp-rules-to-docs.ts",
"dev": "tsup --watch",
"clean": "del dist",
"prebuild": "run-s clean",
"predev": "run-s clean",
"pretest": "run-s build",
"prepare": "husky",
"precommit": "lint-staged",
"test": "run-s test:*",
"test:format": "prettier --check \"**/*.{js,ts,tsx}\" \"rules/**/*.ts\"",
"test:lint": "eslint . \"rules/**/*.ts\"",
"test:typecheck": "tsc --noEmit",
"test:unit": "vitest run"
},
"dependencies": {
"@dexaai/dexter": "^2.1.0",
"@sindresorhus/slugify": "^2.2.1",
"array-uniq": "^3.0.0",
"chalk": "^5.3.0",
"cleye": "^1.3.2",
"dotenv": "^16.4.5",
"execa": "^8.0.1",
"exit-hook": "^4.0.0",
"fast-json-stable-stringify": "^2.1.0",
"file-type": "^19.0.0",
"find-cache-dir": "^5.0.0",
"get-tsconfig": "^4.7.3",
"globby": "^14.0.1",
"hash-object": "^5.0.1",
"jsonrepair": "^3.8.0",
"mdast-util-gfm": "^3.0.0",
"mdast-util-to-markdown": "^2.1.0",
"mdast-util-to-string": "^4.0.0",
"multimatch": "^7.0.0",
"p-map": "^7.0.2",
"p-retry": "^6.2.0",
"parse-gitignore": "^2.0.0",
"path-exists": "^5.0.0",
"pkg-dir": "^8.0.0",
"plur": "^5.1.0",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.0",
"remark-parse": "^11.0.0",
"restore-cursor": "^5.0.0",
"tasuku": "^2.0.1",
"tiny-invariant": "^1.3.3",
"type-fest": "^4.20.1",
"unified": "^11.0.4",
"unist-util-inspect": "^8.0.0",
"unist-util-is": "^6.0.0",
"which": "^4.0.0",
"yaml": "^2.4.5",
"zod": "^3.23.8"
},
"devDependencies": {
"@fisch0920/eslint-config": "^1.3.3",
"@total-typescript/ts-reset": "^0.5.1",
"@types/eslint": "^8.56.10",
"@types/mdast": "^4.0.3",
"@types/node": "^20.14.4",
"@types/parse-gitignore": "^1.0.2",
"@types/which": "^3.0.3",
"del-cli": "^5.1.0",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"np": "^10.0.5",
"npm-run-all2": "^6.2.0",
"prettier": "^3.3.2",
"tsup": "^8.1.0",
"tsx": "^4.15.6",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vitest": "^1.6.0"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --ignore-unknown --write"
]
},
"keywords": [
"lint",
"linter",
"linting",
"ai",
"gpt",
"llms",
"code quality",
"code health",
"best practices",
"static analysis"
],
"optionalDependencies": {
"@getgrit/launcher": "^0.0.26"
}
}