{
  "name": "@valentech/powersync-web",
  "version": "1.25.2",
  "description": "PowerSync web SDK. Sync Postgres, MongoDB or MySQL with SQLite in your web app",
  "main": "lib/src/index.js",
  "types": "lib/src/index.d.ts",
  "bin": {
    "powersync-web": "bin/powersync.js"
  },
  "files": [
    "bin",
    "lib",
    "!lib/tests",
    "dist"
  ],
  "exports": {
    ".": "./lib/src/index.js",
    "./umd": {
      "import": "./dist/index.umd.js",
      "require": "./dist/index.umd.js",
      "types": "./lib/src/index.d.ts"
    },
    "./umd/worker/db": {
      "import": "./dist/worker/WASQLiteDB.umd.js",
      "require": "./dist/worker/WASQLiteDB.umd.js",
      "types": "./lib/src/index.d.ts"
    },
    "./umd/worker/sync": {
      "import": "./dist/worker/SharedSyncImplementation.umd.js",
      "require": "./dist/worker/SharedSyncImplementation.umd.js",
      "types": "./lib/src/index.d.ts"
    }
  },
  "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"
  },
  "keywords": [
    "data sync",
    "offline-first",
    "sqlite",
    "real-time data stream",
    "live data"
  ],
  "author": "JOURNEYAPPS",
  "license": "Apache-2.0",
  "peerDependencies": {
    "@journeyapps/wa-sqlite": "^1.2.6",
    "@powersync/common": "workspace:^1.36.0"
  },
  "dependencies": {
    "@powersync/common": "workspace:*",
    "async-mutex": "^0.4.0",
    "bson": "^6.6.0",
    "comlink": "^4.4.2",
    "commander": "^12.1.0"
  },
  "devDependencies": {
    "@journeyapps/wa-sqlite": "^1.2.6",
    "@types/uuid": "^9.0.6",
    "crypto-browserify": "^3.12.0",
    "p-defer": "^4.0.1",
    "source-map-loader": "^5.0.0",
    "stream-browserify": "^3.0.0",
    "terser-webpack-plugin": "^5.3.9",
    "uuid": "^9.0.1",
    "vite": "^6.1.0",
    "vite-plugin-top-level-await": "^1.4.4",
    "vite-plugin-wasm": "^3.3.0",
    "vm-browserify": "^1.1.2",
    "webpack": "^5.90.1",
    "webpack-cli": "^5.1.4",
    "webpack-node-externals": "^3.0.0"
  }
}
