Skip to content

Commit 1e0b690

Browse files
committed
updated scripts
1 parent c2f230c commit 1e0b690

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

packages/propagator-aws-xray/package.json

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,21 @@
77
"types": "build/src/index.d.ts",
88
"repository": "open-telemetry/opentelemetry-js",
99
"scripts": {
10-
"precompile": "tsc --version && lerna run version:update --scope @opentelemetry/propagator-aws-xray --include-dependencies",
11-
"prewatch": "npm run precompile",
12-
"compile": "tsc --build tsconfig.json tsconfig.esm.json",
13-
"clean": "tsc --build --clean tsconfig.json tsconfig.esm.json",
14-
"test": "nyc ts-mocha -p tsconfig.json test/**/*.test.ts",
15-
"test:browser": "nyc karma start --single-run",
10+
"prepublishOnly": "npm run compile",
11+
"compile": "tsc --build tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
12+
"clean": "tsc --build --clean tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
1613
"lint": "eslint . --ext .ts",
1714
"lint:fix": "eslint . --ext .ts --fix",
18-
"watch": "tsc --build --watch tsconfig.json tsconfig.esm.json",
19-
"prepublishOnly": "npm run compile"
15+
"codecov:browser": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../",
16+
"codecov:webworker": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../",
17+
"version": "node ../../scripts/version-update.js",
18+
"tdd": "karma start",
19+
"test:browser": "karma start --single-run",
20+
"test:webworker": "karma start karma.worker.js --single-run",
21+
"watch": "tsc --build --watch tsconfig.json tsconfig.esm.json tsconfig.esnext.json",
22+
"precompile": "cross-var lerna run version --scope $npm_package_name --include-dependencies",
23+
"prewatch": "npm run precompile",
24+
"peer-api-check": "node ../../scripts/peer-api-check.js"
2025
},
2126
"keywords": [
2227
"opentelemetry",

0 commit comments

Comments
 (0)