-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.92 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.92 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": "graph-lens-lite",
"version": "1.11.2",
"main": "src/package/electron_app.js",
"description": "Visualise and explore property graphs in a lightweight desktop app.",
"homepage": "https://github.com/Delta4AI/GraphLensLite",
"author": {
"name": "Matthias Ley",
"email": "matthias.ley@delta4.ai"
},
"scripts": {
"start": "npm run inject-version && electron .",
"pack": "electron-builder --dir",
"clean:linux": "rm -rf dist && mkdir -p dist",
"bundle": "esbuild src/gll.js --bundle --outfile=src/gll.bundle.js",
"bundle:prod": "esbuild src/gll.js --bundle --minify --target=es2020 --drop:debugger --legal-comments=none --outfile=src/gll.bundle.js",
"bundle:watch": "esbuild src/gll.js --bundle --outfile=src/gll.bundle.js --watch --sourcemap",
"bundle:serve": "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": "npx http-server src -p 8000 --cors -o /graph_lens_lite.html ",
"version": "npm run inject-version && git add src/config.js",
"test": "vitest run",
"test:watch": "vitest"
},
"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": {
"electron": "^36.3.1",
"electron-builder": "^26.0.12",
"esbuild": "^0.25.11",
"exceljs": "^4.4.0",
"inline-source": "^8.0.3",
"inline-source-cli": "^1.2.0",
"rimraf": "^6.0.1",
"vitest": "^4.0.18"
}
}