{
    "name": "@powersync/web",
    "version": "1.37.2",
    "description": "PowerSync Web SDK",
    "main": "lib/src/index.js",
    "module": "lib/src/index.js",
    "type": "module",
    "types": "lib/src/index.d.ts",
    "bin": {
        "powersync-web": "bin/powersync.cjs"
    },
    "files": [
        "bin",
        "lib",
        "!lib/tests",
        "dist",
        "src"
    ],
    "exports": {
        ".": {
            "types": "./lib/src/index.d.ts",
            "default": "./lib/src/index.js"
        },
        "./umd": {
            "types": "./lib/src/index.d.ts",
            "default": "./dist/index.umd.js"
        },
        "./umd/worker/db": {
            "types": "./lib/src/index.d.ts",
            "import": "./dist/worker/WASQLiteDB.umd.js",
            "require": "./dist/worker/WASQLiteDB.umd.js"
        },
        "./umd/worker/sync": {
            "types": "./lib/src/index.d.ts",
            "import": "./dist/worker/SharedSyncImplementation.umd.js",
            "require": "./dist/worker/SharedSyncImplementation.umd.js"
        }
    },
    "repository": "https://github.com/powersync-ja/powersync-js",
    "bugs": {
        "url": "https://github.com/powersync-ja/powersync-js/issues"
    },
    "publishConfig": {
        "registry": "https://registry.npmjs.org/",
        "access": "public"
    },
    "homepage": "https://docs.powersync.com",
    "scripts": {
        "build:tsc": "tsc --build",
        "build:webpack-main": "webpack",
        "build:webpack-workers": "webpack --config webpack.workers.config.js",
        "build": "pnpm run build:tsc && pnpm run build:webpack-main && pnpm run build:webpack-workers",
        "build:prod": "pnpm run build:tsc --sourceMap false && pnpm run build:webpack-main && pnpm run build:webpack-workers",
        "clean": "rm -rf lib dist tsconfig.tsbuildinfo",
        "watch": "tsc --build -w",
        "test": "pnpm build && vitest",
        "test:exports": "attw --pack . --entrypoints . --profile=esm-only "
    },
    "keywords": [
        "data sync",
        "offline-first",
        "sqlite",
        "real-time data stream",
        "live data"
    ],
    "author": "PowerSync",
    "license": "Apache-2.0",
    "peerDependencies": {
        "@journeyapps/wa-sqlite": "catalog:",
        "@powersync/common": "workspace:^1.52.0"
    },
    "dependencies": {
        "@powersync/common": "workspace:*",
        "bson": "catalog:",
        "comlink": "catalog:",
        "commander": "^12.1.0"
    },
    "devDependencies": {
        "@journeyapps/wa-sqlite": "^1.5.0",
        "@types/uuid": "catalog:",
        "crypto-browserify": "^3.12.0",
        "glob": "catalog:",
        "p-defer": "catalog:",
        "source-map-loader": "^5.0.0",
        "stream-browserify": "^3.0.0",
        "terser-webpack-plugin": "^5.3.9",
        "uuid": "catalog:",
        "vite": "catalog:",
        "vm-browserify": "^1.1.2",
        "webpack": "^5.90.1",
        "webpack-cli": "^5.1.4",
        "webpack-node-externals": "^3.0.0"
    }
}
