{
  "name": "twilio-taskrouter",
  "title": "Twilio TaskRouter",
  "version": "3.0.0",
  "description": "Twilio TaskRouter JavaScript library",
  "homepage": "https://www.twilio.com",
  "author": "Wanjun Li <wli@twilio.com>",
  "contributors": [
    "Martin Amps <martin@twilio.com>",
    "Mehul Chopra <mchopra@twilio.com>",
    "Alex Laird <alaird@twilio.com>"
  ],
  "license": "MIT",
  "keywords": [
    "twilio",
    "library",
    "javascript",
    "taskrouter",
    "worker"
  ],
  "files": [
    "dist"
  ],
  "type": "commonjs",
  "main": "./dist/index.commonjs2.js",
  "browser": "./dist/index.window.js",
  "scripts": {
    "webpack": "webpack --config ./webpack.config.js --progress --mode",
    "mocha": "mocha --require @babel/register --exit $1",
    "clean": "rm -rf ./coverage ./dist ./node_modules",
    "lint": "eslint ./lib ./test/integration/spec ./test/integration/index.js",
    "test:unit": "mocha --full-trace --check-leaks --require @babel/register ./test/unit/index.js --exit",
    "test:integration": "mocha --full-trace --check-leaks --require @babel/register -r ./test/mocha/no-unicode-reporter.js -r ./test/mocha/fetch.js ./test/integration/index.js --reporter mocha-multi-reporters --reporter-options configFile=reporters-config.json --timeout 40000 --exit",
    "test:integration-six-sigma": "mocha --full-trace --check-leaks --require @babel/register -r ./test/mocha/no-unicode-reporter.js -r ./test/mocha/fetch.js ./test/integration/index.js --reporter mocha-multi-reporters --reporter-options configFile=reporters-config.json --timeout 40000 --exit -g '@SixSigma'",
    "test:integration:tr:voice": "mocha --full-trace --check-leaks --require @babel/register ./test/integration/voice/index.js --reporter mocha-multi-reporters --reporter-options configFile=reporters-config.json --timeout 40000 --exit",
    "test:integration:voice": "mocha --full-trace --check-leaks --require @babel/register ./test/voice/index.js --timeout 40000 --exit",
    "test:integration:media": "mocha --full-trace --check-leaks --require @babel/register ./test/media/index.js --timeout 40000 --exit",
    "test": "yarn test:unit && yarn test:integration",
    "build:dev": "yarn webpack development",
    "build:prod": "yarn webpack production",
    "build:types": "tsc && node ./scripts/types.js",
    "prebuild": "yarn clean && yarn install",
    "build": "yarn lint && yarn build:prod",
    "postbuild": "yarn docs && yarn coverage",
    "docs": "node ./scripts/docs.js ./dist/docs",
    "coverage": "nyc --report-dir coverage --reporter lcov --reporter text-summary yarn test:unit",
    "test:setup": "node test/integration_test_setup/IntegrationTestSetup.js",
    "sample-app:install": "yarn --cwd sample-app install",
    "sample-app:build": "yarn --cwd sample-app build",
    "sample-app:start": "yarn --cwd sample-app start",
    "sample-app:dev": "yarn --cwd sample-app dev",
    "sample-app:lint": "yarn --cwd sample-app lint",
    "sample-app:format": "yarn --cwd sample-app format"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/twilio/twilio-taskrouter.js.git"
  },
  "dependencies": {
    "@babel/runtime": "^7.28.6",
    "es-toolkit": "^1.32.0",
    "events": "3.3.0",
    "graphql-ws": "^6.0.0",
    "jwt-decode": "^3.1.2",
    "loglevel": "^1.4.1",
    "path-browserify": "^1.0.1",
    "typed-emitter": "^2.1.0",
    "ws": "^8.17.1"
  },
  "peerDependencies": {
    "graphql": ">=0.11 <=16"
  },
  "devDependencies": {
    "@babel/core": "^7.16.0",
    "@babel/plugin-transform-modules-commonjs": "^7.21.2",
    "@babel/plugin-transform-object-assign": "^7.16.0",
    "@babel/plugin-transform-runtime": "^7.16.4",
    "@babel/preset-env": "^7.16.4",
    "@babel/register": "^7.16.0",
    "@types/express": "^4.17.7",
    "@types/qs": "^6.9.4",
    "async-test-tools": "^1.0.7",
    "babel-eslint": "^10.1.0",
    "babel-loader": "^8.2.3",
    "chai": "^4.1.2",
    "chai-as-promised": "^7.1.1",
    "chai-datetime": "^1.4.1",
    "cheerio": "^1.0.0-rc.10",
    "copy-webpack-plugin": "^6.4.1",
    "dotenv": "16.0.1",
    "eslint": "^7.32.0",
    "graphql": "^16",
    "ink-docstrap": "^1.3.2",
    "isomorphic-fetch": "^3.0.0",
    "jsdoc": "^3.6.7",
    "license-info-webpack-plugin": "^1.0.0",
    "mocha": "^9.1.3",
    "mocha-junit-reporter": "^2.2.1",
    "mocha-multi-reporters": "^1.5.1",
    "mochawesome": "^7.1.3",
    "mock-socket": "^7.1.0",
    "npm": "^7.24.2",
    "nyc": "^15.1.0",
    "sinon": "^7.5.0",
    "sinon-chai": "^3.5.0",
    "twilio": "^3.71.3",
    "twilio-sync": "^2.0.1",
    "typescript": "^4.5.5",
    "webpack": "^5.65.0",
    "webpack-cli": "^4.9.1",
    "webpack-node-externals": "^3.0.0"
  },
  "resolutions": {
    "nyc/**/y18n": "^4.0.1"
  },
  "engines": {
    "node": ">=20"
  },
  "types": "./dist/types.d.ts"
}
