{ "name": "patients", "private": true, "meteor": { "mainModule": { "client": "client/main.tsx", "server": "server/main.ts" } }, "postinstall": { "@fontsource/roboto/300.css": "copy public/@fontsource/roboto/", "@fontsource/roboto/400.css": "copy public/@fontsource/roboto/", "@fontsource/roboto/500.css": "copy public/@fontsource/roboto/", "@fontsource/roboto/700.css": "copy public/@fontsource/roboto/", "@fontsource/roboto/files/*.woff": "copy public/@fontsource/roboto/files/", "@fontsource/roboto/files/*.woff2": "copy public/@fontsource/roboto/files/", "pdfjs-dist/build/pdf.worker.min.js": "copy public/pdfjs-dist/build/", "pdfjs-dist/build/pdf.worker.js.map": "copy public/pdfjs-dist/build/", "pdfjs-dist/cmaps/": "copy public/pdfjs-dist/cmaps", "pdfjs-dist/standard_fonts/": "copy public/pdfjs-dist/standard_fonts" }, "scripts": { "build": "meteor build", "bundle-visualizer": "npm run dev -- --extra-packages bundle-visualizer --production", "check:commit-msg": "commitlint --config commitlint.config.ts", "ci:test": "TEST_BROWSER_DRIVER=puppeteer COVERAGE_OUT_LCOVONLY=1 npm run cover -- --once", "commit-msg": "npm run check:commit-msg -- --edit", "cover": "BABEL_ENV=COVERAGE COVERAGE=1 COVERAGE_APP_FOLDER=$PWD/ npm run test -- --extra-packages lmieulet:meteor-coverage", "cover:dev:non-interactive": "PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium TEST_BROWSER_DRIVER=puppeteer COVERAGE_OUT_HTML=1 npm run cover --", "dev": "MONGO_OPLOG_URL=\"\" meteor run -s settings.json -p ${HOST:-localhost}:${PORT:-12345}", "favicon": "emoji-favicon-cli -d public -v twitter face_with_thermometer", "install-hooks": "husky install", "lint": "xo", "lint-and-fix": "npm run lint -- --fix", "lint-config": "fixpack --dryRun", "lint-config-and-fix": "fixpack || fixpack", "postinstall": "postinstall && npm run favicon", "precommit": "lint-staged", "test": "TZ=Europe/Brussels meteor test -p ${HOST:-localhost}:${PORT:-12348} --driver-package meteortesting:mocha", "test:dev:non-interactive": "PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium TEST_BROWSER_DRIVER=puppeteer npm run test --", "tsc": "tsc", "tsc:watch": "npm run tsc -- --noErrorTruncation --watch", "upgrade": "meteor update && npm run upgrade-deps -- -u && meteor npm install", "upgrade-deps": "meteor node .upgrade/upgrade.js" }, "dependencies": { "@async-iterable-iterator/async-iterable-to-array": "0.0.1", "@babel/runtime": "^7.22.15", "@combinatorics/n-combinations": "^1.0.0", "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.0", "@functional-abstraction/operator": "^3.0.0", "@functional-abstraction/type": "^2.0.1", "@heap-data-structure/pairing-heap": "^4.0.0", "@iterable-iterator/cardinality": "^4.0.0", "@iterable-iterator/chain": "^2.0.0", "@iterable-iterator/filter": "^1.0.0", "@iterable-iterator/group": "^1.0.0", "@iterable-iterator/iter": "^1.0.0", "@iterable-iterator/list": "^1.0.0", "@iterable-iterator/map": "^1.0.0", "@iterable-iterator/next": "^2.0.0", "@iterable-iterator/range": "^2.0.0", "@iterable-iterator/reduce": "^1.0.0", "@iterable-iterator/slice": "^1.0.0", "@iterable-iterator/sorted": "^1.0.0", "@iterable-iterator/window": "^1.0.0", "@iterable-iterator/zip": "^1.0.0", "@mui/icons-material": "^5.15.11", "@mui/lab": "^5.0.0-alpha.166", "@mui/material": "^5.15.11", "@mui/x-data-grid": "^6.20.4", "@mui/x-date-pickers": "^6.19.6", "@set-theory/cartesian-product": "^2.0.0", "@total-order/date": "^1.0.0", "@total-order/iter": "^1.0.0", "@total-order/key": "^1.0.0", "@total-order/primitive": "^1.0.0", "@visx/axis": "^3.3.0", "@visx/event": "^3.3.0", "@visx/gradient": "^3.3.0", "@visx/grid": "^3.3.0", "@visx/group": "^3.3.0", "@visx/legend": "^3.3.0", "@visx/mock-data": "^3.3.0", "@visx/scale": "^3.3.0", "@visx/shape": "^3.3.0", "@visx/tooltip": "^3.3.0", "bcrypt": "^6.0.0", "canvas": "^2.11.2", "chardet": "^2.0.0", "colord": "^2.9.3", "core-js": "^3.32.2", "date-fns": "^2.30.0", "debounce": "^1.2.1", "downshift": "^7.2.1", "email-addresses": "^5.0.0", "emittery": "^1.0.0", "escape-string-regexp": "^5.0.0", "express": "^4.21.2", "fast-diff": "^1.3.0", "file-saver": "^2.0.5", "healthone": "^7.0.0", "history": "^5.3.0", "iban": "^0.0.14", "ical-generator": "^4.1.0", "iconv-lite": "^0.7.0", "idb": "^6.1.5", "jspdf": "^3.0.2", "lodash.deburr": "^4.1.0", "lodash.omit": "^4.5.0", "lru-cache": "^10.0.1", "medidoc": "1.2.0", "mem": "^8.1.1", "meteor-node-stubs": "^1.2.5", "node-fetch": "^3.3.2", "notistack": "^3.0.1", "p-debounce": "^4.0.0", "papaparse": "^5.4.1", "pdfjs-dist": "~3.11.174", "qrcode.react": "^3.1.0", "rate-limiter-flexible": "^4.0.1", "react": "^18.2.0", "react-color": "^2.19.3", "react-dom": "^18.2.0", "react-fast-compare": "^3.2.2", "react-loading": "^2.0.3", "react-number-format": "^5.3.1", "react-router-dom": "~6.3.0", "react-spring": "10.0.4", "regenerator-runtime": "^0.14.0", "sepa-payment-qr-code": "^2.0.1", "sharp": "^0.34.0", "sort-keys": "^5.0.0", "tss-react": "^4.9.1", "use-debounce": "^10.0.4", "xml-js": "^1.6.11", "zod": "^3.22.4" }, "devDependencies": { "@babel/eslint-parser": "7.29.13", "@babel/plugin-syntax-jsx": "7.29.7", "@babel/plugin-transform-class-properties": "7.29.7", "@babel/plugin-transform-class-static-block": "7.29.14", "@babel/plugin-transform-private-methods": "7.29.7", "@babel/plugin-transform-typescript": "7.29.9", "@commitlint/cli": "21.2.4", "@faker-js/faker": "8.4.1", "@fontsource/roboto": "5.3.0", "@iterable-iterator/repeat": "1.0.1", "@testing-library/dom": "10.4.2", "@testing-library/react": "14.3.1", "@testing-library/user-event": "14.6.12", "@types/chai": "4.3.20", "@types/express": "4.17.25", "@types/luxon": "3.7.6", "@types/meteor": "2.9.8", "@types/mocha": "8.2.3", "@types/node": "14.18.63", "@types/react": "18.3.4", "@types/react-color": "3.0.13", "@types/react-dom": "18.3.0", "babel-plugin-istanbul": "8.0.0", "babel-plugin-transform-remove-console": "6.9.4", "chai": "4.5.0", "dayjs": "1.11.23", "emoji-favicon-cli": "3.0.1", "eslint-config-xo-react": "0.27.0", "eslint-plugin-no-only-tests": "3.4.0", "eslint-plugin-react": "7.37.5", "eslint-plugin-react-hooks": "4.6.2", "fixpack": "4.0.0", "husky": "8.0.3", "ical.js": "1.5.0", "lint-staged": "17.6.0", "moment": "2.31.0", "moment-timezone": "0.6.5", "npm-check-updates": "16.14.20", "postinstall": "0.11.2", "puppeteer": "19.11.1", "rrule": "2.8.1", "simpl-schema": "3.4.9", "supertest": "7.3.1", "total-order": "4.0.1", "typescript": "~4.9.5", "xo": "0.54.2" }, "babel": { "assumptions": { "privateFieldsAsProperties": true, "setPublicClassFields": true }, "plugins": [ "@babel/plugin-transform-class-static-block", "@babel/plugin-transform-class-properties", "@babel/plugin-transform-private-methods" ], "env": { "COVERAGE": { "plugins": [ [ "transform-remove-console", { "exclude": [ "time", "timeEnd", "log", "error", "warn" ] } ], "istanbul" ] } } }, "xo": { "parser": "@babel/eslint-parser", "extends": "xo-react", "prettier": true, "ignores": [ "packages/**", "imports/util/pdf/pdfjs-dist/**" ], "rules": { "camelcase": "off", "no-constant-condition": "off", "no-negated-condition": "off", "unicorn/no-negated-condition": "off", "capitalized-comments": "off", "no-labels": "off", "no-warning-comments": "off", "import/extensions": "off", "import/no-cycle": "warn", "import/no-duplicates": "off", "node/file-extension-in-import": "off", "n/file-extension-in-import": "off", "import/no-anonymous-default-export": "off", "import/no-extraneous-dependencies": "off", "import/order": [ "error", { "groups": [ "builtin", "external", "parent", "sibling", "index" ], "newlines-between": "always-and-inside-groups", "warnOnUnassignedImports": true } ], "unicorn/filename-case": "off", "unicorn/no-array-for-each": "off", "unicorn/prefer-logical-operator-over-ternary": "off", "unicorn/no-array-callback-reference": "off", "unicorn/no-array-method-this-argument": "off", "unicorn/no-fn-reference-in-iterator": "off", "unicorn/prevent-abbreviations": "off", "unicorn/prefer-node-protocol": "off", "unicorn/prefer-json-parse-buffer": "off", "react/function-component-definition": "off", "react/state-in-constructor": "off", "react/static-property-placement": "off", "react/prop-types": "off", "react/boolean-prop-naming": "off", "react/no-array-index-key": "off", "react/no-unsafe": "off", "react/require-default-props": "off", "react/jsx-no-duplicate-props": [ "error", { "ignoreCase": false } ], "react/jsx-curly-brace-presence": [ "error", { "props": "never", "children": "never", "propElementValues": "always" } ], "@typescript-eslint/naming-convention": "off", "@typescript-eslint/consistent-type-assertions": "off", "@typescript-eslint/no-unsafe-argument": "off", "@typescript-eslint/no-unsafe-call": "off", "@typescript-eslint/no-unsafe-return": "off", "@typescript-eslint/no-unsafe-assignment": "off", "@typescript-eslint/no-unsafe-member-access": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/restrict-template-expressions": "off" }, "overrides": [ { "files": [ "imports/ui/Router.tsx" ], "rules": { "react/no-children-prop": "off" } }, { "files": [ "**/client/**/*.{js,jsx,ts,tsx}", "imports/ui/**/*.{js,jsx,ts,tsx}" ], "env": "browser" }, { "files": [ "imports/api/**/*.mock.{js,jsx,ts,tsx}", "server/**/*.{app-,}tests.{js,jsx,ts,tsx}", "imports/**/*.{app-,}tests.{js,jsx,ts,tsx}", "imports/test/**/*.{js,jsx,ts,tsx}", "test/**/*.app-tests.{js,jsx,ts,tsx}" ], "env": [ "meteor", "mocha" ], "plugins": [ "no-only-tests" ], "rules": { "no-only-tests/no-only-tests": [ "error", { "fix": true } ], "unicorn/prefer-module": "off" } }, { "files": [ "scripts/assert-replica-set.js" ], "rules": { "no-var": "off", "no-undef": "off" } }, { "files": [ "lint-staged.config.js" ], "rules": { "unicorn/prefer-module": "off", "unicorn/numeric-separators-style": "off" } } ] } }