Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 1.99 KB
/
Copy pathpackage.json
File metadata and controls
68 lines (68 loc) · 1.99 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
{
"name": "react-knowledge-graph",
"version": "0.3.17",
"description": "a react component that can help you create a dynamic knowledge-graph built with Next.js.",
"private": false,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"build:commonjs": "npx swc KnowledgeGraph -C module.type=commonjs -d lib/commonjs --config-file .swcrc",
"build:module": "npx swc KnowledgeGraph -C module.type=es6 -d lib/module --config-file .swcrc",
"build:typescript": "npx tsc --project ./tsconfig.typescript.json",
"build:package": "bun build:commonjs && bun build:module && bun build:typescript",
"publish:package": "bun build:package && npm publish"
},
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"types": "lib/typescript/index.d.ts",
"source": "KnowledgeGraph/index.tsx",
"files": [
"lib",
"KnowledgeGraph",
"README.md"
],
"dependencies": {
"@reduxjs/toolkit": "^2.0.0",
"motion": "13.5.1",
"lodash.uniqby": "^4.7.0",
"react-icons": "5.7.0",
"react-redux": "^9.0.0"
},
"devDependencies": {
"@ant-design/cssinjs": "^2.0.0",
"@swc/cli": "0.8.1",
"@swc/core": "1.16.13",
"@types/cors": "^2.8.13",
"@types/lodash.uniqby": "^4.7.7",
"@types/node": "24.19.1",
"@types/react": "19.3.0",
"@types/react-dom": "19.3.0",
"antd": "6.6.5",
"cors": "^2.8.5",
"eslint": "10.12.0",
"eslint-config-next": "16.4.0",
"mongodb": "7.7.0",
"next": "16.4.0",
"react": "19.3.0",
"react-dom": "19.3.0",
"typescript": "5.9.3"
},
"peerDependencies": {
"antd": ">=5.0.0",
"react": ">=18.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tohsaka888/react-knowledge-graph.git"
},
"keywords": [
"knowledge-graph"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/tohsaka888/react-knowledge-graph/issues"
},
"homepage": "https://knowledge-graph-demo.tohsaka888.asia/"
}