-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 4.7 KB
/
Copy pathpackage.json
File metadata and controls
122 lines (122 loc) · 4.7 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "graph-lens-lite",
"version": "1.15.4",
"main": "src/package/electron_app.js",
"description": "Visualise and explore property graphs in a lightweight desktop app.",
"homepage": "https://github.com/Delta4AI/GraphLensLite",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Delta4AI/GraphLensLite.git"
},
"bugs": {
"url": "https://github.com/Delta4AI/GraphLensLite/issues"
},
"author": {
"name": "Matthias Ley",
"email": "matthias.ley@delta4.ai"
},
"scripts": {
"start": "npm run vendor-libs && npm run inject-version && electron .",
"pack": "electron-builder --dir",
"clean:linux": "rm -rf dist && mkdir -p dist",
"vendor-libs": "node src/package/vendor_libs.js",
"bundle": "npm run vendor-libs && esbuild src/gll.js --bundle --outfile=src/gll.bundle.js",
"bundle:prod": "npm run vendor-libs && esbuild src/gll.js --bundle --minify --target=es2020 --drop:debugger --legal-comments=none --outfile=src/gll.bundle.js",
"bundle:watch": "npm run vendor-libs && esbuild src/gll.js --bundle --outfile=src/gll.bundle.js --watch --sourcemap",
"bundle:serve": "npm run vendor-libs && esbuild src/gll.js --bundle --outfile=src/gll.bundle.js --watch --sourcemap --servedir=src",
"create-inline-html": "node src/package/inline_html.mjs src/graph_lens_lite.html dist/graph-lens-lite_inline_${npm_package_version}.html",
"inject-version": "node src/package/inject_version.js",
"inject-excel-template": "node src/package/inject_excel_template.mjs",
"substitute-gll": "node src/package/substitute_gll_bundle_reference.js",
"dist:prep": "node -e \"require('fs').mkdirSync('dist',{recursive:true})\" && npm run inject-version && npm run bundle:prod && npm run inject-excel-template && npm run substitute-gll start && npm run create-inline-html",
"dist:prep:linux": "npm run clean:linux && npm run dist:prep",
"dist-windows": "npm run dist:prep && electron-builder --win --publish=never && npm run substitute-gll end",
"dist-linux": "npm run dist:prep:linux && electron-builder --linux --publish=never && npm run substitute-gll end",
"dist-mac": "npm run dist:prep && electron-builder --mac --publish=never && npm run substitute-gll end",
"dist": "npm run dist-linux && npm run dist-windows",
"serve": "npm run vendor-libs && npx http-server src -p 8000 --cors -c-1 -o /graph_lens_lite.html ",
"serve:api": "npm run vendor-libs && node --env-file-if-exists=.env server/index.js",
"version": "npm run inject-version && git add src/config.js",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint src server scripts tests",
"lint:fix": "eslint src server scripts tests --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"perf:fixture": "node scripts/generate_benchmark_fixture.js",
"perf": "node scripts/perf_benchmark.js",
"notices": "node scripts/gen_third_party_notices.mjs"
},
"build": {
"appId": "com.delta4ai.graphlenslite",
"productName": "Graph Lens Lite",
"icon": "static/delta-4-icon.png",
"files": [
"src/**/*",
"static/**/*"
],
"win": {
"target": [
"nsis",
"portable"
],
"signAndEditExecutable": false
},
"linux": {
"target": [
"AppImage",
"deb",
"snap"
],
"category": "Graphics",
"maintainer": "Delta 4 GmbH <office@delta4.ai>"
},
"mac": {
"target": [
"dmg",
"zip"
]
}
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@vitest/coverage-v8": "^4.1.9",
"electron": "^36.3.1",
"electron-builder": "^26.0.12",
"esbuild": "^0.25.11",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"exceljs": "^4.4.0",
"globals": "^17.6.0",
"inline-source": "^8.0.3",
"inline-source-cli": "^1.2.0",
"jsdom": "^29.0.2",
"playwright": "^1.60.0",
"prettier": "^3.8.4",
"rimraf": "^6.0.1",
"vitest": "^4.0.18"
},
"dependencies": {
"@antv/layout": "^2.0.0",
"@sigma/edge-curve": "^3.1.0",
"@sigma/export-image": "^3.0.0",
"@sigma/node-border": "^3.0.0",
"@sigma/node-image": "^3.0.0",
"@sigma/node-piechart": "3.0.1",
"@sigma/node-square": "^3.0.0",
"bubblesets-js": "^3.0.1",
"dompurify": "^3.4.10",
"graphology": "^0.26.0",
"graphology-communities-louvain": "^2.0.2",
"graphology-layout": "^0.6.1",
"graphology-layout-forceatlas2": "^0.10.1",
"graphology-layout-noverlap": "^0.4.2",
"graphology-metrics": "^2.4.0",
"graphology-shortest-path": "^2.1.0",
"marked": "^18.0.2",
"polygon-clipping": "^0.15.7",
"sigma": "^3.0.3"
}
}