{ "name": "tamanu", "version": "2.71.0", "description": "This repo contains all the packages for Tamanu", "homepage": "https://github.com/beyondessential/tamanu.git#readme", "repository": "git@github.com:beyondessential/tamanu.git", "author": "BES International Limited", "license": "GPL-3.0-and-later AND BUSL-1.1", "type": "module", "scripts": { "prepare": "node scripts/run-patch-package.mjs", "clean": "npm run clean --workspaces --if-present", "clean:deps": "npm run clean:deps --workspaces --if-present && rimraf node_modules", "create-migration": "node scripts/create-server-migration.mjs", "build": "npm run build --workspace=@tamanu/web-frontend --workspace=@tamanu/patient-portal", "clean-build": "npm run clean-build --workspace=@tamanu/web-frontend --workspace=@tamanu/patient-portal", "test": "npm run build && vitest run && node scripts/test-all.mjs", "test-watch": "vitest watch", "test-coverage": "vitest run --coverage", "lint-all": "eslint .", "lint-fix": "npm run lint-all -- --fix", "admin-panel-start-dev": "npm run admin-start-dev --workspace @tamanu/web-frontend", "web-start-dev": "npm run client-start-dev --workspace @tamanu/web-frontend", "patient-portal-start-dev": "npm run start-dev --workspace @tamanu/patient-portal", "watch-shared-and": "node scripts/watch-shared-and.js", "web-unit-test": "npm run --workspace @tamanu/web-frontend test", "web-unit-test-watch": "npm run --workspace @tamanu/web-frontend test-watch", "facility-test": "npm run --workspace @tamanu/facility-server test", "facility-start-dev": "npm run watch-shared-and @tamanu/facility-server start-dev", "facility-test-watch": "npm run watch-shared-and @tamanu/facility-server test-watch", "facility-migrate": "NODE_ENV=${NODE_ENV:-development} npm run --workspace @tamanu/facility-server start-watch upgrade", "facility-migrate-down": "NODE_ENV=${NODE_ENV:-development} npm run --workspace @tamanu/facility-server start-watch just-migrate down", "mobile-run-android": "npm run --workspace @tamanu/mobile android", "shared-test": "npm run --workspace @tamanu/shared test", "central-test": "npm run --workspace @tamanu/central-server test", "central-shell": "NODE_ENV=${NODE_ENV:-development} npm run --workspace @tamanu/central-server shell", "central-start-dev": "npm run watch-shared-and @tamanu/central-server start-dev", "central-test-watch": "npm run watch-shared-and @tamanu/central-server test-watch", "central-start": "npm run central-start-dev", "central-migrate": "NODE_ENV=${NODE_ENV:-development} npm run --workspace @tamanu/central-server start-watch upgrade", "central-migrate-down": "NODE_ENV=${NODE_ENV:-development} npm run --workspace @tamanu/central-server start-watch just-migrate down", "build-report": "npm run --workspace @tamanu/central-server start report", "generate-migration-baseline": "NODE_CONFIG_DIR=packages/central-server/config tsx packages/scripts/src/generateMigrationBaseline.js", "dbt-generate-model": "NODE_CONFIG_DIR=packages/central-server/config tsx packages/scripts/src/dbt/generateModel.js", "dbt-generate-docs": "NODE_CONFIG_DIR=packages/central-server/config tsx packages/scripts/src/dbt/generateDocs.js", "dbt-check-todos": "NODE_CONFIG_DIR=packages/central-server/config tsx packages/scripts/src/dbt/checkTodos.js", "e2e-test": "npm run --workspace @tamanu/e2e-tests test", "e2e-show-report": "npm run --workspace @tamanu/e2e-tests show-report", "synthetic-test:facility": "npm run --workspace @tamanu/synthetic-tests test:facility", "synthetic-test:central": "npm run --workspace @tamanu/synthetic-tests test:central" }, "engines": { "node": ">=26.3.1" }, "packageManager": "npm@11.16.0", "devEngines": { "packageManager": { "name": "npm", "version": "^11.16.0", "onFail": "error" } }, "private": true, "workspaces": { "packages": [ "packages/api-client", "packages/build-tooling", "packages/central-server", "packages/constants", "packages/database", "packages/e2e-tests", "packages/errors", "packages/facility-server", "packages/fake-data", "packages/mobile", "packages/scripts", "packages/settings", "packages/shared", "packages/upgrade", "packages/utils", "packages/web", "packages/patient-portal", "packages/ui-components", "packages/synthetic-tests" ] }, "devDependencies": { "@eslint/js": "^8.55.0", "@playwright/test": "1.63.0", "@tanstack/eslint-plugin-query": "^5.101.4", "@typescript-eslint/eslint-plugin": "^6.14.0", "@typescript-eslint/parser": "^6.14.0", "browserslist": "^4.28.0", "eslint": "^8.55.0", "eslint-plugin-markdown": "^3.0.1", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "globals": "^13.24.0", "prettier": "^3.4.2", "rimraf": "^6.1.3", "ts-morph": "^28.0.0", "tsx": "^4.22.4", "typescript": "^5.8.0", "vite": "^7.3.5", "vitest": "^4.1.8" }, "dependencies": { "concurrently": "^9.2.1", "patch-package": "^8.0.0" }, "overrides": { "@playwright/browser-chromium": "npm:noop2@2.0.0", "shell-quote": "^1.8.4", "fast-xml-parser": "^5.8.0", "protobufjs": "^7.6.4", "esbuild": "^0.28.1", "ms": "^2.1.3", "react-native-svg": "^12.1.0", "react-redux": "8.0.2", "@react-pdf/renderer": "^3.4.4", "@react-pdf/layout": "3.11.5", "@mui/material": "~6.1.1", "@mui/system": "~6.1.1", "@mui/icons-material": "~6.1.1", "@mui/styled-engine": "~6.1.1", "@mui/x-date-pickers": "~7.22.0", "@types/react-native-svg-charts": { "react-native": "0.85.3", "react-native-svg": "15.15.5" }, "vitest": { "@opentelemetry/api": "1.4.1" }, "react-native-nitro-sqlite": { "typeorm": "^0.3.28" } } }