|
16 | 16 | "bundle:prod": "esbuild src/gll.js --bundle --minify --target=es2020 --drop:debugger --legal-comments=none --outfile=src/gll.bundle.js", |
17 | 17 | "bundle:watch": "esbuild src/gll.js --bundle --outfile=src/gll.bundle.js --watch --sourcemap", |
18 | 18 | "bundle:serve": "esbuild src/gll.js --bundle --outfile=src/gll.bundle.js --watch --sourcemap --servedir=src", |
19 | | - "create-inline-html": "node src/package/inline_html.mjs src/graph_lens_lite.html dist/graph-lens-lite_${npm_package_version}.html", |
20 | | - "create-gll-zip": "cd src && zip -r ../dist/GLL-source-bundle_${npm_package_version}.zip gll.bundle.js graph_lens_lite.html style.css lib/g6.min.js lib/exceljs.min.js ../templates/simple-template.xlsx", |
| 19 | + "create-inline-html": "node src/package/inline_html.mjs src/graph_lens_lite.html dist/graph-lens-lite_inline_${npm_package_version}.html", |
21 | 20 | "inject-excel-template": "node src/package/inject_excel_template.mjs", |
22 | 21 | "substitute-gll": "node src/package/substitute_gll_bundle_reference.js", |
23 | 22 | "dist:prep": "node -e \"require('fs').mkdirSync('dist',{recursive:true})\" && npm run bundle:prod && npm run inject-excel-template && npm run substitute-gll start && npm run create-inline-html", |
24 | | - "dist:prep:linux": "npm run clean:linux && npm run dist:prep && npm run create-gll-zip", |
| 23 | + "dist:prep:linux": "npm run clean:linux && npm run dist:prep", |
25 | 24 | "dist-windows": "npm run dist:prep && electron-builder --win --publish=never && npm run substitute-gll end", |
26 | 25 | "dist-linux": "npm run dist:prep:linux && electron-builder --linux --publish=never && npm run substitute-gll end", |
| 26 | + "dist-mac": "npm run dist:prep && electron-builder --mac --publish=never && npm run substitute-gll end", |
| 27 | + "dist": "npm run dist-linux && npm run dist-windows", |
27 | 28 | "serve": "npx http-server src -p 8000 --cors -o /graph_lens_lite.html " |
28 | 29 | }, |
29 | 30 | "build": { |
|
37 | 38 | "win": { |
38 | 39 | "target": [ |
39 | 40 | "nsis", |
40 | | - "portable", |
41 | | - "zip" |
| 41 | + "portable" |
42 | 42 | ], |
43 | 43 | "signAndEditExecutable": false |
44 | 44 | }, |
|
50 | 50 | ], |
51 | 51 | "category": "Graphics", |
52 | 52 | "maintainer": "Delta 4 GmbH <office@delta4.ai>" |
| 53 | + }, |
| 54 | + "mac": { |
| 55 | + "target": [ |
| 56 | + "dmg", |
| 57 | + "zip" |
| 58 | + ] |
53 | 59 | } |
54 | 60 | }, |
55 | 61 | "devDependencies": { |
|
0 commit comments