{ "name": "ohif-monorepo-root", "private": true, "workspaces": { "packages": [ "platform/app", "platform/cli", "platform/ui-next", "platform/ui", "platform/core", "platform/i18n", "extensions/*", "modes/*", "addOns/externals/*" ], "nohoist": [ "**/html-minifier-terser" ] }, "engines": { "node": ">=18", "npm": ">=6", "yarn": ">=1.20.0" }, "scripts": { "cm": "npx git-cz", "build": "lerna run build:viewer --stream", "build:dev": "lerna run build:dev --stream", "build:ci": "lerna run build:viewer:ci --stream", "build:qa": "lerna run build:viewer:qa --stream", "clean": "npx lerna run clean --stream", "clean:deep": "npx lerna run clean:deep --stream", "cli": "node ./platform/cli/src/index.js", "build:ui:deploy-preview": "lerna run build:ui:deploy-preview --stream", "build:demo": "lerna run build:viewer:demo --stream", "build:package-all": "lerna run build:package --parallel --stream", "build:package-all-1": "lerna run build:package-1 --parallel --stream", "dev:fast": "cd platform/app && yarn run dev:fast", "show:config": "echo Config is $APP_CONFIG on $PUBLIC_URL", "dev": "lerna run dev:viewer --stream", "dev:no:cache": "lerna run dev:no:cache --stream", "dev:project": ".scripts/dev.sh", "dev:orthanc": "lerna run dev:orthanc --stream", "dev:orthanc:no:cache": "lerna run dev:orthanc:no:cache --stream", "dev:dcm4chee": "lerna run dev:dcm4chee --stream", "dev:static": "lerna run dev:static --stream", "orthanc:up": "docker compose -f platform/app/.recipes/Nginx-Orthanc/docker-compose.yml up", "install:dev": "cp -f yarn.lock addOns/yarn.lock && cd addOns && yarn install --modules-folder ../node_modules", "preinstall": "node preinstall.js", "start": "yarn run dev", "test": "yarn run test:unit", "test:data": "git submodule update --init -f testdata", "test-watch": "jest --collectCoverage --watchAll", "test:unit": "jest --collectCoverage", "test:unit:ci": "lerna run test:unit:ci --parallel --stream", "test:e2e": "lerna run test:e2e --stream", "test:e2e:ci": "npx playwright test", "test:e2e:ui": "npx playwright test --ui", "test:e2e:headed": "npx playwright test --headed", "test:e2e:debug": "npx playwright test --debug", "test:e2e:dist": "lerna run test:e2e:dist --stream", "test:e2e:serve": "yarn test:data && lerna run test:e2e:serve --stream", "see-changed": "lerna changed", "docs:preview": "lerna run docs:preview --stream", "docs:publish": "chmod +x ./build-and-publish-docs.sh && ./build-and-publish-docs.sh", "release": "yarn run lerna:version && yarn run lerna:publish", "lerna:clean": "lerna clean", "lerna:cache": "./netlify-lerna-cache.sh", "lerna:restore": "./netlify-lerna-restore.sh", "lerna:customVersion": "node version.mjs", "link-list": "npm ls --depth=0 --link=true" }, "dependencies": { "execa": "^8.0.1" }, "optionalDependencies": { "@percy/cypress": "^3.1.1", "@playwright/test": "^1.48.0", "cypress": "^14.0.0", "cypress-file-upload": "^5.0.8" }, "devDependencies": { "@babel/core": "7.24.7", "@babel/plugin-proposal-class-properties": "^7.16.7", "@babel/plugin-proposal-object-rest-spread": "^7.17.3", "@babel/plugin-proposal-private-methods": "^7.18.6", "@babel/plugin-proposal-private-property-in-object": "^7.21.11", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-transform-arrow-functions": "^7.16.7", "@babel/plugin-transform-regenerator": "^7.16.7", "@babel/plugin-transform-runtime": "7.24.7", "@babel/plugin-transform-typescript": "^7.13.0", "@babel/preset-env": "7.24.7", "@babel/preset-react": "^7.16.7", "@babel/preset-typescript": "^7.13.0", "prettier": "^3.3.3", "prettier-plugin-tailwindcss": "0.6.9" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "src/**/*.{js,json,css}": [ "prettier --write", "git add" ] }, "resolutions": { "commander": "8.3.0", "path-to-regexp": "0.1.12", "nth-check": "^2.1.1", "trim-newlines": "^5.0.0", "glob-parent": "^6.0.2", "trim": "^1.0.0", "package-json": "^8.1.0", "sharp": "^0.32.6", "rollup": "2.79.2", "body-parser": "1.20.3" } }