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

package.json

62 lines2.2 KB

1{
2 "name": "@tanstack/indexeddb-db-collection",
3 "version": "0.0.3",
4 "description": "IndexedDB collection for TanStack DB",
5 "author": "Ravi Atluri",
6 "license": "MIT",
7 "repository": {
8 "type": "git",
9 "url": "git+https://github.com/TanStack/db.git",
10 "directory": "packages/indexeddb-db-collection"
11 },
12 "homepage": "https://tanstack.com/db",
13 "keywords": [
14 "indexeddb",
15 "tanstack",
16 "optimistic",
17 "typescript",
18 "offline"
19 ],
20 "scripts": {
21 "build": "vite build",
22 "dev": "vite build --watch",
23 "lint": "eslint .",
24 "test": "vitest run",
25 "test:oracles": "vitest run tests/persistence-oracle.test.ts tests/settlement-oracle.test.ts tests/transport-oracle.test.ts tests/wrapper.test.ts tests/compatibility-oracle.test.ts tests/cross-tab-history-oracle.test.ts tests/cross-tab-boundary-oracle.test.ts tests/pending-history-oracle.test.ts tests/local-write-order-oracle.test.ts --coverage.enabled=false tests/retirement-oracle.test.ts tests/deletion-queue-oracle.test.ts tests/wrapper-settlement-oracle.test.ts tests/persistence-values-oracle.test.ts",
26 "typecheck": "tsc --noEmit -p tsconfig.test.json",
27 "test:oracles:stress": "TANSTACK_INDEXEDDB_ORACLE_PROFILE=stress vitest run tests/cross-tab-history-oracle.test.ts tests/pending-history-oracle.test.ts --coverage.enabled=false",
28 "test:browser": "playwright test",
29 "test:package": "pnpm --filter @tanstack/indexeddb-db-collection... build && vitest run --config vitest.package.config.ts"
30 },
31 "type": "module",
32 "main": "dist/cjs/index.cjs",
33 "module": "dist/esm/index.js",
34 "types": "dist/esm/index.d.ts",
35 "exports": {
36 ".": {
37 "import": {
38 "types": "./dist/esm/index.d.ts",
39 "default": "./dist/esm/index.js"
40 },
41 "require": {
42 "types": "./dist/cjs/index.d.cts",
43 "default": "./dist/cjs/index.cjs"
44 }
45 },
46 "./package.json": "./package.json"
47 },
48 "sideEffects": false,
49 "files": [
50 "dist",
51 "src"
52 ],
53 "dependencies": {
54 "@standard-schema/spec": "^1.1.0",
55 "@tanstack/db": "workspace:*"
56 },
57 "devDependencies": {
58 "@playwright/test": "^1.60.0",
59 "@vitest/coverage-istanbul": "^3.2.4",
60 "fake-indexeddb": "^6.0.0"
61 }