dexie-cloud-sdk 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +174 -0
- package/dist/index.d.mts +236 -0
- package/dist/index.d.ts +236 -0
- package/dist/index.js +1065 -0
- package/dist/index.mjs +1017 -0
- package/package.json +79 -0
package/package.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dexie-cloud-sdk",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Official JavaScript SDK for Dexie Cloud - Local-first database with sync",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.esm.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.esm.js",
|
|
12
|
+
"require": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"README.md",
|
|
18
|
+
"LICENSE"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsup src/index.ts --format cjs,esm --dts --clean --external node-fetch",
|
|
22
|
+
"build:watch": "npm run build -- --watch",
|
|
23
|
+
"test": "vitest run",
|
|
24
|
+
"test:watch": "vitest",
|
|
25
|
+
"test:ui": "vitest --ui",
|
|
26
|
+
"test:coverage": "vitest run --coverage",
|
|
27
|
+
"lint": "eslint src --ext .ts,.js",
|
|
28
|
+
"lint:fix": "eslint src --ext .ts,.js --fix",
|
|
29
|
+
"typecheck": "tsc --noEmit",
|
|
30
|
+
"dev": "tsup src/index.ts --format cjs,esm --dts --watch --external node-fetch",
|
|
31
|
+
"test:e2e": "vitest run --config vitest.e2e.config.ts",
|
|
32
|
+
"test:e2e:docker": "docker compose -f docker-compose.test.yml up -d && pnpm run test:e2e; docker compose -f docker-compose.test.yml down -v",
|
|
33
|
+
"prepublishOnly": "npm run build && npm run test && npm run lint"
|
|
34
|
+
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"dexie",
|
|
37
|
+
"dexie-cloud",
|
|
38
|
+
"indexeddb",
|
|
39
|
+
"local-first",
|
|
40
|
+
"database",
|
|
41
|
+
"sync",
|
|
42
|
+
"offline",
|
|
43
|
+
"real-time",
|
|
44
|
+
"typescript",
|
|
45
|
+
"tson"
|
|
46
|
+
],
|
|
47
|
+
"author": "David Fahlander <david.fahlander@gmail.com>",
|
|
48
|
+
"license": "MIT",
|
|
49
|
+
"repository": {
|
|
50
|
+
"type": "git",
|
|
51
|
+
"url": "git+https://github.com/dexie/dexie-cloud-sdk.git"
|
|
52
|
+
},
|
|
53
|
+
"bugs": {
|
|
54
|
+
"url": "https://github.com/dexie/dexie-cloud-sdk/issues"
|
|
55
|
+
},
|
|
56
|
+
"homepage": "https://github.com/dexie/dexie-cloud-sdk#readme",
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"dexie-cloud-common": "^1.0.58-tson.0"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@types/node": "^20.11.0",
|
|
62
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
63
|
+
"@typescript-eslint/parser": "^8.0.0",
|
|
64
|
+
"@vitest/coverage-v8": "^3.0.0",
|
|
65
|
+
"@vitest/ui": "^3.0.0",
|
|
66
|
+
"eslint": "^8.56.0",
|
|
67
|
+
"tsup": "^8.0.1",
|
|
68
|
+
"typescript": "^5.3.3",
|
|
69
|
+
"vitest": "^3.0.0"
|
|
70
|
+
},
|
|
71
|
+
"engines": {
|
|
72
|
+
"node": ">=16"
|
|
73
|
+
},
|
|
74
|
+
"sideEffects": false,
|
|
75
|
+
"optionalDependencies": {
|
|
76
|
+
"@types/node-fetch": "^2.6.13",
|
|
77
|
+
"node-fetch": "^3.3.2"
|
|
78
|
+
}
|
|
79
|
+
}
|