@livestore/sqlite-wasm 3.46.0-build0

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/index.mjs ADDED
@@ -0,0 +1,7 @@
1
+ import { default as sqlite3InitModule } from './sqlite-wasm/jswasm/sqlite3-bundler-friendly.mjs';
2
+ import './sqlite-wasm/jswasm/sqlite3-worker1-promiser-bundler-friendly.js';
3
+
4
+ const sqlite3Worker1Promiser = self.sqlite3Worker1Promiser;
5
+
6
+ export default sqlite3InitModule;
7
+ export { sqlite3Worker1Promiser };
package/package.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@livestore/sqlite-wasm",
3
+ "version": "3.46.0-build0",
4
+ "description": "SQLite Wasm conveniently wrapped as an ES Module.",
5
+ "keywords": [
6
+ "sqlite",
7
+ "sqlite3",
8
+ "sqlite-wasm",
9
+ "sqlite3-wasm",
10
+ "webassembly",
11
+ "wasm",
12
+ "esm",
13
+ "opfs",
14
+ "origin-private-file-system"
15
+ ],
16
+ "main": "index.mjs",
17
+ "type": "module",
18
+ "files": [
19
+ "index.d.ts",
20
+ "index.mjs",
21
+ "sqlite-wasm/"
22
+ ],
23
+ "types": "index.d.ts",
24
+ "exports": {
25
+ ".": {
26
+ "types": "./index.d.ts",
27
+ "import": "./index.mjs",
28
+ "main": "./index.mjs",
29
+ "browser": "./index.mjs"
30
+ },
31
+ "./package.json": "./package.json"
32
+ },
33
+ "bin": {
34
+ "sqlite-wasm": "bin/index.js"
35
+ },
36
+ "scripts": {
37
+ "publint": "npx publint",
38
+ "clean": "shx rm -rf sqlite-wasm",
39
+ "build": "echo Already manually built SQLite Wasm.",
40
+ "start": "npx http-server --coop",
41
+ "fix": "npx prettier . --write",
42
+ "prepare": "npm run build && npm run fix && npm run publint",
43
+ "deploy": "npm run prepare && git add . && git commit -am 'New release' && git push && npm publish --access public"
44
+ },
45
+ "repository": {
46
+ "type": "git",
47
+ "url": "git+https://github.com/sqlite/sqlite-wasm.git"
48
+ },
49
+ "author": "Johannes Schickling",
50
+ "license": "Apache-2.0",
51
+ "bugs": {
52
+ "url": "https://github.com/sqlite/sqlite-wasm/issues"
53
+ },
54
+ "homepage": "https://github.com/sqlite/sqlite-wasm#readme",
55
+ "devDependencies": {
56
+ "decompress": "^4.2.1",
57
+ "http-server": "github:vapier/http-server",
58
+ "module-workers-polyfill": "^0.3.2",
59
+ "node-fetch": "^3.3.2",
60
+ "prettier": "^3.2.4",
61
+ "publint": "^0.2.7",
62
+ "prettier-plugin-jsdoc": "^1.3.0",
63
+ "shx": "^0.3.4"
64
+ }
65
+ }