{
  "name": "@fivetrandevelopers/zetasql",
  "description": "ZetaSQL gRPC server and client",
  "version": "1.13.0",
  "publisher": "Fivetran",
  "license": "MIT",
  "keywords": [
    "ZetaSQL",
    "BigQuery",
    "SQL",
    "gRPC"
  ],
  "main": "lib/index.js",
  "types": "lib/index.d.ts",
  "repository": {
    "type": "git",
    "url": "https://github.com/fivetran/zetasql-npm.git",
    "directory": "zetasql"
  },
  "homepage": "https://github.com/fivetran/zetasql-npm/tree/main/zetasql",
  "dependencies": {
    "@grpc/grpc-js": "^1.8.13",
    "@grpc/proto-loader": "0.7.6"
  },
  "scripts": {
    "build": "tsc -b",
    "watch": "tsc -b -w",
    "build:proto": "proto-loader-gen-types --defaults --oneofs --grpcLib=@grpc/grpc-js --includeDirs=src/zetasql/protos --outDir=src/types local_service.proto",
    "prebuild": "npm run build:proto",
    "build:server": "mkdir -p lib/zetasql && tar -xzvf bin/darwin-x86-64/remote_server.tar.gz -C lib/zetasql && tar -xzvf bin/darwin-arm-64/remote_server_arm.tar.gz -C lib/zetasql && tar -xzvf bin/linux-x86-64/remote_server.so.tar.gz -C lib/zetasql && tar -xzvf bin/linux-arm-64/remote_server_arm.so.tar.gz -C lib/zetasql && cp -R src/zetasql/protos lib/zetasql/protos",
    "build:all": "npm run build:server && npm run build",
    "test": "mocha",
    "lint": "DEBUG=eslint:cli-engine eslint --cache --no-fix --ext .ts src",
    "lint:fix": "eslint --cache --fix --ext .ts src"
  },
  "publishConfig": {
    "access": "public"
  },
  "files": [
    "package.json",
    "lib/**/*",
    "!lib/test/**/*",
    "!lib/TestZetaSqlServer*"
  ],
  "lint-staged": {
    "*.ts": [
      "eslint --cache --ext .ts --fix src"
    ]
  }
}
