Skip to content

Commit

Permalink
refactor: drop repo-tool as an exec wrapper (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Jun 26, 2018
1 parent 3527670 commit 4194797
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,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
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@
"pnr <w.nattadej@gmail.com>"
],
"scripts": {
"docs": "repo-tools exec -- jsdoc -c .jsdoc.js",
"docs": "jsdoc -c .jsdoc.js",
"generate-scaffolding": "repo-tools generate all --except lib_readme",
"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",
"presamples-test": "npm run compile",
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
"presystem-test": "npm run compile",
"system-test": "repo-tools test run --cmd mocha -- build/system-test/*.js --timeout 600000 -r source-map-support/register",
"test": "repo-tools test run --cmd mocha -- build/test/*.js -r source-map-support/register",
"system-test": "mocha build/system-test/*.js --timeout 600000 -r source-map-support/register",
"test": "mocha build/test/*.js -r source-map-support/register",
"check": "gts check",
"clean": "gts clean",
"compile": "tsc -p .",
Expand Down
2 changes: 1 addition & 1 deletion samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"scripts": {
"system-test": "ava -T 1m --verbose system-test/*.test.js",
"test": "repo-tools test run --cmd npm -- run system-test"
"test": "npm run system-test"
},
"dependencies": {
"@google-cloud/logging-winston": "0.9.0",
Expand Down

0 comments on commit 4194797

Please sign in to comment.