@h5l0/codelens 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,14 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <!-- 语言与标题由页面按浏览器语言设置,这里只给出脚本运行前的默认值 -->
7
+ <title>codelens</title>
8
+ <script type="module" crossorigin src="/assets/index-BIIwVDXB.js"></script>
9
+ <link rel="stylesheet" crossorigin href="/assets/index-B4yfgYFQ.css">
10
+ </head>
11
+ <body>
12
+ <div id="root"></div>
13
+ </body>
14
+ </html>
Binary file
Binary file
Binary file
Binary file
package/package.json ADDED
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "@h5l0/codelens",
3
+ "version": "0.1.0",
4
+ "description": "把任意 git 仓库的改动历史与代码行数可视化成本地看板 | Local dashboard for a git repository's commit history and lines of code",
5
+ "keywords": [
6
+ "git",
7
+ "treemap",
8
+ "calendar",
9
+ "code-stats",
10
+ "lines-of-code",
11
+ "visualization",
12
+ "cli"
13
+ ],
14
+ "type": "module",
15
+ "license": "MIT",
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/H5L0/codelens.git"
22
+ },
23
+ "bugs": {
24
+ "url": "https://github.com/H5L0/codelens/issues"
25
+ },
26
+ "homepage": "https://github.com/H5L0/codelens#readme",
27
+ "bin": {
28
+ "codelens": "dist/cli/index.js"
29
+ },
30
+ "files": [
31
+ "dist",
32
+ "docs/screenshots",
33
+ "README.md",
34
+ "README.en.md",
35
+ "LICENSE"
36
+ ],
37
+ "engines": {
38
+ "node": ">=20.19"
39
+ },
40
+ "scripts": {
41
+ "dev": "tsx src/cli/index.ts --dev",
42
+ "build": "npm run build:web && npm run build:cli",
43
+ "build:web": "vite build",
44
+ "build:cli": "tsc -p tsconfig.cli.json",
45
+ "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.cli.json --noEmit",
46
+ "test": "vitest run",
47
+ "test:watch": "vitest",
48
+ "prepublishOnly": "npm run typecheck && npm test && npm run build"
49
+ },
50
+ "devDependencies": {
51
+ "@types/node": "^22.19.13",
52
+ "@types/react": "^19.2.2",
53
+ "@types/react-dom": "^19.2.2",
54
+ "@vitejs/plugin-react": "^5.1.2",
55
+ "happy-dom": "^20.14.3",
56
+ "i18next": "^26.4.2",
57
+ "i18next-browser-languagedetector": "^8.2.1",
58
+ "react": "^19.2.4",
59
+ "react-dom": "^19.2.4",
60
+ "react-i18next": "^17.0.13",
61
+ "tsx": "^4.21.0",
62
+ "typescript": "^5.9.3",
63
+ "vite": "^7.3.1",
64
+ "vitest": "^5.0.0"
65
+ }
66
+ }