@agilehub/vue-knowledge-graph 0.0.0-stage → 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.
package/package.json CHANGED
@@ -1,6 +1,80 @@
1
- {
2
- "name": "@agilehub/vue-knowledge-graph",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
1
+ {
2
+ "name": "@agilehub/vue-knowledge-graph",
3
+ "version": "0.1.0",
4
+ "description": "Vue 3 知识图谱可视化组件,基于 AntV G6",
5
+ "type": "module",
6
+ "main": "./dist/vue-knowledge-graph.cjs",
7
+ "module": "./dist/vue-knowledge-graph.mjs",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/vue-knowledge-graph.mjs",
13
+ "require": "./dist/vue-knowledge-graph.cjs",
14
+ "default": "./dist/vue-knowledge-graph.mjs"
15
+ },
16
+ "./package.json": "./package.json"
17
+ },
18
+ "files": [
19
+ "dist",
20
+ "docs"
21
+ ],
22
+ "scripts": {
23
+ "build": "vite build",
24
+ "check": "pnpm run lint && pnpm run typecheck && pnpm run test:run",
25
+ "dev": "vite",
26
+ "lint": "eslint .",
27
+ "lint:fix": "eslint . --fix",
28
+ "prepack": "pnpm run check && pnpm run build",
29
+ "release:check": "pnpm run prepack && npm pack --dry-run --ignore-scripts",
30
+ "test": "vitest",
31
+ "test:coverage": "vitest run --coverage",
32
+ "test:run": "vitest run",
33
+ "typecheck": "vue-tsc --noEmit"
34
+ },
35
+ "peerDependencies": {
36
+ "@antv/g6": "^5.1.1",
37
+ "vue": "^3.2.0"
38
+ },
39
+ "devDependencies": {
40
+ "@antv/g6": "^5.1.1",
41
+ "@eslint/js": "10.0.1",
42
+ "@types/node": "^24.13.3",
43
+ "@vitejs/plugin-vue": "^6.0.8",
44
+ "@vitest/coverage-v8": "4.1.10",
45
+ "@vue/test-utils": "2.4.11",
46
+ "eslint": "10.8.0",
47
+ "eslint-plugin-vue": "10.10.0",
48
+ "globals": "17.9.0",
49
+ "jsdom": "29.1.1",
50
+ "typescript": "^6.0.3",
51
+ "typescript-eslint": "8.66.0",
52
+ "vite": "^8.2.1",
53
+ "vite-plugin-dts": "^5.0.3",
54
+ "vitest": "4.1.10",
55
+ "vue": "^3.5.41",
56
+ "vue-tsc": "^3.3.9"
57
+ },
58
+ "keywords": [
59
+ "vue",
60
+ "knowledge-graph",
61
+ "g6",
62
+ "antv",
63
+ "visualization"
64
+ ],
65
+ "author": "lytdev",
66
+ "license": "Apache-2.0",
67
+ "repository": {
68
+ "type": "git",
69
+ "url": "git+https://github.com/lytdev/vue-knowledge-graph.git"
70
+ },
71
+ "homepage": "https://github.com/lytdev/vue-knowledge-graph",
72
+ "publishConfig": {
73
+ "access": "public",
74
+ "registry": "https://registry.npmjs.org/"
75
+ },
76
+ "engines": {
77
+ "node": ">=18"
78
+ },
79
+ "packageManager": "pnpm@10.24.0"
80
+ }