-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJSON.json
More file actions
79 lines (79 loc) · 2.12 KB
/
JSON.json
File metadata and controls
79 lines (79 loc) · 2.12 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
{
"name": "@gitcode/viewer",
"version": "2.4.0",
"private": true,
"description": "Git repository viewer with syntax highlighting",
"workspaces": [
"packages/*",
"apps/*"
],
"scripts": {
"dev": "vite",
"dev:web": "cd web && vite",
"dev:android": "react-native run-android",
"build": "tsc && vite build",
"build:web": "cd web && vite build",
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"lint:web": "cd web && eslint . --ext .ts",
"format": "prettier --write \"src/**/*.{ts,tsx,css,json}\"",
"format:web": "prettier --write \"web/**/*.{ts,css,html}\"",
"typecheck": "tsc --noEmit",
"typecheck:web": "cd web && tsc --noEmit",
"clean": "rm -rf dist node_modules/.cache",
"prepare": "husky install",
"postinstall": "patch-package && pnpm web:build",
"web:dev": "cd web && vite",
"web:build": "cd web && vite build",
"android": "react-native run-android",
"start": "react-native start"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0",
"@codemirror/view": "^6.35.0",
"@codemirror/state": "^6.5.0",
"@codemirror/language": "^6.10.0",
"zustand": "^5.0.0",
"isomorphic-git": "^1.27.0",
"marked": "^15.0.0",
"mermaid": "^11.4.0",
"react-native": "^0.83.0",
"react-navigation": "^7.0.0"
},
"devDependencies": {
"typescript": "^5.7.0",
"vite": "^6.1.0",
"vitest": "^3.0.0",
"eslint": "^9.0.0",
"prettier": "^3.4.0",
"@types/react": "^19.0.0",
"husky": "^9.0.0",
"patch-package": "^8.0.0"
},
"engines": {
"node": ">=22.0.0",
"pnpm": ">=9.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/nicepkg/gitcode-viewer.git"
},
"keywords": [
"codemirror",
"react-native",
"syntax-highlight",
"repository-viewer",
"offline-viewer"
],
"browserslist": [
"last 2 Chrome versions",
"last 2 Edge versions",
"last 2 Firefox versions"
],
"license": "MIT"
}