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

package.json

75 lines2.6 KB

1{
2 "name": "@tanstack/convex-db-collection",
3 "private": true,
4 "version": "1.0.0-rc.1",
5 "description": "Convex collection for TanStack DB",
6 "author": "Tanner Linsley",
7 "license": "MIT",
8 "repository": {
9 "type": "git",
10 "url": "git+https://github.com/TanStack/db.git",
11 "directory": "packages/convex-db-collection"
12 },
13 "homepage": "https://tanstack.com/db",
14 "keywords": [
15 "convex",
16 "tanstack",
17 "optimistic",
18 "typescript"
19 ],
20 "scripts": {
21 "build": "vite build",
22 "dev": "vite build --watch",
23 "lint": "eslint . --fix",
24 "test": "vitest run",
25 "test:oracles": "vitest run tests/snapshot-oracle.property.test.ts tests/ownership-oracle.property.test.ts tests/pagination-oracle.property.test.ts tests/offline-oracle.property.test.ts tests/values-oracle.property.test.ts tests/lazy-paging-oracle.property.test.ts tests/lazy-paging-history-oracle.property.test.ts tests/lazy-paging-receipt-oracle.property.test.ts tests/sdk-cache-oracle.test.ts tests/lazy-paging-interleaving-oracle.property.test.ts tests/lazy-paging-native-receipt-oracle.property.test.ts tests/lazy-paging-version-oracle.property.test.ts tests/lazy-paging-failure-history-oracle.property.test.ts tests/lazy-paging-revalidation-oracle.property.test.ts tests/lazy-paging-load-outcome-oracle.property.test.ts tests/lazy-paging-abort-replay-oracle.property.test.ts tests/lazy-paging-write-model-oracle.test.ts",
26 "typecheck": "tsc --noEmit",
27 "test:e2e": "vitest run --config vitest.e2e.config.ts",
28 "test:e2e:lazy": "vitest run --config vitest.lazy.e2e.config.ts"
29 },
30 "type": "module",
31 "main": "dist/cjs/index.cjs",
32 "module": "dist/esm/index.js",
33 "types": "dist/esm/index.d.ts",
34 "exports": {
35 ".": {
36 "import": {
37 "types": "./dist/esm/index.d.ts",
38 "default": "./dist/esm/index.js"
39 },
40 "require": {
41 "types": "./dist/cjs/index.d.cts",
42 "default": "./dist/cjs/index.cjs"
43 }
44 },
45 "./package.json": "./package.json",
46 "./offline": {
47 "import": {
48 "types": "./dist/esm/offline.d.ts",
49 "default": "./dist/esm/offline.js"
50 },
51 "require": {
52 "types": "./dist/cjs/offline.d.cts",
53 "default": "./dist/cjs/offline.cjs"
54 }
55 }
56 },
57 "sideEffects": false,
58 "files": [
59 "dist",
60 "src"
61 ],
62 "dependencies": {
63 "@standard-schema/spec": "^1.1.0",
64 "@tanstack/db": "workspace:*",
65 "@tanstack/offline-transactions": "workspace:*"
66 },
67 "peerDependencies": {
68 "convex": "^1.47.0",
69 "typescript": ">=4.7"
70 },
71 "devDependencies": {
72 "@vitest/coverage-istanbul": "^4.1.12",
73 "convex": "^1.47.0"
74 }