From 0434137bbcf72bece5607b76f64ab4c95337ba60 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Fri, 9 Nov 2018 15:02:31 -0800 Subject: [PATCH] refactor: remove unused deps (#115) --- .../google-cloud-bigquery-datatransfer/package.json | 11 ++++------- .../smoke-test/.eslintrc.yml | 1 - packages/google-cloud-bigquery-datatransfer/synth.py | 2 +- .../system-test/.eslintrc.yml | 1 - .../test/.eslintrc.yml | 2 -- 5 files changed, 5 insertions(+), 12 deletions(-) diff --git a/packages/google-cloud-bigquery-datatransfer/package.json b/packages/google-cloud-bigquery-datatransfer/package.json index d1a7f4bb32f..befced2a807 100644 --- a/packages/google-cloud-bigquery-datatransfer/package.json +++ b/packages/google-cloud-bigquery-datatransfer/package.json @@ -35,10 +35,10 @@ "cover": "nyc --reporter=lcov mocha test/*.js && nyc report", "samples-test": "cd samples/ && npm link ../ && npm test && cd ../", "test-no-cover": "mocha test/*.js", - "lint": "eslint src/ samples/ system-test/ test/ smoke-test/", - "prettier": "prettier --write src/*.js src/*/*.js samples/*.js samples/*/*.js test/*.js test/*/*.js system-test/*.js system-test/*/*.js smoke-test/*.js", + "lint": "eslint '**/*.js'", "docs": "jsdoc -c .jsdoc.js", - "system-test": "mocha system-test/*.js smoke-test/*.js --timeout 600000" + "system-test": "mocha system-test/*.js smoke-test/*.js --timeout 600000", + "fix": "eslint --fix '**/*.js'" }, "dependencies": { "google-gax": "^0.20.0", @@ -46,20 +46,17 @@ }, "devDependencies": { "@google-cloud/nodejs-repo-tools": "^2.3.0", - "async": "^2.6.1", "codecov": "^3.0.2", "eslint": "^5.0.0", "eslint-config-prettier": "^3.0.0", "eslint-plugin-node": "^8.0.0", "eslint-plugin-prettier": "^3.0.0", - "extend": "^3.0.1", "ink-docstrap": "^1.3.2", "intelli-espower-loader": "^1.0.1", "jsdoc": "^3.5.5", "mocha": "^5.2.0", "nyc": "^13.0.0", "power-assert": "^1.5.0", - "prettier": "^1.13.4", - "through2": "^3.0.0" + "prettier": "^1.13.4" } } diff --git a/packages/google-cloud-bigquery-datatransfer/smoke-test/.eslintrc.yml b/packages/google-cloud-bigquery-datatransfer/smoke-test/.eslintrc.yml index 2e6882e46d2..f9605165c0f 100644 --- a/packages/google-cloud-bigquery-datatransfer/smoke-test/.eslintrc.yml +++ b/packages/google-cloud-bigquery-datatransfer/smoke-test/.eslintrc.yml @@ -2,5 +2,4 @@ env: mocha: true rules: - node/no-unpublished-require: off no-console: off diff --git a/packages/google-cloud-bigquery-datatransfer/synth.py b/packages/google-cloud-bigquery-datatransfer/synth.py index 47ed62a725d..6b9ea473152 100644 --- a/packages/google-cloud-bigquery-datatransfer/synth.py +++ b/packages/google-cloud-bigquery-datatransfer/synth.py @@ -28,4 +28,4 @@ # Node.js specific cleanup subprocess.run(['npm', 'install']) -subprocess.run(['npm', 'run', 'prettier']) +subprocess.run(['npm', 'run', 'fix']) diff --git a/packages/google-cloud-bigquery-datatransfer/system-test/.eslintrc.yml b/packages/google-cloud-bigquery-datatransfer/system-test/.eslintrc.yml index 2e6882e46d2..f9605165c0f 100644 --- a/packages/google-cloud-bigquery-datatransfer/system-test/.eslintrc.yml +++ b/packages/google-cloud-bigquery-datatransfer/system-test/.eslintrc.yml @@ -2,5 +2,4 @@ env: mocha: true rules: - node/no-unpublished-require: off no-console: off diff --git a/packages/google-cloud-bigquery-datatransfer/test/.eslintrc.yml b/packages/google-cloud-bigquery-datatransfer/test/.eslintrc.yml index 73f7bbc946f..6db2a46c535 100644 --- a/packages/google-cloud-bigquery-datatransfer/test/.eslintrc.yml +++ b/packages/google-cloud-bigquery-datatransfer/test/.eslintrc.yml @@ -1,5 +1,3 @@ --- env: mocha: true -rules: - node/no-unpublished-require: off