{
  "name": "trailbase-wasm",
  "description": "WASM Guest Runtime for custom JS/TS endpoints in TrailBase",
  "homepage": "https://trailbase.io",
  "version": "0.5.2",
  "license": "OSL-3.0",
  "type": "module",
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./dist/src/index.d.ts"
    },
    "./db": {
      "import": "./dist/db.js",
      "types": "./dist/src/db/index.d.ts"
    },
    "./fs": {
      "import": "./dist/fs.js",
      "types": "./dist/src/fs/index.d.ts"
    },
    "./http": {
      "import": "./dist/http.js",
      "types": "./dist/src/http/index.d.ts"
    },
    "./job": {
      "import": "./dist/job.js",
      "types": "./dist/src/job/index.d.ts"
    },
    "./kv": {
      "import": "./dist/kv.js",
      "types": "./dist/src/kv/index.d.ts"
    }
  },
  "publishConfig": {
    "access": "public",
    "exports": {
      ".": {
        "import": "./dist/index.js",
        "types": "./dist/src/index.d.ts"
      },
      "./db": {
        "import": "./dist/db.js",
        "types": "./dist/src/db/index.d.ts"
      },
      "./fs": {
        "import": "./dist/fs.js",
        "types": "./dist/src/fs/index.d.ts"
      },
      "./http": {
        "import": "./dist/http.js",
        "types": "./dist/src/http/index.d.ts"
      },
      "./job": {
        "import": "./dist/job.js",
        "types": "./dist/src/job/index.d.ts"
      },
      "./kv": {
        "import": "./dist/kv.js",
        "types": "./dist/src/kv/index.d.ts"
      }
    }
  },
  "files": [
    "dist",
    "package.json",
    "wit"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/trailbaseio/trailbase.git",
    "directory": "guests/typescript"
  },
  "scripts": {
    "build": "vite build",
    "check": "tsc --noEmit --skipLibCheck && vite build && eslint",
    "format": "prettier -w src tests",
    "generate:types": "jco guest-types -n trailbase:component/interfaces wit/ -o generated/types && prettier -w generated/types",
    "prepack": "rm -rf ./dist && pnpm build && test -e ./dist/index.js",
    "test": "vitest run"
  },
  "devDependencies": {
    "@bytecodealliance/jco": "^1.17.6",
    "@eslint/js": "^10.0.1",
    "eslint": "^10.2.0",
    "prettier": "^3.8.1",
    "typescript": "^6.0.2",
    "typescript-eslint": "^8.58.1",
    "vite": "^8.0.7",
    "vite-plugin-dts": "^4.5.4",
    "vitest": "^4.1.3"
  }
}
