-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.46 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 2.46 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
{
"name": "diffray",
"version": "0.5.3",
"description": "AI-powered code review CLI for git changes",
"author": "Ilya Strelov <strelov1@gmail.com>",
"license": "MIT",
"type": "module",
"bin": {
"diffray": "./dist/diffray.cjs"
},
"files": [
"dist/diffray.cjs",
"dist/defaults",
"src/defaults"
],
"scripts": {
"dev": "npx tsx ./bin/diffray.ts",
"build": "node build.mjs",
"link:local": "node -e \"const p=require('./package.json');p.bin.diffray='./bin/diffray.ts';require('fs').writeFileSync('package.json',JSON.stringify(p,null,2)+'\\n')\" && npm link",
"link:publish": "node -e \"const p=require('./package.json');p.bin.diffray='./dist/diffray.cjs';require('fs').writeFileSync('package.json',JSON.stringify(p,null,2)+'\\n')\"",
"link": "npm link",
"unlink": "npm unlink",
"test": "vitest run",
"test:watch": "vitest",
"ts-check": "tsc --noEmit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"prepublishOnly": "npm run build && npm run link:publish",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "git+https://github.com/diffray/diffray.git"
},
"homepage": "https://github.com/diffray/diffray#readme",
"bugs": {
"url": "https://github.com/diffray/diffray/issues"
},
"keywords": [
"code-review",
"ai",
"cli",
"git",
"diff",
"llm",
"claude",
"cerebras",
"pull-request"
],
"engines": {
"node": ">=18.0.0"
},
"os": [
"darwin",
"linux",
"win32"
],
"cpu": [
"x64",
"arm64"
],
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/cross-spawn": "^6.0.6",
"@types/node": "^22.15.21",
"@typescript-eslint/eslint-plugin": "^8.52.0",
"@typescript-eslint/parser": "^8.52.0",
"esbuild": "^0.25.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"husky": "^9.1.0",
"lint-staged": "^15.5.0",
"prettier": "^3.7.4",
"tsx": "^4.19.0",
"vitest": "^3.1.0"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
},
"peerDependencies": {
"typescript": "^5"
},
"dependencies": {
"citty": "^0.1.6",
"cross-spawn": "^7.0.6",
"diff": "^8.0.2",
"glob": "^13.0.0",
"yaml": "^2.8.2",
"zod": "^3.22.4"
}
}