mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-07-08 13:55:22 +00:00
64 lines
3.8 KiB
JSON
64 lines
3.8 KiB
JSON
{
|
|
"name": "self-hosted-livesync-cli",
|
|
"private": true,
|
|
"version": "0.25.79-cli",
|
|
"main": "dist/index.cjs",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"prebuild": "node scripts/check-submodule.mjs",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"cli": "node dist/index.cjs",
|
|
"buildRun": "npm run build && npm run cli --",
|
|
"build:docker": "docker build -f Dockerfile -t livesync-cli ../../..",
|
|
"check": "svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json",
|
|
"test:unit": "cd ../../.. && npx vitest run --config vitest.config.unit.ts src/apps/cli/main.unit.spec.ts src/apps/cli/commands/utils.unit.spec.ts src/apps/cli/commands/runCommand.unit.spec.ts src/apps/cli/commands/p2p.unit.spec.ts",
|
|
"test:e2e:two-vaults": "bash test/test-e2e-two-vaults-with-docker-linux.sh",
|
|
"test:e2e:two-vaults:common": "bash test/test-e2e-two-vaults-common.sh",
|
|
"test:e2e:two-vaults:matrix": "bash test/test-e2e-two-vaults-matrix.sh",
|
|
"test:e2e:push-pull": "bash test/test-push-pull-linux.sh",
|
|
"test:e2e:setup-put-cat": "bash test/test-setup-put-cat-linux.sh",
|
|
"test:e2e:sync-two-local": "bash test/test-sync-two-local-databases-linux.sh",
|
|
"test:e2e:p2p": "bash test/test-p2p-three-nodes-conflict-linux.sh",
|
|
"test:e2e:p2p-upload-download-repro": "bash test/test-p2p-upload-download-repro-linux.sh",
|
|
"test:e2e:p2p-host": "bash test/test-p2p-host-linux.sh",
|
|
"test:e2e:p2p-sync": "bash test/test-p2p-sync-linux.sh",
|
|
"test:e2e:mirror": "bash test/test-mirror-linux.sh",
|
|
"test:e2e:remote-commands": "bash test/test-remote-commands-linux.sh",
|
|
"pretest:e2e:all": "npm run build",
|
|
"test:e2e:all": " export RUN_BUILD=0 && npm run test:e2e:setup-put-cat && npm run test:e2e:push-pull && npm run test:e2e:sync-two-local && npm run test:e2e:p2p && npm run test:e2e:mirror && npm run test:e2e:two-vaults && npm run test:e2e:remote-commands",
|
|
"pretest:e2e:docker:all": "npm run build:docker",
|
|
"test:e2e:docker:push-pull": "RUN_BUILD=0 LIVESYNC_TEST_DOCKER=1 bash test/test-push-pull-linux.sh",
|
|
"test:e2e:docker:setup-put-cat": "RUN_BUILD=0 LIVESYNC_TEST_DOCKER=1 bash test/test-setup-put-cat-linux.sh",
|
|
"test:e2e:docker:mirror": "RUN_BUILD=0 LIVESYNC_TEST_DOCKER=1 bash test/test-mirror-linux.sh",
|
|
"test:e2e:docker:remote-commands": "RUN_BUILD=0 LIVESYNC_TEST_DOCKER=1 bash test/test-remote-commands-linux.sh",
|
|
"test:e2e:docker:sync-two-local": "RUN_BUILD=0 LIVESYNC_TEST_DOCKER=1 bash test/test-sync-two-local-databases-linux.sh",
|
|
"test:e2e:docker:p2p": "RUN_BUILD=0 LIVESYNC_TEST_DOCKER=1 bash test/test-p2p-three-nodes-conflict-linux.sh",
|
|
"test:e2e:docker:p2p-sync": "RUN_BUILD=0 LIVESYNC_TEST_DOCKER=1 bash test/test-p2p-sync-linux.sh",
|
|
"test:e2e:docker:all": "export RUN_BUILD=0 && npm run test:e2e:docker:setup-put-cat && npm run test:e2e:docker:push-pull && npm run test:e2e:docker:sync-two-local && npm run test:e2e:docker:mirror && npm run test:e2e:docker:remote-commands"
|
|
},
|
|
"dependencies": {
|
|
"chokidar": "^4.0.0",
|
|
"minimatch": "^10.2.5",
|
|
"octagonal-wheels": "^0.1.47",
|
|
"pouchdb-adapter-http": "^9.0.0",
|
|
"pouchdb-adapter-leveldb": "^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",
|
|
"transform-pouch": "^2.0.0",
|
|
"werift": "^0.23.0"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
|
"typescript": "5.9.3",
|
|
"vite": "^8.0.16",
|
|
"vitest": "^4.1.8"
|
|
}
|
|
}
|