{
  "name": "@dapr/dapr",
  "version": "3.18.0",
  "description": "The official Dapr (https://dapr.io) SDK for Node.js",
  "types": "./index.d.ts",
  "scripts": {
    "build-clean": "rimraf build",
    "build-compile": "tsc --outDir ./build/",
    "build-copy-files": "npm run build-copy-package && npm run build-copy-readme && npm run build-copy-proto && npm run build-copy-workflow-proto",
    "build-copy-package": "cp package.json build/ || copy package.json build\\",
    "build-copy-readme": "cp README.md build/ || copy README.md build\\",
    "build-copy-proto": "cp -R ./src/proto ./build || xcopy /E /I .\\src\\proto .\\build\\proto",
    "build-copy-workflow-proto": "mkdir -p ./build/workflow/internal/durabletask/proto && cp ./src/workflow/internal/durabletask/proto/*.js ./build/workflow/internal/durabletask/proto/ && cp ./src/workflow/internal/durabletask/proto/*.d.ts ./build/workflow/internal/durabletask/proto/ || xcopy /E /I .\\src\\workflow\\internal\\durabletask\\proto .\\build\\workflow\\internal\\durabletask\\proto",
    "build-generate-version": "node scripts/generate-version.js",
    "build": "npm run build-clean && npm run prebuild && npm run build-compile && npm run build-copy-files",
    "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 --forceExit",
    "test:e2e:all": "npm run prebuild && 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": "jest --runInBand --forceExit --testMatch [ '**/test/e2e/grpc/*client.test.ts' ]",
    "test:e2e:grpc:clientWithApiToken": "jest --runInBand --forceExit --testMatch [ '**/test/e2e/grpc/clientWithApiToken.test.ts' ]",
    "test:e2e:grpc:server": "jest --runInBand --forceExit --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": "jest --runInBand --forceExit --testMatch [ '**/test/e2e/http/(client).test.ts' ]",
    "test:e2e:http:server": "jest --runInBand --forceExit --testMatch [ '**/test/e2e/http/(server).test.ts' ]",
    "test:e2e:http:actors": "jest --runInBand --forceExit --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": "jest --runInBand --forceExit --testMatch [ '**/test/e2e/common/client.test.ts' ]",
    "test:e2e:common:server": "jest --runInBand --forceExit --testMatch [ '**/test/e2e/common/server.test.ts' ]",
    "test:e2e:workflow": "jest --runInBand --forceExit --testMatch [ '**/test/e2e/workflow/workflow.test.ts' ]",
    "test:e2e:workflow:internal": "jest test/e2e/workflow --runInBand --forceExit",
    "test:e2e:workflow:durabletask": "node scripts/test-e2e-workflow.js",
    "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 && npm run test:unit:scripts && npm run test:unit:workflow",
    "test:unit:main": "cross-env NODE_ENV=test npm run test:unit 'test/unit/main/.*\\.test\\.ts'",
    "test:unit:http": "cross-env NODE_ENV=test npm run test:unit 'test/unit/protocols/http/.*\\.test\\.ts'",
    "test:unit:grpc": "cross-env NODE_ENV=test npm run test:unit 'test/unit/protocols/grpc/.*\\.test\\.ts'",
    "test:unit:common": "cross-env NODE_ENV=test npm run test:unit 'test/unit/protocols/common/.*\\.test\\.ts'",
    "test:unit:actors": "cross-env NODE_ENV=test npm run test:unit 'test/unit/actor/.*\\.test\\.ts'",
    "test:unit:logger": "cross-env NODE_ENV=test npm run test:unit 'test/unit/logger/.*\\.test\\.ts'",
    "test:unit:utils": "cross-env NODE_ENV=test npm run test:unit 'test/unit/utils/.*\\.test\\.ts'",
    "test:unit:errors": "cross-env NODE_ENV=test npm run test:unit 'test/unit/errors/.*\\.test\\.ts'",
    "test:unit:scripts": "cross-env NODE_ENV=test npm run test:unit 'test/unit/scripts/.*\\.test\\.ts'",
    "test:unit:workflow": "cross-env NODE_ENV=test npm run test:unit 'test/unit/workflow/.*\\.(test|spec)\\.ts'",
    "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
    "prebuild": "npm run build-generate-version && node scripts/prebuild.js",
    "build-ci": "npm run prebuild && node scripts/build.js",
    "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": {
    "@bufbuild/protobuf": "^2.9.0",
    "@connectrpc/connect": "^2.1.0",
    "@connectrpc/connect-node": "^2.1.1",
    "@connectrpc/connect-web": "^2.1.0",
    "@dapr/durabletask-js": "^1.0.0",
    "@grpc/grpc-js": "^1.12.5",
    "@js-temporal/polyfill": "^0.3.0",
    "@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": {
    "@bufbuild/buf": "^1.57.2",
    "@dapr/testcontainer-node": "^0.5.1",
    "@types/body-parser": "^1.19.1",
    "@types/express": "^4.17.15",
    "@types/jest": "^29.5.0",
    "@types/node": "^22.0.0",
    "@types/uuid": "^8.3.1",
    "@typescript-eslint/eslint-plugin": "^7.0.0",
    "@typescript-eslint/parser": "^7.0.0",
    "cpx2": "^8.0.0",
    "cross-env": "^10.0.0",
    "cross-spawn": "^7.0.6",
    "eslint": "^8.57.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-header": "^3.1.1",
    "eslint-plugin-prettier": "^4.2.1",
    "execa": "^9.6.0",
    "fs-extra": "^11.3.2",
    "husky": "^8.0.1",
    "jest": "^29.7.0",
    "nodemon": "^3.1.7",
    "prettier": "^2.4.0",
    "pretty-quick": "^3.1.3",
    "rimraf": "^6.0.1",
    "ts-jest": "^29.2.0",
    "typescript": "^5.7.0"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/dapr/js-sdk.git",
    "directory": ""
  }
}
