Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.18 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 2.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
{
"name": "@kazamori/rspress-plugin-git-diff",
"version": "0.5.0",
"description": "Rspress plugin that shows git history and diffs of pages",
"type": "module",
"license": "MIT",
"homepage": "https://kazamori.github.io/rspress-plugin-git-diff/",
"bugs": "https://github.com/kazamori/rspress-plugin-git-diff/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/kazamori/rspress-plugin-git-diff.git"
},
"keywords": [
"rspress",
"rspress-plugin",
"git",
"diff",
"changelog"
],
"exports": {
".": {
"types": "./dist/types/node/index.d.ts",
"import": "./dist/index.js"
},
"./runtime": {
"types": "./dist/types/runtime/index.d.ts",
"import": "./dist/runtime/index.js"
}
},
"main": "./dist/index.js",
"types": "./dist/types/node/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "rslib build",
"dev": "rslib build --watch",
"test": "rstest run",
"typecheck": "tsc --noEmit",
"docs:dev": "bun run build && rspress dev",
"docs:build": "bun run build && rspress build",
"docs:preview": "rspress preview",
"example:setup": "bun example/scripts/create-repo.ts",
"example:dev": "bun run build && rspress dev --config example/rspress.config.ts",
"example:build": "bun run build && rspress build --config example/rspress.config.ts",
"example:preview": "rspress preview --config example/rspress.config.ts",
"e2e": "bun run example:setup && bun run example:build && playwright test",
"prepublishOnly": "bun run typecheck && bun run test && bun run build"
},
"peerDependencies": {
"@rspress/core": "^2.0.0"
},
"devDependencies": {
"@playwright/test": "^1.64.1",
"@rsbuild/core": "^2.2.10",
"@rsbuild/plugin-react": "^2.1.1",
"@rslib/core": "^1.0.3",
"@rspress/core": "^2.0.23",
"@rstest/core": "^0.12.3",
"@types/node": "^26.6.5",
"@types/react": "^19.3.0",
"@types/react-dom": "^19",
"happy-dom": "^21.0.1",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"typescript": "^7.0.2"
},
"dependencies": {
"diff": "^9.0.0",
"diff2html": "^3.4.56"
},
"publishConfig": {
"access": "public"
}
}