-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 1.81 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 1.81 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
{
"name": "node-ai-precommit-tester",
"version": "1.0.0",
"description": "AI-powered pre-commit hook for Node.js projects that analyzes code, generates tests, and improves code quality",
"main": "src/index.js",
"type": "module",
"bin": {
"ai-precommit": "./bin/ai-precommit"
},
"scripts": {
"test": "jest",
"lint": "eslint --fix .",
"format": "prettier --write .",
"prepare": "husky install",
"start": "node src/index.js"
},
"keywords": [
"pre-commit",
"ai",
"testing",
"code-quality",
"git-hooks",
"automation"
],
"author": "StatusNeo",
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "node src/index.js"
}
},
"dependencies": {
"@babel/parser": "^7.23.5",
"@babel/traverse": "^7.23.5",
"@babel/types": "^7.23.5",
"@google/generative-ai": "^0.24.1",
"chalk": "^4.1.2",
"commander": "^11.1.0",
"cosmiconfig": "^8.1.3",
"cross-spawn": "^7.0.3",
"diff": "^8.0.2",
"execa": "^8.0.1",
"groq-sdk": "^0.33.0",
"inquirer": "^9.2.12",
"node-fetch": "^3.3.2",
"openai": "^6.3.0",
"ora": "^6.3.1",
"prettier": "^3.1.1",
"yaml": "^2.3.4"
},
"devDependencies": {
"@babel/core": "^7.23.5",
"@babel/preset-env": "^7.23.5",
"@jest/globals": "^29.7.0",
"@types/jest": "^29.5.14",
"@types/node": "^20.10.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.0.2"
},
"engines": {
"node": ">=16.0.0"
},
"lint-staged": {
"**/*.{js,ts,json,md}": [
"prettier --write",
"eslint --fix"
]
},
"prettier": {
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"printWidth": 100
}
}