Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

1.1 KB
Raw Blame
{
  "name": "@webstudio-is/http-client",
  "version": "0.0.0-webstudio-version",
  "description": "Function-call client for Webstudio HTTP and TRPC APIs",
  "author": "Webstudio <[email protected]>",
  "homepage": "https://webstudio.is",
  "type": "module",
  "scripts": {
    "build": "rm -rf lib && esbuild src/index.ts --outdir=lib --bundle --format=esm --packages=external",
    "dts": "tsc --project tsconfig.dts.json",
    "typecheck": "tsc --noEmit",
    "test": "vitest run"
  },
  "dependencies": {
    "@trpc/client": "^10.45.2",
    "@webstudio-is/protocol": "workspace:*",
    "@webstudio-is/sdk": "workspace:*",
    "@webstudio-is/trpc-interface": "workspace:*",
    "tus-js-client": "^4.3.1"
  },
  "devDependencies": {
    "@webstudio-is/tsconfig": "workspace:*",
    "vitest": "^3.1.2"
  },
  "exports": {
    ".": {
      "webstudio": "./src/index.ts",
      "types": "./lib/types/index.d.ts",
      "import": "./lib/index.js",
      "default": "./src/index.ts"
    }
  },
  "files": [
    "lib/*",
    "!*.{test,stories}.*"
  ],
  "license": "AGPL-3.0-or-later",
  "private": false,
  "sideEffects": false
}