-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
159 lines (159 loc) · 5.18 KB
/
Copy pathpackage.json
File metadata and controls
159 lines (159 loc) · 5.18 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "git-history-ui",
"version": "5.5.0",
"description": "Local-first Git history investigation, portable reports, and PR impact automation.",
"main": "dist/cli.js",
"types": "dist/backend/server.d.ts",
"exports": {
".": {
"types": "./dist/backend/server.d.ts",
"require": "./dist/backend/server.js"
},
"./cli": {
"types": "./dist/cli.d.ts",
"require": "./dist/cli.js"
},
"./package.json": "./package.json"
},
"bin": {
"git-history-ui": "dist/cli.js"
},
"files": [
"dist/**/*",
"build/**/*",
"scripts/check-native.js",
"scripts/pr-impact-action.js",
"scripts/register-protocol.js",
"action.yml",
"docs/**/*.md",
"README.md",
"LICENSE",
"CHANGELOG.md",
"CONTRIBUTING.md",
"CODE_OF_CONDUCT.md",
"SECURITY.md"
],
"scripts": {
"build": "npm run build:backend && npm run build:frontend && npm run copy-frontend",
"build:backend": "tsc -p tsconfig.json",
"build:frontend": "npm run --prefix frontend -s build -- --configuration production",
"build:production": "NODE_ENV=production npm run build",
"dev": "concurrently -n backend,frontend -c blue,magenta \"npm:dev:backend\" \"npm:dev:frontend\"",
"dev:backend": "ts-node-dev --respawn --transpile-only src/backend/dev-server.ts",
"dev:frontend": "npm run --prefix frontend start -- --port 4200 --proxy-config proxy.conf.json",
"start": "node dist/backend/server.js",
"start:production": "NODE_ENV=production node dist/backend/server.js",
"test": "node --test apps/chrome-extension/link.test.js scripts/pr-impact-action.test.js && node scripts/check-extension.js && jest",
"test:node": "node --test apps/chrome-extension/link.test.js scripts/pr-impact-action.test.js",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"test:frontend": "npm run --prefix frontend test -- --watch=false --browsers=ChromeHeadless",
"test:all": "npm test && npm run test:frontend",
"lint": "eslint \"src/**/*.ts\"",
"lint:fix": "eslint \"src/**/*.ts\" --fix",
"format": "prettier --write \"src/**/*.{ts,js}\" \"frontend/src/**/*.{ts,html,css}\"",
"format:check": "prettier --check \"src/**/*.{ts,js}\" \"frontend/src/**/*.{ts,html,css}\"",
"audit:prod": "npm audit --omit=dev --audit-level=moderate --registry=https://registry.npmjs.org",
"audit:frontend:prod": "npm audit --prefix frontend --omit=dev --audit-level=moderate --registry=https://registry.npmjs.org",
"check:extension": "node scripts/check-extension.js",
"package:extension": "node scripts/package-extension.js",
"smoke:action": "node scripts/smoke-pr-impact-action.js",
"typecheck": "tsc -p tsconfig.json --noEmit",
"clean": "rm -rf dist build coverage frontend/dist frontend/.angular",
"copy-frontend": "rm -rf build/frontend && mkdir -p build/frontend && cp -r frontend/dist/frontend/browser/* build/frontend/",
"prepare": "husky",
"postinstall": "node scripts/check-native.js",
"prepublishOnly": "npm run clean && npm run lint && npm run typecheck && npm test -- --ci && npm run audit:prod && npm run audit:frontend:prod && npm run build"
},
"keywords": [
"git",
"history",
"visualization",
"cli",
"ui",
"commit",
"graph",
"diff",
"angular",
"developer-tools",
"git-graph",
"git-log",
"command-palette",
"natural-language-search",
"ai",
"anthropic",
"openai",
"claude",
"blame",
"code-insights",
"time-travel",
"pull-request"
],
"author": "Ankit Sharma <ankit.sharma199803@gmail.com>",
"license": "MIT",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/beingmartinbmc"
},
"dependencies": {
"chalk": "^4.1.2",
"commander": "^12.1.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"express": "^4.21.0",
"express-rate-limit": "^7.4.0",
"helmet": "^8.0.0",
"open": "^8.4.2"
},
"optionalDependencies": {
"better-sqlite3": "^12.9.0"
},
"devDependencies": {
"@commitlint/cli": "^20.5.3",
"@commitlint/config-conventional": "^20.5.3",
"@eslint/js": "^9.39.4",
"@types/compression": "^1.7.5",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^30.0.0",
"@types/node": "^20.16.10",
"concurrently": "^9.0.0",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"globals": "^17.6.0",
"husky": "^9.1.7",
"jest": "^30.4.2",
"lint-staged": "^16.4.0",
"prettier": "^3.3.3",
"ts-jest": "^29.4.11",
"ts-node-dev": "^2.0.0",
"typescript": "^5.6.2",
"typescript-eslint": "^8.61.0"
},
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"overrides": {
"qs": "^6.15.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/beingmartinbmc/git-history-ui.git"
},
"bugs": {
"url": "https://github.com/beingmartinbmc/git-history-ui/issues"
},
"homepage": "https://github.com/beingmartinbmc/git-history-ui#readme",
"lint-staged": {
"src/**/*.ts": [
"eslint --fix",
"prettier --write"
],
"frontend/src/**/*.{ts,html,css}": [
"prettier --write"
],
"*.{json,yml,yaml,cjs}": [
"prettier --write"
]
}
}