{ "name": "musrflow", "productName": "muSRFlow", "version": "1.0.2", "description": "A desktop and web workflow for musrfit", "main": "main.js", "scripts": { "build:identity": "node scripts/write-build-info.js", "start": "electron .", "test": "npm run test:electron && node tests/cgi-hardening.test.js && node tests/cgi-startup.test.js && node tests/cgi-run-download.test.js && node tests/cgi-run-inline.test.js && node tests/cgi-integration.test.js && node tests/integration-musrfit.test.js", "dist:linux": "npm run test:electron && npm run build:identity && npx --yes electron-builder@26.15.3 --linux rpm AppImage --x64 && bash packaging/runtime/build-runtime-appimage.sh && bash packaging/runtime/build-runtime-rpm.sh && bash packaging/runtime/build-runtime-archive.sh", "dist:app:linux": "npm run test:electron && npm run build:identity && npx --yes electron-builder@26.15.3 --linux rpm AppImage --x64", "dist:rpm": "npm run test:electron && npm run build:identity && npx --yes electron-builder@26.15.3 --linux rpm --x64 && bash packaging/runtime/build-runtime-rpm.sh && bash packaging/runtime/build-runtime-archive.sh", "dist:app:rpm": "npm run test:electron && npm run build:identity && npx --yes electron-builder@26.15.3 --linux rpm --x64", "dist:appimage": "npm run test:electron && npm run build:identity && npx --yes electron-builder@26.15.3 --linux AppImage --x64 && bash packaging/runtime/build-runtime-appimage.sh && bash packaging/runtime/build-runtime-archive.sh", "dist:app:appimage": "npm run test:electron && npm run build:identity && npx --yes electron-builder@26.15.3 --linux AppImage --x64", "dist:runtime": "bash packaging/runtime/build-runtime-appimage.sh && bash packaging/runtime/build-runtime-rpm.sh && bash packaging/runtime/build-runtime-archive.sh", "dist:runtime:archive": "bash packaging/runtime/build-runtime-archive.sh", "dist:win": "npm run test:electron && npm run build:identity && npx --yes electron-builder@26.15.3 --win nsis --x64", "checksums:md5": "sh -c 'd=dist; [ -d \"$d\" ] || exit 0; for f in \"$d\"/*; do [ -f \"$f\" ] || continue; case \"$f\" in *.rpm|*.AppImage) base=$(basename \"$f\"); (cd \"$d\" && md5sum \"$base\" > \"$base.md5\");; esac; done'", "checksums:sha256": "sh -c 'd=dist; [ -d \"$d\" ] || exit 0; for f in \"$d\"/*; do [ -f \"$f\" ] || continue; case \"$f\" in *.rpm|*.AppImage) base=$(basename \"$f\"); (cd \"$d\" && sha256sum \"$base\" > \"$base.sha256\");; esac; done'", "checksums": "npm run checksums:md5 && npm run checksums:sha256", "test:electron": "node tests/log-highlighting.test.js && node tests/action-state.test.js && node tests/electron-missing-data.test.js && node tests/electron-run-data.test.js && node tests/electron-msr-title.test.js && node tests/electron-musrfit-threads.test.js && node tests/electron-t0-prompt-peak.test.js && node tests/window-layering.test.js && node tests/msr-generation.test.js && node tests/root-plot-clean.test.js && node tests/parameter-plot.test.js && node tests/help-window.test.js && node tests/release-packaging.test.js && node tests/ci-publish-packages.test.js && node tests/ci-release.test.js && node tests/ci-runtime-registry.test.js && node tests/runtime-validation.test.js && node tests/local-runtime.test.js && node tests/addrun.test.js && node tests/fit-statistic.test.js && node tests/series-fit-planner.test.js && node tests/series-fit-result.test.js && node tests/series-fit-inventory.test.js && node tests/series-fit-msr-preparation.test.js && node tests/series-artifact-contract.test.js && node tests/series-global-merge.test.js && node tests/series-fit-staging.test.js && node tests/series-fit-runner.test.js && node tests/series-runner-adapters.test.js && node tests/series-fit-routing.test.js && node tests/series-action-chips.test.js && node tests/singlehist-parity.test.js && node tests/url-parameters.test.js && node tests/run-naming.test.js && node tests/electron-portable-naming.test.js && node tests/shared-configuration.test.js && node tests/session-persistence.test.js && node tests/reference-fixtures.test.js && node tests/electron-bridge.test.js && node tests/electron-bundled-runtime.test.js && node tests/wsl-runtime.test.js && node tests/wsl-packaging.test.js" }, "repository": { "type": "git", "url": "git+ssh://git@ssh.bitbucket.org/zaher-salman/muSRFlow.git" }, "keywords": [ "musrfit", "javascript" ], "author": "Zaher Salman", "license": "GPL-3.0-or-later", "bugs": { "url": "https://bitbucket.org/zaher-salman/muSRFlow/issues" }, "homepage": "https://bitbucket.org/zaher-salman/muSRFlow#readme", "devDependencies": { "electron": "^44.0.0" }, "dependencies": { "plotly.js-dist": "^3.5.1", "tar": "7.5.22" }, "build": { "appId": "ch.psi.lmu.musrflow", "productName": "muSRFlow", "artifactName": "muSRFlow-${version}-${arch}.${ext}", "asar": true, "files": [ "main.js", "index.html", "quick-start.html", "parameter-plot.html", "parameter-plot-window.js", "preload.js", "ZGUI.css", "muSRFitlib.js", "muSRFitelec.js", "wsl-runtime.js", "run-data-download.js", "local-runtime.js", "muSRFitRoot.js", "muSRFitParameterPlot.js", "muSRFitParameterPlotElec.js", "assets/**/*", "LICENSE", "package.json", { "from": ".build/build-info.json", "to": "build-info.json" }, "node_modules/**/*" ], "directories": { "output": "dist" }, "protocols": [ { "name": "muSRFlow configuration link", "schemes": [ "musrflow" ] } ], "linux": { "target": [ "rpm", "AppImage" ], "category": "Science", "synopsis": "Graphical workflow for musrfit", "description": "muSRFlow is a desktop workflow for creating, editing, fitting, plotting, and inspecting musrfit MSR files.", "maintainer": "Zaher Salman ", "vendor": "Paul Scherrer Institute", "executableName": "musrflow", "desktop": { "entry": { "Name": "muSRFlow", "Comment": "Graphical workflow for musrfit", "Categories": "Science;Education;", "Terminal": "false", "Type": "Application", "MimeType": "x-scheme-handler/musrflow;" } }, "icon": "assets/musrflow-icon.png" }, "win": { "icon": "assets/musrflow-icon.png", "target": [ "nsis" ], "extraResources": [ { "from": "runtime", "to": "runtime", "filter": [ "bin/**/*", "musrfit_startup.xml" ] }, { "from": "packaging/wsl2/out", "to": "wsl-runtime", "filter": [ "muSRFlow-runtime-rootfs.tar.gz" ] } ] }, "rpm": { "packageCategory": "Applications/Science", "artifactName": "${name}-${version}-${arch}.${ext}", "fpm": [ "--rpm-rpmbuild-define=_build_id_links none", "--rpm-rpmbuild-define=_missing_build_ids_terminate_build 0" ], "depends": [ "(libXtst or libXtst.so.6()(64bit))", "(gtk3 or gtk+3.0 or libgtk-3-0)" ] } } }