-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 3.25 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 3.25 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
{
"name": "git-mem",
"version": "0.5.0",
"description": "Add AI metadata to git commits automatically. Tracks agent, model, and decisions via commit trailers and git notes.",
"bin": {
"git-mem": "dist/cli.js",
"git-mem-mcp": "dist/mcp-server.js"
},
"type": "commonjs",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=18.0.0"
},
"files": [
"dist"
],
"scripts": {
"build": "tsc -p tsconfig.json",
"clean": "rimraf dist",
"lint": "eslint \"src/**/*.{ts,js}\"",
"lint:fix": "eslint \"src/**/*.{ts,js}\" --fix",
"type-check": "tsc --noEmit",
"pre-commit": "npm run type-check && npm run lint",
"test": "node -e \"const {globSync}=require('glob');const {spawnSync}=require('child_process');const files=globSync('tests/**/*.test.ts');if(!files.length){console.log('No test files found');process.exit(0);}const r=spawnSync('node',['--import','tsx','--test',...files],{stdio:'inherit'});process.exit(r.status===0||r.status===2?0:r.status)\"",
"test:unit": "node -e \"const {globSync}=require('glob');const {spawnSync}=require('child_process');const files=globSync('tests/unit/**/*.test.ts');if(!files.length){console.log('No test files found');process.exit(0);}const r=spawnSync('node',['--import','tsx','--test',...files],{stdio:'inherit'});process.exit(r.status===0||r.status===2?0:r.status)\"",
"test:integration": "node -e \"const {globSync}=require('glob');const {spawnSync}=require('child_process');const files=globSync('tests/integration/**/*.test.ts');if(!files.length){console.log('No test files found');process.exit(0);}const r=spawnSync('node',['--import','tsx','--test',...files],{stdio:'inherit'});process.exit(r.status===0||r.status===2?0:r.status)\"",
"package": "node -e \"const {rmSync,mkdirSync,renameSync}=require('fs');const {globSync}=require('glob');globSync('*.tgz').forEach(f=>rmSync(f));globSync('releases/*.tgz').forEach(f=>rmSync(f));mkdirSync('releases',{recursive:true})\" && npm run build && npm pack && node -e \"const {renameSync}=require('fs');const {globSync}=require('glob');globSync('*.tgz').forEach(f=>renameSync(f,'releases/'+f))\""
},
"keywords": [
"git",
"memory",
"ai",
"knowledge-graph",
"git-notes",
"commit-trailers",
"developer-tools",
"cli"
],
"author": "Tony Casey",
"license": "MIT",
"dependencies": {
"@anthropic-ai/sdk": "^0.73.0",
"@modelcontextprotocol/sdk": "^1.26.0",
"awilix": "^12.1.0",
"chalk": "^5.3.0",
"commander": "^11.1.0",
"dotenv": "^17.3.1",
"prompts": "^2.4.2",
"yaml": "^2.8.2"
},
"peerDependencies": {
"openai": ">=4.0.0",
"@google/generative-ai": ">=0.21.0"
},
"peerDependenciesMeta": {
"openai": { "optional": true },
"@google/generative-ai": { "optional": true }
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/node": "^20.12.7",
"@types/prompts": "^2.4.9",
"@typescript-eslint/eslint-plugin": "^8.52.0",
"@typescript-eslint/parser": "^8.52.0",
"conventional-changelog-conventionalcommits": "^9.1.0",
"eslint": "^8.56.0",
"glob": "^11.1.0",
"rimraf": "^5.0.5",
"semantic-release": "^25.0.3",
"tsx": "^4.19.0",
"typescript": "^5.6.3"
}
}