Skip to content

Commit

Permalink
refactor: drop repo-tool as an exec wrapper (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored and alexander-fenster committed Jun 26, 2018
1 parent 4e74c59 commit a3c9812
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion packages/google-cloud-speech/.circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
12 changes: 6 additions & 6 deletions packages/google-cloud-speech/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-speech/samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a3c9812

Please sign in to comment.