generated from antfu/starter-ts
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 2.58 KB
/
package.json
File metadata and controls
98 lines (98 loc) · 2.58 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
{
"name": "@dext7r/ai-code-reviewer",
"type": "module",
"version": "0.1.0",
"private": false,
"packageManager": "pnpm@10.6.2",
"description": "一个用于GitLab/GitHub或通用代码托管平台的自动化代码审查工具",
"author": {
"name": "h7ml",
"email": "h7ml@qq.com",
"url": "https://github.com/h7ml"
},
"license": "MIT",
"homepage": "https://github.com/h7ml/ai-code-reviewer#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/h7ml/ai-code-reviewer.git"
},
"bugs": "https://github.com/h7ml/ai-code-reviewer/issues",
"keywords": [
"code-review",
"ai",
"automation",
"gitlab",
"github",
"openai",
"ollama"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs"
},
"./package.json": "./package.json"
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"bin": {
"reviewer": "dist/cli.mjs",
"ai-reviewer": "dist/cli.mjs",
"ai-code-reviewer": "dist/cli.mjs"
},
"files": [
"bin",
"dist"
],
"scripts": {
"build": "cross-env NODE_OPTIONS=\"--max-old-space-size=4096\" unbuild",
"dev": "unbuild --stub",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepublishOnly": "nr build",
"release": "bumpp && pnpm publish",
"start": "tsx src/index.ts",
"cli": "tsx src/cli.ts",
"test": "cross-env NODE_OPTIONS=\"--max-old-space-size=4096\" vitest",
"typecheck": "tsc --noEmit",
"prepare": "simple-git-hooks",
"review": "tsx src/cli.ts github-pr --owner h7ml --repo ai-code-reviewer --pr-id 2"
},
"dependencies": {
"cac": "^6.7.14",
"chalk": "^5.3.0",
"consola": "^3.2.3",
"cross-env": "^7.0.3",
"cross-fetch": "^4.0.0",
"dotenv": "^16.3.1",
"openai": "^4.24.1",
"yaml": "^2.3.4"
},
"devDependencies": {
"@antfu/eslint-config": "^2.6.1",
"@antfu/ni": "^0.21.12",
"@antfu/utils": "^0.7.6",
"@types/node": "^20.10.5",
"bumpp": "^9.2.0",
"eslint": "^8.56.0",
"fast-glob": "^3.3.2",
"lint-staged": "^15.2.0",
"simple-git-hooks": "^2.9.0",
"tinyexec": "^1.0.0",
"tsx": "^4.7.0",
"typescript": "^5.3.3",
"unbuild": "^2.0.0",
"vite": "^5.0.10",
"vitest": "^1.0.4",
"vitest-package-exports": "^0.1.1"
},
"simple-git-hooks": {
"pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && npx lint-staged"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs}": "eslint --fix --cache",
"*.json": "eslint --fix --cache"
}
}