129 lines
5.5 KiB
JSON
129 lines
5.5 KiB
JSON
{
|
|
"name": "ohif-monorepo-root",
|
|
"private": true,
|
|
"packageManager": "pnpm@11.5.2",
|
|
"engines": {
|
|
"node": ">=24",
|
|
"pnpm": ">=11"
|
|
},
|
|
"scripts": {
|
|
"preinstall": "node preinstall.js",
|
|
"cm": "npx git-cz",
|
|
"build": "pnpm --filter @ohif/app run build:viewer",
|
|
"build:dev": "pnpm --filter @ohif/app run build:dev",
|
|
"build:ci": "pnpm --filter @ohif/app run build:viewer:ci",
|
|
"build:qa": "pnpm --filter @ohif/app run build:viewer:qa",
|
|
"clean": "pnpm -r run clean",
|
|
"clean:deep": "pnpm -r run clean:deep",
|
|
"cli": "node ./platform/cli/src/index.js",
|
|
"build:demo": "pnpm --filter @ohif/app run build:viewer:demo",
|
|
"build:package-all": "pnpm -r run build:package",
|
|
"build:package-all-1": "pnpm -r run build:package-1",
|
|
"dev:fast": "pnpm --filter @ohif/app run dev:fast",
|
|
"show:config": "echo Config is $APP_CONFIG on $PUBLIC_URL",
|
|
"dev": "pnpm --filter @ohif/app run dev:viewer",
|
|
"dev:no:cache": "pnpm --filter @ohif/app run dev:no:cache",
|
|
"dev:project": ".scripts/dev.sh",
|
|
"dev:orthanc": "pnpm --filter @ohif/app run dev:orthanc",
|
|
"dev:orthanc:no:cache": "pnpm --filter @ohif/app run dev:orthanc:no:cache",
|
|
"dev:dcm4chee": "pnpm --filter @ohif/app run dev:dcm4chee",
|
|
"dev:static": "pnpm --filter @ohif/app run dev:static",
|
|
"orthanc:up": "docker compose -f platform/app/.recipes/Nginx-Orthanc/docker-compose.yml up",
|
|
"install:update-lockfile": "pnpm install --no-frozen-lockfile",
|
|
"install:frozen": "pnpm install --frozen-lockfile",
|
|
"audit": "pnpm audit",
|
|
"start": "pnpm run dev",
|
|
"test": "pnpm run test:unit",
|
|
"test:data": "git submodule update --init -f testdata",
|
|
"test-watch": "jest --collectCoverage --watchAll",
|
|
"test:unit": "jest --collectCoverage",
|
|
"test:unit:ci": "pnpm -r run test:unit:ci",
|
|
"test:e2e": "cross-env TEST_ENV=true pnpm exec playwright test",
|
|
"test:e2e:coverage": "nyc --reporter=html pnpm run test:e2e:ci",
|
|
"test:e2e:ci": "cross-env TEST_ENV=true pnpm exec playwright test",
|
|
"test:e2e:ui": "cross-env TEST_ENV=true pnpm exec playwright test --ui",
|
|
"test:e2e:reporter": "cross-env TEST_ENV=true pnpm exec playwright test --reporter=html",
|
|
"test:e2e:update": "cross-env TEST_ENV=true pnpm exec playwright test --reporter=html --update-snapshots -g shouldUpdateThis",
|
|
"test:e2e:update:debug": "cross-env TEST_ENV=true pnpm exec playwright test -g @debug --reporter=html --update-snapshots -g shouldUpdateThis",
|
|
"test:e2e:headed": "cross-env TEST_ENV=true pnpm exec playwright test --headed",
|
|
"test:e2e:debug": "cross-env TEST_ENV=true pnpm exec playwright test --debug",
|
|
"test:e2e:dist": "pnpm --filter @ohif/app run test:e2e:dist",
|
|
"test:e2e:serve": "pnpm run test:data && pnpm --filter @ohif/app run test:e2e:serve",
|
|
"review:screenshots": "node scripts/screenshot-reviewer.mjs",
|
|
"docs:dev": "pnpm --filter ohif-docs run dev",
|
|
"docs:build": "pnpm --filter ohif-docs run build",
|
|
"docs:preview": "pnpm --filter ohif-docs run serve",
|
|
"docs:publish": "chmod +x ./build-and-publish-docs.sh && ./build-and-publish-docs.sh",
|
|
"version:custom": "node version.mjs",
|
|
"link-list": "npm ls --depth=0 --link=true",
|
|
"cs3d:checkout": "cd libs/@cornerstonejs && git fetch && git checkout",
|
|
"cs3d:check": "node .scripts/cs3d-check.mjs",
|
|
"cs3d:build": "cd libs/@cornerstonejs && pnpm run build:esm",
|
|
"cs3d:watch": "cd libs/@cornerstonejs && pnpm run build:esm:watch",
|
|
"cs3d:install": "cd libs/@cornerstonejs && pnpm install",
|
|
"cs3d:link": "node libs/@cornerstonejs/scripts/link-ohif-cornerstone-node-modules.mjs .",
|
|
"cs3d:unlink": "node libs/@cornerstonejs/scripts/unlink-ohif-cornerstone-node-modules.mjs ."
|
|
},
|
|
"dependencies": {
|
|
"execa": "8.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.29.7",
|
|
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
|
"@babel/plugin-transform-arrow-functions": "7.29.7",
|
|
"@babel/plugin-transform-class-properties": "7.29.7",
|
|
"@babel/plugin-transform-for-of": "7.29.7",
|
|
"@babel/plugin-transform-object-rest-spread": "7.29.7",
|
|
"@babel/plugin-transform-private-methods": "7.29.7",
|
|
"@babel/plugin-transform-private-property-in-object": "7.29.7",
|
|
"@babel/plugin-transform-regenerator": "7.29.7",
|
|
"@babel/plugin-transform-runtime": "7.29.7",
|
|
"@babel/plugin-transform-typescript": "7.29.7",
|
|
"@babel/preset-env": "7.29.7",
|
|
"@babel/preset-react": "7.29.7",
|
|
"@babel/preset-typescript": "7.29.7",
|
|
"@istanbuljs/nyc-config-typescript": "1.0.2",
|
|
"@rsbuild/core": "1.7.3",
|
|
"@rsbuild/plugin-node-polyfill": "1.4.4",
|
|
"@rsbuild/plugin-react": "1.4.5",
|
|
"babel-jest": "29.7.0",
|
|
"babel-loader": "8.4.1",
|
|
"babel-plugin-istanbul": "7.0.1",
|
|
"babel-plugin-transform-import-meta": "2.3.3",
|
|
"cross-env": "7.0.3",
|
|
"css-loader": "6.11.0",
|
|
"cypress": "14.5.2",
|
|
"cypress-file-upload": "5.0.8",
|
|
"file-loader": "6.2.0",
|
|
"identity-obj-proxy": "3.0.0",
|
|
"jest": "29.7.0",
|
|
"jest-environment-jsdom": "29.7.0",
|
|
"jest-junit": "6.4.0",
|
|
"nyc": "17.1.0",
|
|
"playwright-test-coverage": "1.2.12",
|
|
"postcss-loader": "6.2.1",
|
|
"prettier": "3.6.2",
|
|
"prettier-plugin-tailwindcss": "0.6.9",
|
|
"shader-loader": "1.3.1",
|
|
"source-map-support": "0.5.21",
|
|
"style-loader": "1.3.0",
|
|
"ts-node": "10.9.2",
|
|
"worker-loader": "3.0.8"
|
|
},
|
|
"optionalDependencies": {
|
|
"@playwright/test": "1.56.1"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{js,json,css}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"version": "3.13.0-beta.115"
|
|
}
|