Skip to content

Commit

Permalink
chore: remove unused deps and cleanup (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Nov 9, 2018
1 parent 83a506f commit f396d60
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
3 changes: 1 addition & 2 deletions packages/google-cloud-texttospeech/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
node_modules/*
samples/node_modules/*
**/node_modules
src/**/doc/*
build/
9 changes: 3 additions & 6 deletions packages/google-cloud-texttospeech/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,33 +33,30 @@
"generate-scaffolding": "repo-tools generate all && repo-tools generate lib_samples_readme -l samples/ --config ../.cloud-repo-tools.json",
"cover": "nyc --reporter=lcov mocha test/*.js && nyc report",
"test-no-cover": "mocha test/*.js",
"lint": "eslint src/ samples/ system-test/ test/",
"lint": "eslint '**/*.js'",
"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": "mocha system-test",
"docs": "jsdoc -c .jsdoc.js",
"fix": "eslint --fix '**/*.js' && npm run prettier"
"fix": "eslint --fix '**/*.js'"
},
"dependencies": {
"google-gax": "^0.20.0",
"lodash.merge": "^4.6.0"
},
"devDependencies": {
"@google-cloud/nodejs-repo-tools": "^2.2.6",
"async": "^2.6.0",
"codecov": "^3.0.0",
"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.0.5",
"nyc": "^13.0.0",
"power-assert": "^1.4.4",
"prettier": "^1.11.1",
"through2": "^3.0.0"
"prettier": "^1.11.1"
}
}
5 changes: 1 addition & 4 deletions packages/google-cloud-texttospeech/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@
templates = common_templates.node_library()
s.copy(templates)

#
# Node.js specific cleanup
#
subprocess.run(['npm', 'install'])
subprocess.run(['npm', 'run', 'prettier'])
subprocess.run(['npm', 'run', 'lint'])
subprocess.run(['npm', 'run', 'fix'])
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
env:
mocha: true
rules:
node/no-unpublished-require: off
no-console: off
2 changes: 0 additions & 2 deletions packages/google-cloud-texttospeech/test/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
---
env:
mocha: true
rules:
node/no-unpublished-require: off

0 comments on commit f396d60

Please sign in to comment.