|
10 | 10 | "directory": "packages/instrumentation-redis" |
11 | 11 | }, |
12 | 12 | "scripts": { |
13 | | - "test-v2-v3": "nyc mocha --require '@opentelemetry/contrib-test-utils' 'test/v2-v3/*.test.ts'", |
14 | | - "test": "nyc mocha --require '@opentelemetry/contrib-test-utils' 'test/v4/*.test.ts'", |
15 | | - "test:debug": "cross-env RUN_REDIS_TESTS_LOCAL=true mocha --inspect-brk --no-timeouts 'test/**/*.test.ts'", |
16 | | - "test:local": "cross-env RUN_REDIS_TESTS_LOCAL=true npm run test", |
17 | | - "test:docker:run": "docker run --rm -d --name otel-redis -p 63790:6379 redis:alpine", |
18 | | - "test:docker:stop": "docker stop otel-redis", |
19 | | - "test-all-versions": "tav", |
20 | | - "test-all-versions:local": "cross-env RUN_REDIS_TESTS_LOCAL=true npm run test-all-versions", |
21 | | - "tdd": "npm run test -- --watch-extensions ts --watch", |
22 | 13 | "clean": "rimraf build/*", |
| 14 | + "compile": "tsc -p .", |
| 15 | + "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-redis", |
23 | 16 | "lint": "eslint . --ext .ts", |
24 | 17 | "lint:fix": "eslint . --ext .ts --fix", |
25 | 18 | "lint:readme": "node ../../scripts/lint-readme.js", |
26 | | - "version:update": "node ../../scripts/version-update.js", |
27 | | - "compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/instrumentation-redis", |
28 | | - "compile": "tsc -p .", |
29 | | - "prepublishOnly": "npm run compile" |
| 19 | + "prepublishOnly": "npm run compile", |
| 20 | + "tdd": "npm run test -- --watch-extensions ts --watch", |
| 21 | + "test-v2-v3": "nyc mocha --require '@opentelemetry/contrib-test-utils' 'test/v2-v3/*.test.ts'", |
| 22 | + "test": "nyc mocha --require '@opentelemetry/contrib-test-utils' 'test/v4/*.test.ts'", |
| 23 | + "test:debug": "cross-env RUN_REDIS_TESTS=true mocha --inspect-brk --no-timeouts 'test/**/*.test.ts'", |
| 24 | + "test:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm test", |
| 25 | + "test-all-versions": "tav", |
| 26 | + "test-all-versions:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=../../test/test-services.env npm run test-all-versions", |
| 27 | + "test-services:start": "cd ../.. && npm run test-services:start redis", |
| 28 | + "test-services:stop": "cd ../.. && npm run test-services:stop redis", |
| 29 | + "version:update": "node ../../scripts/version-update.js" |
30 | 30 | }, |
31 | 31 | "keywords": [ |
32 | 32 | "instrumentation", |
|
0 commit comments