Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

package.json

74 lines6.3 KB

1{
2 "name": "@tanstack/db",
3 "version": "0.15.2",
4 "description": "A reactive client store for building super fast apps on sync",
5 "author": "Kyle Mathews",
6 "license": "MIT",
7 "repository": {
8 "type": "git",
9 "url": "git+https://github.com/TanStack/db.git",
10 "directory": "packages/db"
11 },
12 "homepage": "https://tanstack.com/db",
13 "keywords": [
14 "optimistic",
15 "typescript",
16 "tanstack-intent"
17 ],
18 "scripts": {
19 "build": "vite build",
20 "build:minified": "vite build --minify",
21 "dev": "vite build --watch",
22 "lint": "eslint . --fix",
23 "test": "vitest --run",
24 "test:dist": "vitest run --config vitest.dist.config.ts",
25 "test:facade-retention": "node --expose-gc --import tsx tests/facade-retention.probe.ts",
26 "test:oracles": "vitest --run --coverage.enabled=false tests/reverse-index-oracle.property.test.ts tests/query/compiler/in-evaluator-oracle.property.test.ts tests/cleanup-queue-oracle.property.test.ts tests/comparison-oracle.property.test.ts tests/duration-query-equality-oracle.test.ts tests/cursor-oracle.property.test.ts tests/index-update-oracle.property.test.ts tests/utils-oracle.property.test.ts tests/change-event-history-oracle.test.ts tests/index-suggestion-oracle.test.ts tests/btree-map-oracle.test.ts tests/paced-mutations-oracle.test.ts tests/db-client-hydration-authority-oracle.test.ts tests/local-storage-order-oracle.test.ts tests/local-storage-value-fidelity-oracle.property.test.ts tests/collection-cleanup-restart-oracle.test.ts tests/collection-gc-transaction-oracle.property.test.ts tests/collection-gc-retention-oracle.property.test.ts tests/collection-gc-mutation-oracle.property.test.ts tests/effect-disposal-oracle.test.ts tests/optimistic-transaction-oracle.property.test.ts tests/transaction-ownership-oracle.property.test.ts tests/optimistic-settlement-boundaries-oracle.test.ts tests/optimistic-history-publication-oracle.test.ts tests/optimistic-history-outcomes-oracle.test.ts tests/collection-metadata-publication-oracle.property.test.ts tests/collection-index-value-oracle.test.ts tests/collection-state-retention-oracle.property.test.ts tests/collection-subscription-lifecycle-history-oracle.property.test.ts tests/collection-subscription-lifecycle-oracle.test.ts tests/collection-subscription-reentrancy-oracle.test.ts tests/collection-subscription-lifecycle-publication-oracle.property.test.ts tests/collection-subscription-replay-oracle.property.test.ts tests/d2-source-reconciliation-oracle.property.test.ts tests/live-query-observer-history-oracle.property.test.ts tests/live-query-observer-hydration-oracle.property.test.ts tests/live-query-observer-snapshot-oracle.property.test.ts tests/query/cold-join-reconciliation-oracle.test.ts tests/query/identity-output-shape-oracle.test.ts tests/query/optimizer-semantics-oracle.test.ts tests/query/index-path-collision-oracle.test.ts tests/query/custom-index-order-selection-oracle.test.ts tests/query/mixed-index-order-oracle.test.ts tests/query/includes-collection-oracle.property.test.ts tests/query/includes-functional-projection-oracle.test.ts tests/query/includes-functional-input-boundary.test.ts tests/query/includes-context-transport-oracle.test.ts tests/query/includes-cross-formulation-oracle.property.test.ts tests/query/includes-optimistic-oracle.property.test.ts tests/query/includes-oracle.property.test.ts tests/query/includes-alias-shadowing-oracle.test.ts tests/query/includes-outer-join-route-work-oracle.test.ts tests/query/includes-publication-oracle.test.ts tests/query/includes-query-shape-oracle.test.ts tests/query/subquery-user-value-oracle.test.ts tests/query/includes-temporal-oracle.test.ts tests/query/includes-work-counter-oracle.test.ts tests/query/load-subset-oracle.property.test.ts tests/query/load-subset-replay-refinement-oracle.test.ts tests/query/load-subset-source-readiness-refinement-oracle.test.ts tests/query/load-subset-transaction-refinement-oracle.test.ts tests/query/ordered-source-loader-state-oracle.test.ts tests/query/ordered-demand-retirement.test.ts tests/query/ordered-default-work.test.ts tests/query/ordered-lifecycle-oracle.property.test.ts tests/query/ordered-work-oracle.property.test.ts tests/query/pagination-oracle.property.test.ts tests/query/includes-space-oracle.test.ts tests/query/virtual-row-fields-oracle.test.ts tests/query/where-predicate-publication-oracle.property.test.ts tests/query/join-result-key-oracle.property.test.ts tests/query/pooled-live-query-oracle.property.test.ts tests/live-query-deferred-acquisition-oracle.test.ts tests/flat-change-tracking-oracle.property.test.ts tests/truncate-readiness-oracle.test.ts tests/proxy-detachment-contract-oracle.test.ts tests/production-error-messages-oracle.test.ts tests/query/bucket-facade-rollback-oracle.property.test.ts tests/query/aggregate-select-oracle.property.test.ts tests/query/load-subset-joint-replay-oracle.property.test.ts",
27 "bench:nested-includes": "vitest bench tests/query/includes-performance.bench.ts --run",
28 "test:indexed-db:package": "pnpm --filter @tanstack/db... build && vitest run --config vitest.indexed-db.package.config.ts",
29 "test:collection-gc:browser": "playwright test --config playwright.collection-gc.config.ts",
30 "test:indexed-db:browser": "playwright test --config playwright.indexed-db.config.ts",
31 "test:indexed-db:oracles": "vitest --run --coverage.enabled=false tests/indexed-db/*oracle*.test.ts"
32 },
33 "type": "module",
34 "main": "dist/cjs/index.cjs",
35 "module": "dist/esm/index.js",
36 "types": "dist/esm/index.d.ts",
37 "exports": {
38 ".": {
39 "import": {
40 "types": "./dist/esm/index.d.ts",
41 "default": "./dist/esm/index.js"
42 },
43 "require": {
44 "types": "./dist/cjs/index.d.cts",
45 "default": "./dist/cjs/index.cjs"
46 }
47 },
48 "./package.json": "./package.json"
49 },
50 "sideEffects": false,
51 "files": [
52 "dist",
53 "src",
54 "skills"
55 ],
56 "dependencies": {
57 "@standard-schema/spec": "^1.1.0",
58 "@tanstack/db-ivm": "workspace:*",
59 "@tanstack/pacer-lite": "^0.2.1"
60 },
61 "peerDependencies": {
62 "typescript": ">=4.7"
63 },
64 "devDependencies": {
65 "@playwright/test": "^1.60.0",
66 "@tanstack/config": "^0.22.2",
67 "@vitest/coverage-istanbul": "^3.2.4",
68 "arktype": "^2.1.29",
69 "fake-indexeddb": "^6.0.0",
70 "mitt": "^3.0.1",
71 "superjson": "^2.2.6",
72 "temporal-polyfill": "^0.3.0"
73 }