UNPKG

dd-trace

Version:

Datadog APM tracing client for JavaScript

128 lines (127 loc) 5.93 kB
{ "name": "dd-trace", "version": "2.2.0", "description": "Datadog APM tracing client for JavaScript", "main": "index.js", "typings": "index.d.ts", "scripts": { "preinstall": "node scripts/preinstall.js", "postpublish": "node scripts/postpublish.js", "bench": "node benchmark", "bench:profiler": "node benchmark/profiler", "bench:e2e": "SERVICES=mongo yarn services && cd benchmark/e2e && node benchmark-run.js --duration=30", "bench:e2e:ci-visibility": "node benchmark/e2e-ci/benchmark-run.js", "type:doc": "cd docs && yarn && yarn build", "type:test": "cd docs && yarn && yarn test", "lint": "node scripts/check_licenses.js && eslint . && yarn audit --groups dependencies", "services": "node ./scripts/install_plugin_modules && node packages/dd-trace/test/setup/services", "tdd": "node scripts/tdd.js", "test": "SERVICES=* yarn services && mocha --exit --expose-gc 'packages/dd-trace/test/setup/node.js' 'packages/*/test/**/*.spec.js'", "test:trace:core": "mocha --exit --expose-gc --file packages/dd-trace/test/setup/core.js \"packages/dd-trace/test/**/*.spec.js\"", "test:trace:core:ci": "nyc --include \"packages/dd-trace/src/**/*.js\" -- npm run test:trace:core -- --reporter mocha-multi-reporters --reporter-options configFile=mocha-reporter-config.json", "test:instrumentations": "mocha --file 'packages/dd-trace/test/setup/core.js' 'packages/datadog-instrumentations/test/**/*.spec.js'", "test:instrumentations:ci": "nyc --include 'packages/datadog-instrumentations/src/**/*.js' -- npm run test:instrumentations -- --reporter mocha-multi-reporters --reporter-options configFile=mocha-reporter-config.json", "test:core": "mocha --file packages/datadog-core/test/setup.js 'packages/datadog-core/test/**/*.spec.js'", "test:core:ci": "nyc --include 'packages/datadog-core/src/**/*.js' -- npm run test:core -- --reporter mocha-multi-reporters --reporter-options configFile=mocha-reporter-config.json", "test:plugins": "mocha --exit --file \"packages/dd-trace/test/setup/core.js\" \"packages/datadog-plugin-@($(echo $PLUGINS))/test/**/*.spec.js\"", "test:plugins:ci": "yarn services && nyc --include \"packages/datadog-plugin-@($(echo $PLUGINS))/src/**/*.js\" -- npm run test:plugins -- --reporter mocha-multi-reporters --reporter-options configFile=mocha-reporter-config.json", "test:plugins:upstream": "node ./packages/dd-trace/test/plugins/suite.js", "test:profiler": "mocha --exit --file \"packages/dd-trace/test/setup/core.js\" \"packages/dd-trace/test/profiling/**/*.spec.js\"", "test:integration": "mocha --timeout 30000 \"integration-tests/**/*.spec.js\"", "test:shimmer": "mocha 'packages/datadog-shimmer/test/**/*.spec.js'", "test:shimmer:ci": "nyc --include 'packages/datadog-shimmer/src/**/*.js' -- npm run test:shimmer -- --reporter mocha-multi-reporters --reporter-options configFile=mocha-reporter-config.json", "leak:core": "node ./scripts/install_plugin_modules && (cd packages/memwatch && yarn) && NODE_PATH=./packages/memwatch/node_modules node --no-warnings ./node_modules/.bin/tape 'packages/dd-trace/test/leak/**/*.js'", "leak:plugins": "yarn services && (cd packages/memwatch && yarn) && NODE_PATH=./packages/memwatch/node_modules node --no-warnings ./node_modules/.bin/tape \"packages/datadog-plugin-@($(echo $PLUGINS))/test/leak.js\"", "cover:merge": "nyc merge ./.nyc_output ./.nyc_merge/$CIRCLE_JOB.json", "cover:report": "nyc report -t ./.nyc_merge -n 'packages/**/*.js'", "codecov": "codecov", "junit:upload": "node ./scripts/junit_report.js" }, "repository": { "type": "git", "url": "git+https://github.com/DataDog/dd-trace-js.git" }, "keywords": [ "datadog", "trace", "tracing", "profile", "profiler", "profiling", "opentracing", "apm" ], "author": "Datadog Inc. <info@datadoghq.com>", "license": "BSD-3-Clause", "bugs": { "url": "https://github.com/DataDog/dd-trace-js/issues" }, "homepage": "https://github.com/DataDog/dd-trace-js#readme", "engines": { "node": ">=12" }, "dependencies": { "@datadog/native-appsec": "^0.8.1", "@datadog/native-metrics": "^1.1.0", "@datadog/pprof": "^0.3.0", "@datadog/sketches-js": "^1.0.4", "@types/node": ">=12", "crypto-randomuuid": "^1.0.0", "diagnostics_channel": "^1.1.0", "form-data": "^3.0.0", "import-in-the-middle": "^1.1.2", "koalas": "^1.0.2", "limiter": "^1.1.4", "lodash.kebabcase": "^4.1.1", "lodash.pick": "^4.4.0", "lodash.sortby": "^4.7.0", "lodash.uniq": "^4.5.0", "methods": "^1.1.2", "module-details-from-path": "^1.0.3", "multer": "^1.4.2", "opentracing": ">=0.12.1", "path-to-regexp": "^0.1.2", "performance-now": "^2.1.0", "retry": "^0.10.1", "semver": "^5.5.0", "source-map": "^0.7.3", "source-map-resolve": "^0.6.0" }, "devDependencies": { "autocannon": "^4.5.2", "axios": "^0.21.2", "benchmark": "^2.1.4", "body-parser": "^1.18.2", "chai": "^4.2.0", "chalk": "^3.0.0", "checksum": "^0.1.1", "cli-table3": "^0.5.1", "codecov": "3.8.1", "dotenv": "8.2.0", "eslint": "^4.15.0", "eslint-config-standard": "^11.0.0-beta.0", "eslint-plugin-import": "^2.8.0", "eslint-plugin-node": "^5.2.1", "eslint-plugin-promise": "^3.6.0", "eslint-plugin-standard": "^3.0.1", "express": "^4.16.2", "get-port": "^3.2.0", "glob": "^7.1.6", "graphql": "0.13.2", "int64-buffer": "^0.1.9", "jszip": "^3.5.0", "mkdirp": "^0.5.1", "mocha": "8", "mocha-junit-reporter": "^2.0.0", "mocha-multi-reporters": "^1.5.1", "msgpack-lite": "^0.1.26", "nock": "^11.3.3", "nyc": "^15.1.0", "proxyquire": "^1.8.0", "rimraf": "^3.0.0", "sinon": "^11.1.2", "sinon-chai": "^3.7.0", "tape": "^4.9.1", "wait-on": "^5.0.0" } }