{
  "name": "dapr-client",
  "version": "3.6.1",
  "description": "The official Dapr (https://dapr.io) SDK for Node.js",
  "types": "./build/index.d.ts",
  "scripts": {
    "test": "npm run test:unit:all && npm run test:e2e:all",
    "test:load": "jest --runInBand --detectOpenHandles",
    "test:load:http": "TEST_SECRET_1=secret_val_1 TEST_SECRET_2=secret_val_2 dapr run --app-id test-suite --app-protocol http --app-port 50001 --dapr-http-port 50000 --resources-path ./test/components -- npm run test:load 'test/load'",
    "test:e2e": "jest --runInBand --detectOpenHandles",
    "test:e2e:all": "npm run test:e2e:http && npm run test:e2e:grpc && npm run test:e2e:common && npm run test:e2e:workflow",
    "test:e2e:grpc": "npm run test:e2e:grpc:client && npm run test:e2e:grpc:server && npm run test:e2e:grpc:clientWithApiToken",
    "test:e2e:grpc:client": "npm run prebuild && TEST_SECRET_1=secret_val_1 TEST_SECRET_2=secret_val_2 dapr run --app-id test-suite --app-protocol grpc --app-port 50001 --dapr-grpc-port 50000 --resources-path ./test/components -- jest --runInBand --detectOpenHandles --testMatch [ '**/test/e2e/grpc/*client.test.ts' ]",
    "test:e2e:grpc:clientWithApiToken": "npm run prebuild && TEST_SECRET_1=secret_val_1 TEST_SECRET_2=secret_val_2 DAPR_API_TOKEN=test dapr run --app-id test-suite --app-protocol grpc --app-port 50001 --dapr-grpc-port 50000 --resources-path ./test/components -- jest --runInBand --detectOpenHandles --testMatch [ '**/test/e2e/grpc/clientWithApiToken.test.ts' ]",
    "test:e2e:grpc:server": "npm run prebuild && TEST_SECRET_1=secret_val_1 TEST_SECRET_2=secret_val_2 dapr run --app-id test-suite --app-protocol grpc --app-port 50001 --dapr-grpc-port 50000 --max-body-size 10Mi --resources-path ./test/components -- jest --runInBand --detectOpenHandles --testMatch [ '**/test/e2e/grpc/*server.test.ts' ]",
    "test:e2e:http": "npm run test:e2e:http:client && npm run test:e2e:http:server && npm run test:e2e:http:actors",
    "test:e2e:http:client": "npm run prebuild && TEST_SECRET_1=secret_val_1 TEST_SECRET_2=secret_val_2 dapr run --app-id test-suite --app-protocol http --app-port 50001 --dapr-http-port 50000 --resources-path ./test/components -- jest --runInBand --detectOpenHandles --testMatch [ '**/test/e2e/http/(client).test.ts' ]",
    "test:e2e:http:server": "npm run prebuild && TEST_SECRET_1=secret_val_1 TEST_SECRET_2=secret_val_2 dapr run --app-id test-suite --app-protocol http --app-port 50001 --dapr-http-port 50000 --max-body-size 10Mi --resources-path ./test/components -- jest --runInBand --detectOpenHandles --testMatch [ '**/test/e2e/http/(server).test.ts' ]",
    "test:e2e:http:actors": "npm run prebuild && TEST_SECRET_1=secret_val_1 TEST_SECRET_2=secret_val_2 dapr run --app-id test-suite --app-protocol http --app-port 50001 --dapr-http-port 50000 --resources-path ./test/components -- jest --runInBand --detectOpenHandles --testMatch [ '**/test/e2e/http/actors.test.ts' ]",
    "test:e2e:common": "npm run test:e2e:common:client && npm run test:e2e:common:server",
    "test:e2e:common:client": "./scripts/test-e2e-common.sh client",
    "test:e2e:common:server": "./scripts/test-e2e-common.sh server",
    "test:e2e:workflow": "npm run prebuild && dapr run --app-id workflow-test-suite --app-protocol grpc --dapr-grpc-port 4001 --resources-path ./test/components/workflow -- jest --runInBand --detectOpenHandles --testMatch [ '**/test/e2e/workflow/workflow.test.ts' ]",
    "test:e2e:workflow:internal": "jest test/e2e/workflow --runInBand --detectOpenHandles",
    "test:e2e:workflow:durabletask": "./scripts/test-e2e-workflow.sh",
    "test:unit": "jest --runInBand --detectOpenHandles",
    "test:unit:all": "npm run test:unit:main && npm run test:unit:http && npm run test:unit:grpc && npm run test:unit:common && npm run test:unit:actors && npm run test:unit:logger && npm run test:unit:utils && npm run test:unit:errors",
    "test:unit:main": "NODE_ENV=test npm run test:unit 'test/unit/main/.*\\.test\\.ts'",
    "test:unit:http": "NODE_ENV=test npm run test:unit 'test/unit/protocols/http/.*\\.test\\.ts'",
    "test:unit:grpc": "NODE_ENV=test npm run test:unit 'test/unit/protocols/grpc/.*\\.test\\.ts'",
    "test:unit:common": "NODE_ENV=test npm run test:unit 'test/unit/protocols/common/.*\\.test\\.ts'",
    "test:unit:actors": "NODE_ENV=test npm run test:unit 'test/unit/actor/.*\\.test\\.ts'",
    "test:unit:logger": "NODE_ENV=test npm run test:unit 'test/unit/logger/.*\\.test\\.ts'",
    "test:unit:utils": "NODE_ENV=test npm run test:unit 'test/unit/utils/.*\\.test\\.ts'",
    "test:unit:errors": "NODE_ENV=test npm run test:unit 'test/unit/errors/.*\\.test\\.ts'",
    "test:unit:workflow": "NODE_ENV=test npm run test:unit 'test/unit/workflow/.*\\.test\\.ts'",
    "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
    "prebuild": "./scripts/prebuild.sh",
    "build-ci": "npm run prebuild && ./scripts/build.sh",
    "build": "npm install && npm run lint && ./scripts/build.sh",
    "start:dev": "npm run build && nodemon --ext \".ts,.js\" --watch \"./src\" --exec \"npm run build\"",
    "pretty": "prettier --list-different \"**/*.{ts,tsx,js,jsx,json,md}\"",
    "pretty-fix": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\""
  },
  "keywords": [],
  "author": "Dapr Authors",
  "license": "apache-2.0",
  "dependencies": {
    "@grpc/grpc-js": "^1.9.3",
    "@js-temporal/polyfill": "^0.3.0",
    "@dapr/durabletask-js": "0.1.0-alpha.2",
    "@types/google-protobuf": "^3.15.5",
    "@types/node-fetch": "^2.6.2",
    "body-parser": "^1.19.0",
    "express": "^4.18.2",
    "google-protobuf": "^3.18.0",
    "http-terminator": "^3.2.0",
    "node-fetch": "^2.6.7"
  },
  "devDependencies": {
    "@types/body-parser": "^1.19.1",
    "@types/express": "^4.17.15",
    "@types/jest": "^27.0.1",
    "@types/node": "^16.9.1",
    "@types/uuid": "^8.3.1",
    "@typescript-eslint/eslint-plugin": "^5.1.0",
    "@typescript-eslint/parser": "^5.1.0",
    "eslint": "^8.1.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-header": "^3.1.1",
    "eslint-plugin-prettier": "^4.2.1",
    "grpc_tools_node_protoc_ts": "^5.3.2",
    "husky": "^8.0.1",
    "jest": "^27.2.0",
    "nodemon": "^3.1.7",
    "prettier": "^2.4.0",
    "pretty-quick": "^3.1.3",
    "ts-jest": "^27.0.5",
    "typescript": "^4.5.5"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/dapr/js-sdk.git",
    "directory": ""
  }
}
