diff --git a/package.json b/package.json index d6806b37f..66bd58e00 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,8 @@ "benchwrapper": "node bin/benchwrapper.js", "prelint": "cd samples; npm link ../; npm install", "precompile": "gts clean", - "typeless": "cd samples; npm run typeless" + "typeless": "npx typeless-sample-bot --outputpath samples --targets samples --recursive", + "posttypeless": "npm run fix" }, "dependencies": { "@google-cloud/paginator": "^5.0.0", @@ -64,6 +65,7 @@ "p-defer": "^3.0.0" }, "devDependencies": { + "@google-cloud/typeless-sample-bot": "^2.1.0", "@grpc/proto-loader": "^0.7.0", "@opentelemetry/core": "^1.17.0", "@opentelemetry/sdk-trace-base": "^1.17.0", diff --git a/samples/package.json b/samples/package.json index 9a29ba62a..aff99d498 100644 --- a/samples/package.json +++ b/samples/package.json @@ -18,9 +18,7 @@ "sampletsc": "cd typescript && tsc -p . && cd ..", "compile": "npm run tsc && npm run sampletsc", "clean": "gts clean && rm -rf build/", - "precompile": "npm run clean", - "typeless": "npx typeless-sample-bot --outputpath . --targets . --recursive", - "posttypeless": "gts fix" + "precompile": "npm run clean" }, "dependencies": { "@google-cloud/opentelemetry-cloud-trace-exporter": "^2.0.0", @@ -37,7 +35,6 @@ }, "devDependencies": { "@google-cloud/bigquery": "^7.0.0", - "@google-cloud/typeless-sample-bot": "^2.1.0", "@types/chai": "^4.2.16", "chai": "^4.2.0", "gts": "^5.0.0",