{
  "name": "@hcengineering/tool",
  "version": "0.7.0",
  "main": "lib/index.js",
  "svelte": "src/index.ts",
  "types": "types/index.d.ts",
  "author": "Anticrm Platform Contributors",
  "template": "@hcengineering/node-package",
  "license": "EPL-2.0",
  "scripts": {
    "build": "compile",
    "build:watch": "compile",
    "start": "ts-node src/__start.ts",
    "_phase:bundle": "rushx bundle",
    "_phase:docker-build": "rushx docker:build",
    "_phase:docker-staging": "rushx docker:staging",
    "bundle": "node ../../common/scripts/esbuild.js --entry=src/__start.ts --keep-names=true --external=snappy --sourcemap=external --define:MODEL_VERSION --define:GIT_REVISION",
    "docker:build": "../../common/scripts/docker_build.sh hardcoreeng/tool",
    "docker:tbuild": "docker build -t hardcoreeng/tool . --platform=linux/amd64 && ../../common/scripts/docker_tag_push.sh hardcoreeng/tool",
    "docker:abuild": "docker build -t hardcoreeng/tool . --platform=linux/arm64 && ../../common/scripts/docker_tag_push.sh hardcoreeng/tool",
    "docker:staging": "../../common/scripts/docker_tag.sh hardcoreeng/tool staging",
    "docker:push": "../../common/scripts/docker_tag.sh hardcoreeng/tool",
    "run-local-mongo": "rush bundle --to @hcengineering/tool >/dev/null && cross-env SERVER_SECRET=secret FULLTEXT_URL=http://localhost:4700 ACCOUNTS_URL=http://localhost:3000 TRANSACTOR_URL=ws://localhost:3333 MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin MINIO_ENDPOINT=localhost ACCOUNT_DB_URL=mongodb://localhost:27017 DB_URL=mongodb://localhost:27017 TELEGRAM_DATABASE=telegram-service REKONI_URL=http://localhost:4004 MODEL_VERSION=$(node ../../common/scripts/show_version.js) GIT_REVISION=$(git describe --all --long) QUEUE_CONFIG='localhost:19092' node --expose-gc --max-old-space-size=18000 ./bundle/bundle.js",
    "run-local": "(rush bundle --to @hcengineering/tool >/dev/null || true) && cross-env SERVER_SECRET=secret FULLTEXT_URL=http://localhost:4702 ACCOUNTS_URL=http://localhost:3000 TRANSACTOR_URL=ws://localhost:3332 STORAGE_CONFIG='datalake|http://huly.local:4030' HULYLAKE_URL=http://huly.local:8096  ACCOUNT_DB_URL=postgresql://root@huly.local:26257/defaultdb?sslmode=disable DB_URL=postgresql://root@huly.local:26257/defaultdb?sslmode=disable TELEGRAM_DATABASE=telegram-service REKONI_URL=http://localhost:4004 REGION_INFO='cockroach|CockroachDB' MODEL_VERSION=$(node ../../common/scripts/show_version.js) GIT_REVISION=$(git describe --all --long) QUEUE_CONFIG='localhost:19092' node --expose-gc --max-old-space-size=18000 $TOOL_OPT ./bundle/bundle.js",
    "run-local-brk": "rush bundle --to @hcengineering/tool >/dev/null && cross-env SERVER_SECRET=secret ACCOUNTS_URL=http://localhost:3000 TRANSACTOR_URL=ws://localhost:3333 MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin MINIO_ENDPOINT=localhost ACCOUNT_DB_URL=mongodb://localhost:27017 DB_URL=mongodb://localhost:27017 TELEGRAM_DATABASE=telegram-service REKONI_URL=http://localhost:4004 MODEL_VERSION=$(node ../../common/scripts/show_version.js) GIT_REVISION=$(git describe --all --long) node --inspect-brk --enable-source-maps --max-old-space-size=18000 ./bundle/bundle.js",
    "run": "(rush bundle --to @hcengineering/tool >/dev/null || true ) && cross-env node --max-old-space-size=8000 ./bundle/bundle.js",
    "upgrade-mongo": "rushx run-local-mongo upgrade-workspace -- $1",
    "upgrade": "rushx run-local upgrade-workspace -- $1",
    "upgrade-brk": "rushx run-local-brk upgrade-workspace -- $1",
    "format": "format src",
    "test": "jest --passWithNoTests --silent --forceExit",
    "_phase:build": "compile transpile src",
    "_phase:test": "jest --passWithNoTests --silent --forceExit",
    "_phase:format": "format src",
    "_phase:validate": "compile validate"
  },
  "devDependencies": {
    "cross-env": "~7.0.3",
    "@hcengineering/platform-rig": "workspace:^0.7.19",
    "@typescript-eslint/eslint-plugin": "^6.21.0",
    "eslint-plugin-import": "^2.26.0",
    "eslint-plugin-promise": "^6.1.1",
    "eslint-plugin-n": "^15.4.0",
    "eslint": "^8.54.0",
    "ts-node": "^10.9.2",
    "esbuild": "^0.25.10",
    "@types/minio": "~7.0.11",
    "@types/node": "^22.18.1",
    "@typescript-eslint/parser": "^6.21.0",
    "eslint-config-standard-with-typescript": "^40.0.0",
    "prettier": "^3.6.2",
    "typescript": "^5.9.3",
    "@types/ws": "^8.5.12",
    "@types/mime-types": "~2.1.1",
    "@types/request": "~2.48.8",
    "jest": "^29.7.0",
    "ts-jest": "^29.1.1",
    "@types/jest": "^29.5.5",
    "@types/js-yaml": "^4.0.9"
  },
  "dependencies": {
    "@elastic/elasticsearch": "^7.17.14",
    "@hcengineering/account": "workspace:^0.7.0",
    "@hcengineering/communication": "workspace:^0.7.0",
    "@hcengineering/chat": "workspace:^0.7.0",
    "@hcengineering/card": "workspace:^0.7.0",
    "@hcengineering/rank": "workspace:^0.7.17",
    "@hcengineering/text-markdown": "workspace:^0.7.20",
    "@hcengineering/account-service": "workspace:^0.7.0",
    "@hcengineering/workspace-service": "workspace:^0.7.0",
    "@hcengineering/attachment": "workspace:^0.7.0",
    "@hcengineering/calendar": "workspace:^0.7.0",
    "@hcengineering/chunter": "workspace:^0.7.0",
    "@hcengineering/client": "workspace:^0.7.18",
    "@hcengineering/activity": "workspace:^0.7.0",
    "@hcengineering/client-resources": "workspace:^0.7.18",
    "@hcengineering/contact": "workspace:^0.7.0",
    "@hcengineering/core": "workspace:^0.7.24",
    "@hcengineering/controlled-documents": "workspace:^0.7.0",
    "@hcengineering/document": "workspace:^0.7.0",
    "@hcengineering/elastic": "workspace:^0.7.16",
    "@hcengineering/lead": "workspace:^0.7.0",
    "@hcengineering/minio": "workspace:^0.7.17",
    "@hcengineering/model": "workspace:^0.7.17",
    "@hcengineering/model-all": "workspace:^0.7.0",
    "@hcengineering/model-attachment": "workspace:^0.7.0",
    "@hcengineering/model-contact": "workspace:^0.7.0",
    "@hcengineering/model-controlled-documents": "workspace:^0.7.0",
    "@hcengineering/model-document": "workspace:^0.7.0",
    "@hcengineering/model-recruit": "workspace:^0.7.0",
    "@hcengineering/model-telegram": "workspace:^0.7.0",
    "@hcengineering/model-tracker": "workspace:^0.7.0",
    "@hcengineering/model-core": "workspace:^0.7.0",
    "@hcengineering/model-task": "workspace:^0.7.0",
    "@hcengineering/model-activity": "workspace:^0.7.0",
    "@hcengineering/model-lead": "workspace:^0.7.0",
    "@hcengineering/postgres": "workspace:^0.7.22",
    "@hcengineering/account-client": "workspace:^0.7.21",
    "@hcengineering/mongo": "workspace:^0.7.16",
    "@hcengineering/platform": "workspace:^0.7.19",
    "@hcengineering/recruit": "workspace:^0.7.0",
    "@hcengineering/rekoni": "workspace:^0.7.0",
    "@hcengineering/server-pipeline": "workspace:^0.7.0",
    "@hcengineering/server-attachment": "workspace:^0.7.0",
    "@hcengineering/server-attachment-resources": "workspace:^0.7.0",
    "@hcengineering/server-collaboration": "workspace:^0.7.0",
    "@hcengineering/server-collaboration-resources": "workspace:^0.7.0",
    "@hcengineering/server-backup": "workspace:^0.7.0",
    "@hcengineering/backup-service": "workspace:^0.7.0",
    "@hcengineering/server-storage": "workspace:^0.7.16",
    "@hcengineering/server-calendar": "workspace:^0.7.0",
    "@hcengineering/server-calendar-resources": "workspace:^0.7.0",
    "@hcengineering/server-card": "workspace:^0.7.0",
    "@hcengineering/server-card-resources": "workspace:^0.7.0",
    "@hcengineering/server-chunter": "workspace:^0.7.0",
    "@hcengineering/server-chunter-resources": "workspace:^0.7.0",
    "@hcengineering/server-contact": "workspace:^0.7.0",
    "@hcengineering/server-contact-resources": "workspace:^0.7.0",
    "@hcengineering/server-core": "workspace:^0.7.18",
    "@hcengineering/server-document": "workspace:^0.7.0",
    "@hcengineering/server-document-resources": "workspace:^0.7.0",
    "@hcengineering/server-drive": "workspace:^0.7.0",
    "@hcengineering/server-drive-resources": "workspace:^0.7.0",
    "@hcengineering/server-gmail": "workspace:^0.7.0",
    "@hcengineering/server-gmail-resources": "workspace:^0.7.0",
    "@hcengineering/server-hr": "workspace:^0.7.0",
    "@hcengineering/server-hr-resources": "workspace:^0.7.0",
    "@hcengineering/server-inventory": "workspace:^0.7.0",
    "@hcengineering/server-inventory-resources": "workspace:^0.7.0",
    "@hcengineering/server-lead": "workspace:^0.7.0",
    "@hcengineering/server-lead-resources": "workspace:^0.7.0",
    "@hcengineering/server-notification": "workspace:^0.7.0",
    "@hcengineering/server-notification-resources": "workspace:^0.7.0",
    "@hcengineering/server-recruit": "workspace:^0.7.0",
    "@hcengineering/server-recruit-resources": "workspace:^0.7.0",
    "@hcengineering/server-request": "workspace:^0.7.0",
    "@hcengineering/server-request-resources": "workspace:^0.7.0",
    "@hcengineering/server-setting": "workspace:^0.7.0",
    "@hcengineering/server-setting-resources": "workspace:^0.7.0",
    "@hcengineering/server-tags": "workspace:^0.7.0",
    "@hcengineering/server-tags-resources": "workspace:^0.7.0",
    "@hcengineering/server-task": "workspace:^0.7.0",
    "@hcengineering/server-task-resources": "workspace:^0.7.0",
    "@hcengineering/server-telegram": "workspace:^0.7.0",
    "@hcengineering/server-telegram-resources": "workspace:^0.7.0",
    "@hcengineering/server-token": "workspace:^0.7.17",
    "@hcengineering/server-tool": "workspace:^0.7.0",
    "@hcengineering/server-client": "workspace:^0.7.16",
    "@hcengineering/server-tracker": "workspace:^0.7.0",
    "@hcengineering/server-tracker-resources": "workspace:^0.7.0",
    "@hcengineering/server-view": "workspace:^0.7.0",
    "@hcengineering/server-view-resources": "workspace:^0.7.0",
    "@hcengineering/server-activity": "workspace:^0.7.0",
    "@hcengineering/server-activity-resources": "workspace:^0.7.0",
    "@hcengineering/server-guest": "workspace:^0.7.0",
    "@hcengineering/server-guest-resources": "workspace:^0.7.0",
    "@hcengineering/server-time": "workspace:^0.7.0",
    "@hcengineering/server-time-resources": "workspace:^0.7.0",
    "@hcengineering/server-ai-bot": "workspace:^0.7.0",
    "@hcengineering/server-ai-bot-resources": "workspace:^0.7.0",
    "@hcengineering/setting": "workspace:^0.7.0",
    "@hcengineering/tags": "workspace:^0.7.0",
    "@hcengineering/task": "workspace:^0.7.0",
    "@hcengineering/text": "workspace:^0.7.18",
    "@hcengineering/text-core": "workspace:^0.7.18",
    "@hcengineering/text-ydoc": "workspace:^0.7.18",
    "@hcengineering/telegram": "workspace:^0.7.0",
    "@hcengineering/tracker": "workspace:^0.7.0",
    "@hcengineering/collaboration": "workspace:^0.7.16",
    "@hcengineering/datalake": "workspace:^0.7.17",
    "@hcengineering/retry": "workspace:^0.7.17",
    "@hcengineering/s3": "workspace:^0.7.17",
    "@hcengineering/kvs-client": "workspace:^0.7.0",
    "commander": "^14.0.0",
    "csv-parse": "~5.1.0",
    "email-addresses": "^5.0.0",
    "fast-equals": "^5.2.2",
    "libphonenumber-js": "^1.9.46",
    "mime-types": "~2.1.34",
    "mongodb": "^6.16.0",
    "postgres": "^3.4.7",
    "ws": "^8.18.2",
    "bufferutil": "^4.0.8",
    "utf-8-validate": "^6.0.4",
    "msgpackr": "^1.11.2",
    "msgpackr-extract": "^3.0.3",
    "@hcengineering/kafka": "workspace:^0.7.18",
    "@hcengineering/api-client": "workspace:^0.7.18",
    "@faker-js/faker": "^8.4.1",
    "@hcengineering/hulylake-client": "workspace:^0.7.17",
    "@hcengineering/communication-types": "workspace:^0.7.12",
    "@hcengineering/pod-rating": "workspace:^0.7.0"
  }
}
