{ "name": "musrflow", "productName": "muSRFlow", "version": "1.0.0-rc.4", "description": "A desktop and web workflow for musrfit", "main": "main.js", "scripts": { "start": "electron .", "test": "npm run test:electron && node tests/cgi-hardening.test.js && node tests/cgi-startup.test.js && node tests/cgi-integration.test.js && node tests/integration-musrfit.test.js", "dist:linux": "npm run test:electron && npx --yes electron-builder@26.15.3 --linux rpm AppImage --x64", "dist:rpm": "npm run test:electron && npx --yes electron-builder@26.15.3 --linux rpm --x64", "dist:appimage": "npm run test:electron && npx --yes electron-builder@26.15.3 --linux AppImage --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-msr-title.test.js && node tests/electron-musrfit-threads.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/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" }, "repository": { "type": "git", "url": "git+ssh://git@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" }, "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", "muSRFitRoot.js", "muSRFitParameterPlot.js", "muSRFitParameterPlotElec.js", "assets/**/*", "LICENSE", "package.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" } }, "icon": "assets/musrflow-icon.png" }, "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" ] } } }