From 8fe04ac5bdd32a5f4a421290b3c213cc1cad97e8 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Mon, 25 Jun 2018 22:50:45 -0700 Subject: [PATCH] refactor: drop repo-tool as an exec wrapper (#96) --- packages/google-cloud-node/.circleci/config.yml | 1 - packages/google-cloud-node/package.json | 12 ++++++------ packages/google-cloud-node/samples/package.json | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/packages/google-cloud-node/.circleci/config.yml b/packages/google-cloud-node/.circleci/config.yml index 7810c1631173..f10d30d7c68a 100644 --- a/packages/google-cloud-node/.circleci/config.yml +++ b/packages/google-cloud-node/.circleci/config.yml @@ -84,7 +84,6 @@ jobs: command: |- mkdir -p /home/node/.npm-global npm install - chmod +x node_modules/@google-cloud/nodejs-repo-tools/bin/tools environment: NPM_CONFIG_PREFIX: /home/node/.npm-global - run: diff --git a/packages/google-cloud-node/package.json b/packages/google-cloud-node/package.json index 3d57fd602dee..33812dcbc8fb 100644 --- a/packages/google-cloud-node/package.json +++ b/packages/google-cloud-node/package.json @@ -54,14 +54,14 @@ ], "scripts": { "cover": "nyc --reporter=lcov mocha --require intelli-espower-loader test/*.js && nyc report", - "docs": "repo-tools exec -- jsdoc -c .jsdoc.js", + "docs": "jsdoc -c .jsdoc.js", "generate-scaffolding": "repo-tools generate all && repo-tools generate lib_samples_readme -l samples/ --config ../.cloud-repo-tools.json", - "lint": "repo-tools lint --cmd eslint -- src/ samples/ system-test/ test/", - "prettier": "repo-tools exec -- prettier --write src/*.js src/*/*.js samples/*.js samples/*/*.js test/*.js test/*/*.js system-test/*.js system-test/*/*.js", + "lint": "eslint src/ samples/ system-test/ test/", + "prettier": "prettier --write src/*.js src/*/*.js samples/*.js samples/*/*.js test/*.js test/*/*.js system-test/*.js system-test/*/*.js", "samples-test": "cd samples/ && npm link ../ && npm test && cd ../", - "system-test": "repo-tools test run --cmd mocha -- system-test/*.js --timeout 600000", - "test-no-cover": "repo-tools test run --cmd mocha -- test/*.js --no-timeouts", - "test": "repo-tools test run --cmd npm -- run cover" + "system-test": "mocha system-test/*.js --timeout 600000", + "test-no-cover": "mocha test/*.js --no-timeouts", + "test": "npm run cover" }, "dependencies": { "extend": "^3.0.1", diff --git a/packages/google-cloud-node/samples/package.json b/packages/google-cloud-node/samples/package.json index fc0418599b73..ad4d6b56c3ad 100644 --- a/packages/google-cloud-node/samples/package.json +++ b/packages/google-cloud-node/samples/package.json @@ -9,7 +9,7 @@ "node": ">=4.0.0" }, "scripts": { - "test": "repo-tools test run --cmd ava -- -T 20s --verbose system-test/*.test.js" + "test": "ava -T 20s --verbose system-test/*.test.js" }, "dependencies": { "@google-cloud/speech": "1.5.0",