{
  "name": "workadventure-messages",
  "version": "1.0.0",
  "type": "module",
  "scripts": {
    "ts-proto": "grpc_tools_node_protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=../libs/messages/src/ts-proto-generated --ts_proto_opt=outputServices=grpc-js --ts_proto_opt=oneof=unions --ts_proto_opt=esModuleInterop=true -I ./protos protos/*.proto && sed -i '1i\\//@ts-nocheck' ../libs/messages/src/ts-proto-generated/*.ts",
    "proto-all": "npm run ts-proto",
    "proto:watch": "npm run proto-all; npm run proto:watch-files",
    "proto:watch-files": "chokidar 'protos/*.proto' -c 'npm run proto-all'",
    "tag-version": "sed -i \"s/apiVersionHash = \\\".*\\\"/apiVersionHash = \\\"$(sha1sum protos/messages.proto ../libs/messages/src/JsonMessages/* | sha1sum | cut -c1-8)\\\"/g\" ../libs/messages/src/JsonMessages/ApiVersion.ts",
    "precommit": "lint-staged",
    "pretty": "prettier --write '../libs/messages/src/JsonMessages/**/*.ts'"
  },
  "dependencies": {
    "@anatine/zod-openapi": "^2.2.8",
    "@grpc/grpc-js": "^1.14.4",
    "google-protobuf": "^4.0.2",
    "npm-run-all": "^4.1.5",
    "openapi3-ts": "^4.5.0",
    "ts-proto": "^2.11.8",
    "zod": "^3.25.76"
  },
  "devDependencies": {
    "@bufbuild/protobuf": "^2.12.0",
    "@types/google-protobuf": "^3.15.12",
    "@types/node": "^25.9.1",
    "@typescript-eslint/eslint-plugin": "^7.18.0",
    "@typescript-eslint/parser": "^7.18.0",
    "chokidar-cli": "^3.0.0",
    "dtslint": "^4.0.5",
    "eslint": "^8.56.0",
    "eslint-config-airbnb-typescript": "^18.0.0",
    "eslint-plugin-import": "^2.32.0",
    "eslint-plugin-sonarjs": "^4.0.3",
    "grpc_tools_node_protoc_ts": "^5.3.3",
    "grpc-tools": "^1.13.1",
    "lint-staged": "^17.0.5",
    "prettier": "^3.8.3",
    "rimraf": "^6.1.3",
    "shelljs": "^0.10.0",
    "sync-directory": "^6.0.5",
    "typescript": "^5.9.3"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/CatsMiaow/node-grpc-typescript.git#grpc_tools_node_protoc_ts"
  },
  "keywords": [
    "Node.js",
    "gRPC",
    "TypeScript"
  ],
  "homepage": "https://github.com/thecodingmachine/workadventure",
  "author": "David Négrier",
  "license": "SEE LICENSE IN LICENSE.txt",
  "lint-staged": {
    "*.ts": [
      "npm run pretty"
    ]
  }
}
