{
    "name": "obsidian-livesync",
    "version": "0.25.60",
    "description": "Reflect your vault changes to some other devices immediately. Please make sure to disable other synchronize solutions to avoid content corruption or duplication.",
    "main": "main.js",
    "type": "module",
    "scripts": {
        "bakei18n": "npm run i18n:yaml2json && npm run i18n:bakejson",
        "i18n:bakejson": "npx tsx ./src/lib/_tools/bakei18n.ts",
        "i18n:yaml2json": "npx tsx ./src/lib/_tools/yaml2json.ts",
        "i18n:json2yaml": "npx tsx ./src/lib/_tools/json2yaml.ts",
        "prettyjson": "prettier --config ./.prettierrc.mjs ./src/lib/src/common/messagesJson/*.json --write --log-level error",
        "postbakei18n": "prettier --config ./.prettierrc.mjs ./src/lib/src/common/messages/*.ts --write --log-level error",
        "posti18n:yaml2json": "npm run prettyjson",
        "predev": "npm run bakei18n",
        "dev": "node --env-file=.env esbuild.config.mjs",
        "prebuild": "npm run bakei18n",
        "build": "node esbuild.config.mjs production",
        "buildVite": "npx dotenv-cli -e .env  -- vite build --mode production",
        "buildViteOriginal": "npx dotenv-cli -e .env  -- vite build --mode original",
        "buildDev": "node esbuild.config.mjs dev",
        "lint": "eslint src",
        "svelte-check": "svelte-check --tsconfig ./tsconfig.json",
        "tsc-check": "tsc --noEmit",
        "pretty": "npm run prettyNoWrite -- --write --log-level error",
        "prettyCheck": "npm run prettyNoWrite -- --check",
        "prettyNoWrite": "prettier --config ./.prettierrc.mjs \"**/*.js\" \"**/*.ts\" \"**/*.json\" ",
        "check": "npm run lint && npm run svelte-check",
        "unittest": "deno test -A --no-check --coverage=cov_profile  --v8-flags=--expose-gc  --trace-leaks  ./src/",
        "test": "vitest run",
        "test:unit": "vitest run --config vitest.config.unit.ts",
        "test:unit:coverage": "vitest run --config vitest.config.unit.ts --coverage",
        "test:install-playwright": "npx playwright install chromium",
        "test:install-dependencies": "npm run test:install-playwright",
        "test:coverage": "vitest run --coverage",
        "test:docker-couchdb:up": "npx dotenv-cli -e .env -e .test.env -- ./test/shell/couchdb-start.sh",
        "test:docker-couchdb:init": "npx dotenv-cli -e .env -e .test.env -- ./test/shell/couchdb-init.sh",
        "test:docker-couchdb:start": "npm run test:docker-couchdb:up && sleep 5 && npm run test:docker-couchdb:init",
        "test:docker-couchdb:down": "npx dotenv-cli -e .env -e .test.env -- ./test/shell/couchdb-stop.sh",
        "test:docker-couchdb:stop": "npm run test:docker-couchdb:down",
        "test:docker-s3:up": "npx dotenv-cli -e .env -e .test.env -- ./test/shell/minio-start.sh",
        "test:docker-s3:init": "npx dotenv-cli -e .env -e .test.env -- ./test/shell/minio-init.sh",
        "test:docker-s3:start": "npm run test:docker-s3:up && sleep 3 && npm run test:docker-s3:init",
        "test:docker-s3:down": "npx dotenv-cli -e .env -e .test.env -- ./test/shell/minio-stop.sh",
        "test:docker-s3:stop": "npm run test:docker-s3:down",
        "test:docker-p2p:up": "npx dotenv-cli -e .env -e .test.env -- ./test/shell/p2p-start.sh",
        "test:docker-p2p:init": "npx dotenv-cli -e .env -e .test.env -- ./test/shell/p2p-init.sh",
        "test:docker-p2p:start": "npm run test:docker-p2p:up && sleep 3 && npm run test:docker-p2p:init",
        "test:docker-p2p:down": "npx dotenv-cli -e .env -e .test.env -- ./test/shell/p2p-stop.sh",
        "test:docker-p2p:stop": "npm run test:docker-p2p:down",
        "test:docker-all:up": "npm run test:docker-couchdb:up ; npm run test:docker-s3:up ; npm run test:docker-p2p:up",
        "test:docker-all:init": "npm run test:docker-couchdb:init ; npm run test:docker-s3:init ; npm run test:docker-p2p:init",
        "test:docker-all:down": "npm run test:docker-couchdb:down ; npm run test:docker-s3:down ; npm run test:docker-p2p:down",
        "test:docker-all:start": "npm run test:docker-all:up && sleep 5 && npm run test:docker-all:init",
        "test:docker-all:stop": "npm run test:docker-all:down",
        "test:full": "npm run test:docker-all:start && vitest run --coverage && npm run test:docker-all:stop",
        "test:p2p": "bash test/suitep2p/run-p2p-tests.sh"
    },
    "keywords": [],
    "author": "vorotamoroz",
    "license": "MIT",
    "devDependencies": {
        "@chialab/esbuild-plugin-worker": "^0.19.0",
        "@eslint/compat": "^2.0.2",
        "@eslint/eslintrc": "^3.3.4",
        "@eslint/js": "^9.39.3",
        "@sveltejs/vite-plugin-svelte": "^6.2.4",
        "@tsconfig/svelte": "^5.0.8",
        "@types/deno": "^2.5.0",
        "@types/diff-match-patch": "^1.0.36",
        "@types/markdown-it": "^14.1.2",
        "@types/node": "^24.10.13",
        "@types/pouchdb": "^6.4.2",
        "@types/pouchdb-adapter-http": "^6.1.6",
        "@types/pouchdb-adapter-idb": "^6.1.7",
        "@types/pouchdb-browser": "^6.1.5",
        "@types/pouchdb-core": "^7.0.15",
        "@types/pouchdb-mapreduce": "^6.1.10",
        "@types/pouchdb-replication": "^6.4.7",
        "@types/transform-pouch": "^1.0.6",
        "@typescript-eslint/eslint-plugin": "8.56.1",
        "@typescript-eslint/parser": "8.56.1",
        "@vitest/browser": "^4.1.1",
        "@vitest/browser-playwright": "^4.1.1",
        "@vitest/coverage-v8": "^4.1.1",
        "builtin-modules": "5.0.0",
        "dotenv": "^17.3.1",
        "dotenv-cli": "^11.0.0",
        "esbuild": "0.25.0",
        "esbuild-plugin-inline-worker": "^0.1.1",
        "esbuild-svelte": "^0.9.4",
        "eslint": "^9.39.3",
        "eslint-plugin-import": "^2.32.0",
        "eslint-plugin-svelte": "^3.15.0",
        "events": "^3.3.0",
        "glob": "^13.0.6",
        "obsidian": "^1.12.3",
        "playwright": "^1.58.2",
        "postcss": "^8.5.6",
        "postcss-load-config": "^6.0.1",
        "pouchdb-adapter-http": "^9.0.0",
        "pouchdb-adapter-idb": "^9.0.0",
        "pouchdb-adapter-indexeddb": "^9.0.0",
        "pouchdb-adapter-memory": "^9.0.0",
        "pouchdb-core": "^9.0.0",
        "pouchdb-errors": "^9.0.0",
        "pouchdb-find": "^9.0.0",
        "pouchdb-mapreduce": "^9.0.0",
        "pouchdb-merge": "^9.0.0",
        "pouchdb-replication": "^9.0.0",
        "pouchdb-utils": "^9.0.0",
        "prettier": "3.8.1",
        "rollup-plugin-copy": "^3.5.0",
        "svelte": "5.41.1",
        "svelte-check": "^4.4.3",
        "svelte-preprocess": "^6.0.3",
        "terser": "^5.39.0",
        "transform-pouch": "^2.0.0",
        "tslib": "^2.8.1",
        "tsx": "^4.21.0",
        "typescript": "5.9.3",
        "vite": "^7.3.1",
        "vite-plugin-istanbul": "^8.0.0",
        "vitest": "^4.1.1",
        "webdriverio": "^9.27.0",
        "yaml": "^2.8.2"
    },
    "dependencies": {
        "@aws-sdk/client-s3": "^3.808.0",
        "@smithy/fetch-http-handler": "^5.3.10",
        "@smithy/md5-js": "^4.2.9",
        "@smithy/middleware-apply-body-checksum": "^4.3.9",
        "@smithy/protocol-http": "^5.3.9",
        "@smithy/querystring-builder": "^4.2.9",
        "@trystero-p2p/nostr": "^0.23.0",
        "commander": "^14.0.3",
        "diff-match-patch": "^1.0.5",
        "fflate": "^0.8.2",
        "idb": "^8.0.3",
        "markdown-it": "^14.1.1",
        "minimatch": "^10.2.2",
        "octagonal-wheels": "^0.1.45",
        "pouchdb-adapter-leveldb": "^9.0.0",
        "qrcode-generator": "^1.4.4",
        "werift": "^0.22.9",
        "xxhash-wasm-102": "npm:xxhash-wasm@^1.0.2"
    }
}
