This repository has been archived by the owner on May 18, 2023. It is now read-only.
forked from DataDog/dd-trace-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
138 lines (138 loc) · 6.94 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "dd-trace",
"version": "4.0.0-pre",
"description": "Datadog APM tracing client for JavaScript",
"main": "index.js",
"typings": "index.d.ts",
"scripts": {
"preinstall": "node scripts/preinstall.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",
"test": "SERVICES=* yarn services && mocha --colors --exit --expose-gc 'packages/dd-trace/test/setup/node.js' 'packages/*/test/**/*.spec.js'",
"test:appsec": "mocha --colors --exit -r \"packages/dd-trace/test/setup/mocha.js\" --exclude \"packages/dd-trace/test/appsec/iast/**/*.plugin.spec.js\" \"packages/dd-trace/test/appsec/**/*.spec.js\"",
"test:appsec:ci": "nyc --no-clean --include \"packages/dd-trace/src/appsec/**/*.js\" --exclude \"packages/dd-trace/test/appsec/iast/**/*.plugin.spec.js\" -- npm run test:appsec",
"test:appsec:plugins": "mocha --colors --exit -r \"packages/dd-trace/test/setup/mocha.js\" \"packages/dd-trace/test/appsec/iast/**/*.@($(echo $PLUGINS)).plugin.spec.js\"",
"test:appsec:plugins:ci": "yarn services && nyc --no-clean --include \"packages/dd-trace/test/appsec/iast/**/*.@($(echo $PLUGINS)).plugin.spec.js\" -- npm run test:appsec:plugins",
"test:trace:core": "tap packages/dd-trace/test/*.spec.js \"packages/dd-trace/test/{ci-visibility,encode,exporters,opentracing,plugins,telemetry}/**/*.spec.js\"",
"test:trace:core:ci": "npm run test:trace:core -- --coverage --nyc-arg=--include=\"packages/dd-trace/src/**/*.js\"",
"test:instrumentations": "mocha --colors -r 'packages/dd-trace/test/setup/mocha.js' 'packages/datadog-instrumentations/test/**/*.spec.js'",
"test:instrumentations:ci": "nyc --no-clean --include 'packages/datadog-instrumentations/src/**/*.js' -- npm run test:instrumentations",
"test:core": "tap \"packages/datadog-core/test/**/*.spec.js\"",
"test:core:ci": "npm run test:core -- --coverage --nyc-arg=--include=\"packages/datadog-core/src/**/*.js\"",
"test:lambda": "mocha --colors --exit -r \"packages/dd-trace/test/setup/mocha.js\" \"packages/dd-trace/test/lambda/**/*.spec.js\"",
"test:lambda:ci": "nyc --no-clean --include \"packages/dd-trace/src/lambda/**/*.js\" -- npm run test:lambda",
"test:plugins": "mocha --colors --exit -r \"packages/dd-trace/test/setup/mocha.js\" \"packages/datadog-instrumentations/test/@($(echo $PLUGINS)).spec.js\" \"packages/datadog-plugin-@($(echo $PLUGINS))/test/**/*.spec.js\"",
"test:plugins:ci": "yarn services && nyc --no-clean --include \"packages/datadog-instrumentations/src/@($(echo $PLUGINS)).js\" --include \"packages/datadog-instrumentations/src/@($(echo $PLUGINS))/**/*.js\" --include \"packages/datadog-plugin-@($(echo $PLUGINS))/src/**/*.js\" -- npm run test:plugins",
"test:plugins:upstream": "node ./packages/dd-trace/test/plugins/suite.js",
"test:profiler": "tap \"packages/dd-trace/test/profiling/**/*.spec.js\"",
"test:profiler:ci": "npm run test:profiler -- --coverage --nyc-arg=--include=\"packages/dd-trace/src/profiling/**/*.js\"",
"test:integration": "mocha --colors --timeout 30000 \"integration-tests/*.spec.js\"",
"test:integration:cucumber": "mocha --colors --timeout 30000 \"integration-tests/cucumber/*.spec.js\"",
"test:integration:cypress": "mocha --colors --timeout 30000 \"integration-tests/cypress/*.spec.js\"",
"test:integration:playwright": "mocha --colors --timeout 30000 \"integration-tests/playwright/*.spec.js\"",
"test:shimmer": "mocha --colors 'packages/datadog-shimmer/test/**/*.spec.js'",
"test:shimmer:ci": "nyc --no-clean --include 'packages/datadog-shimmer/src/**/*.js' -- npm run test:shimmer",
"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\""
},
"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. <[email protected]>",
"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": ">=14"
},
"dependencies": {
"@datadog/native-appsec": "2.0.0",
"@datadog/native-iast-rewriter": "2.0.1",
"@datadog/native-iast-taint-tracking": "1.3.1",
"@datadog/native-metrics": "^1.5.0",
"@datadog/pprof": "^2.1.0",
"@datadog/sketches-js": "^2.1.0",
"crypto-randomuuid": "^1.0.0",
"diagnostics_channel": "^1.1.0",
"ignore": "^5.2.0",
"import-in-the-middle": "^1.3.4",
"ipaddr.js": "^2.0.1",
"istanbul-lib-coverage": "3.2.0",
"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",
"lru-cache": "^7.14.0",
"methods": "^1.1.2",
"module-details-from-path": "^1.0.3",
"node-abort-controller": "^3.0.1",
"opentracing": ">=0.12.1",
"path-to-regexp": "^0.1.2",
"protobufjs": "^7.1.2",
"retry": "^0.10.1",
"semver": "^7.3.8"
},
"devDependencies": {
"@types/node": ">=14",
"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",
"dotenv": "8.2.0",
"esbuild": "0.16.12",
"eslint": "^8.23.0",
"eslint-config-standard": "^11.0.0-beta.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-node": "^5.2.1",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-standard": "^3.0.1",
"express": "^4.16.2",
"fetch-h2": "^3.0.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",
"msgpack-lite": "^0.1.26",
"multer": "^1.4.5-lts.1",
"nock": "^11.3.3",
"nyc": "^15.1.0",
"pprof-format": "^2.0.7",
"proxyquire": "^1.8.0",
"rimraf": "^3.0.0",
"sinon": "^11.1.2",
"sinon-chai": "^3.7.0",
"tap": "^16.3.4",
"tape": "^4.9.1",
"wait-on": "^5.0.0"
}
}