Skip to content

Commit

Permalink
refactor: drop repo-tool as an exec wrapper (#69)
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 0bad299 commit f59641e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion packages/google-privacy-dlp/.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-privacy-dlp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,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": {
"google-gax": "^0.16.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/google-privacy-dlp/samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"node": ">=6.0.0"
},
"scripts": {
"test": "repo-tools test run --cmd ava -- -T 5m --verbose system-test/*.test.js"
"test": "ava -T 5m --verbose system-test/*.test.js"
},
"dependencies": {
"@google-cloud/dlp": "^0.6.0",
Expand Down

0 comments on commit f59641e

Please sign in to comment.