diff --git a/appengine/analytics/package.json b/appengine/analytics/package.json index 86253eedf7..65c560a2fb 100644 --- a/appengine/analytics/package.json +++ b/appengine/analytics/package.json @@ -14,7 +14,7 @@ }, "scripts": { "start": "node app.js", - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "system-test": "repo-tools test app", "test": "npm run system-test" diff --git a/appengine/cloudsql/package.json b/appengine/cloudsql/package.json index 895806ce13..cf3b051f73 100644 --- a/appengine/cloudsql/package.json +++ b/appengine/cloudsql/package.json @@ -13,7 +13,7 @@ "node": ">=8" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "unit-test": "ava --verbose test/*.test.js", "start-proxy": "! pgrep cloud_sql_proxy > /dev/null && cloud_sql_proxy -instances=$INSTANCE_CONNECTION_NAME=tcp:$SQL_PORT &", diff --git a/appengine/cloudsql_postgresql/package.json b/appengine/cloudsql_postgresql/package.json index 17b1598262..510ad747c8 100644 --- a/appengine/cloudsql_postgresql/package.json +++ b/appengine/cloudsql_postgresql/package.json @@ -13,7 +13,7 @@ "node": ">=8" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "unit-test": "ava --verbose test/*.test.js", "start-proxy": "! pgrep cloud_sql_proxy > /dev/null && cloud_sql_proxy -instances=$INSTANCE_CONNECTION_NAME=tcp:$SQL_PORT &", diff --git a/appengine/datastore/package.json b/appengine/datastore/package.json index ea7eac5524..cab00b64b1 100644 --- a/appengine/datastore/package.json +++ b/appengine/datastore/package.json @@ -14,7 +14,7 @@ }, "scripts": { "start": "node app.js", - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "system-test": "repo-tools test app", "test": "npm run system-test" diff --git a/appengine/endpoints/package.json b/appengine/endpoints/package.json index 1464e6cada..a9ce177f93 100644 --- a/appengine/endpoints/package.json +++ b/appengine/endpoints/package.json @@ -15,7 +15,7 @@ "scripts": { "deploy": "gcloud app deploy", "start": "node app.js", - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "unit-test": "ava --verbose test/*.test.js", "system-test": "repo-tools test app", diff --git a/appengine/errorreporting/package.json b/appengine/errorreporting/package.json index 519430f622..8e06c4e0e0 100644 --- a/appengine/errorreporting/package.json +++ b/appengine/errorreporting/package.json @@ -14,7 +14,7 @@ }, "scripts": { "start": "node app.js", - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "unit-test": "ava --verbose test/*.test.js", "system-test": "repo-tools test app", diff --git a/appengine/headless-chrome/package.json b/appengine/headless-chrome/package.json index 0188f0a5e5..7931f6a128 100644 --- a/appengine/headless-chrome/package.json +++ b/appengine/headless-chrome/package.json @@ -9,7 +9,7 @@ "start": "node app.js", "system-test": "repo-tools test app", "unit-test": "ava --verbose test/*.test.js", - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "npm run unit-test && npm run system-test" }, diff --git a/appengine/hello-world/flexible/package.json b/appengine/hello-world/flexible/package.json index f675ae464d..f9188a255c 100644 --- a/appengine/hello-world/flexible/package.json +++ b/appengine/hello-world/flexible/package.json @@ -15,7 +15,7 @@ "scripts": { "deploy": "gcloud app deploy", "start": "node app.js", - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "system-test": "repo-tools test app", "test": "npm run system-test", diff --git a/appengine/hello-world/standard/package.json b/appengine/hello-world/standard/package.json index 842b95543f..9c523a0d14 100644 --- a/appengine/hello-world/standard/package.json +++ b/appengine/hello-world/standard/package.json @@ -15,7 +15,7 @@ "scripts": { "deploy": "gcloud app deploy", "start": "node app.js", - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "system-test": "repo-tools test app", "test": "npm run system-test", diff --git a/appengine/mailjet/package.json b/appengine/mailjet/package.json index d227221ac4..d2e3e01b87 100644 --- a/appengine/mailjet/package.json +++ b/appengine/mailjet/package.json @@ -14,7 +14,7 @@ }, "scripts": { "start": "node app.js", - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "system-test": "repo-tools test app", "test": "npm run system-test" diff --git a/appengine/metadata/flexible/package.json b/appengine/metadata/flexible/package.json index abb9b2b622..485fed3e98 100644 --- a/appengine/metadata/flexible/package.json +++ b/appengine/metadata/flexible/package.json @@ -13,7 +13,7 @@ "node": ">=8" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "system-test": "repo-tools test app -- server.js", "test": "npm run system-test" diff --git a/appengine/metadata/standard/package.json b/appengine/metadata/standard/package.json index 53ef906ba9..c52b87c549 100644 --- a/appengine/metadata/standard/package.json +++ b/appengine/metadata/standard/package.json @@ -13,7 +13,7 @@ "node": ">=8" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "system-test": "repo-tools test app -- ./server.js", "test": "npm run system-test" diff --git a/auth/package.json b/auth/package.json index 77b252bcf6..5c01112621 100644 --- a/auth/package.json +++ b/auth/package.json @@ -9,10 +9,10 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=4.3.2" + "node": ">=6" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "repo-tools test run --cmd ava -- -T 20s --verbose system-test/*.test.js" }, diff --git a/containerengine/hello-world/package.json b/containerengine/hello-world/package.json index 1ce582ae70..e41a5d6903 100644 --- a/containerengine/hello-world/package.json +++ b/containerengine/hello-world/package.json @@ -14,7 +14,7 @@ }, "scripts": { "start": "node server.js", - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "system-test": "repo-tools test app -- server.js", "test": "npm run system-test" diff --git a/debugger/package.json b/debugger/package.json index a8420b9d16..35d3bf93be 100644 --- a/debugger/package.json +++ b/debugger/package.json @@ -10,12 +10,12 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=4.3.2" + "node": ">=6" }, "scripts": { "deploy": "gcloud app deploy", "start": "node app.js", - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "system-test": "repo-tools test app", "test": "npm run system-test", diff --git a/endpoints/getting-started-grpc/package.json b/endpoints/getting-started-grpc/package.json index e303684c6c..bf66b5fed5 100644 --- a/endpoints/getting-started-grpc/package.json +++ b/endpoints/getting-started-grpc/package.json @@ -14,7 +14,7 @@ }, "scripts": { "start": "node server.js", - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "repo-tools test run --cmd ava -- -T 1m --verbose system-test/*.test.js" }, diff --git a/endpoints/getting-started/package.json b/endpoints/getting-started/package.json index 6080c246ec..68589fc4a5 100644 --- a/endpoints/getting-started/package.json +++ b/endpoints/getting-started/package.json @@ -14,7 +14,7 @@ }, "scripts": { "start": "node app.js", - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "repo-tools test run --cmd ava -- -T 20s --verbose test/*.test.js" }, diff --git a/error-reporting/package.json b/error-reporting/package.json index 3ba330372a..2695e4d2fc 100644 --- a/error-reporting/package.json +++ b/error-reporting/package.json @@ -9,10 +9,10 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=4.3.2" + "node": ">=6" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "error-test": "repo-tools test app --msg \"Something broke!\" --url \"http://localhost:33332/error\" --port 33332 -- snippets.js express", "exception-test": "repo-tools test app --code 500 --msg SyntaxError --url \"http://localhost:33333/exception\" --port 33333 -- snippets.js express", diff --git a/functions/background/package.json b/functions/background/package.json index dc792028dd..1bbaaf47ae 100644 --- a/functions/background/package.json +++ b/functions/background/package.json @@ -12,7 +12,7 @@ "node": ">=4.3.2" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "ava -T 20s --verbose test/*.test.js" }, diff --git a/functions/billing/package.json b/functions/billing/package.json index 465dd1066b..1ea72b22d9 100644 --- a/functions/billing/package.json +++ b/functions/billing/package.json @@ -4,7 +4,7 @@ "description": "Examples of integrating Cloud Functions with billing", "main": "index.js", "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "ava test/*" }, diff --git a/functions/composer-storage-trigger/package.json b/functions/composer-storage-trigger/package.json index 5a8cf7569b..a26ae59992 100644 --- a/functions/composer-storage-trigger/package.json +++ b/functions/composer-storage-trigger/package.json @@ -23,7 +23,7 @@ "sinon": "4.4.2" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "test": "ava -T 20s --verbose test/*.test.js" } } diff --git a/functions/concepts/package.json b/functions/concepts/package.json index 298ba762f5..20baac26b0 100644 --- a/functions/concepts/package.json +++ b/functions/concepts/package.json @@ -12,7 +12,7 @@ "node": ">=4.3.2" }, "scripts": { - "lint": "repo-tools lint" + "lint": "semistandard '**/*.js'" }, "dependencies": { "request": "^2.85.0" diff --git a/functions/datastore/package.json b/functions/datastore/package.json index 957522866a..18bdc2bade 100644 --- a/functions/datastore/package.json +++ b/functions/datastore/package.json @@ -12,7 +12,7 @@ "node": ">=4.3.2" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "e2e-test": "export FUNCTIONS_CMD='gcloud functions' && sh test/updateFunctions.sh && BASE_URL=\"https://$GCF_REGION-$GCLOUD_PROJECT.cloudfunctions.net/\" ava -T 20s --verbose test/*.test.js", "system-test": "export FUNCTIONS_CMD='functions' && sh test/updateFunctions.sh && BASE_URL=\"http://localhost:8010/$GCLOUD_PROJECT/$GCF_REGION\" ava -T 20s --verbose test/*.test.js", diff --git a/functions/env_vars/package.json b/functions/env_vars/package.json index 8205d53e3d..c6466eab90 100644 --- a/functions/env_vars/package.json +++ b/functions/env_vars/package.json @@ -12,7 +12,7 @@ "node": ">=4.3.2" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "ava -T 20s --verbose test/*.test.js" }, diff --git a/functions/firebase/package.json b/functions/firebase/package.json index eb97e5d156..61df993281 100644 --- a/functions/firebase/package.json +++ b/functions/firebase/package.json @@ -12,7 +12,7 @@ "node": ">=4.3.2" }, "scripts": { - "pretest": "repo-tools lint", + "pretest": "semistandard '**/*.js'", "test": "ava -T 30s test/*.test.js" }, "devDependencies": { diff --git a/functions/gcs/package.json b/functions/gcs/package.json index 57d5d4c8b5..bc47367443 100644 --- a/functions/gcs/package.json +++ b/functions/gcs/package.json @@ -12,7 +12,7 @@ "node": ">=4.3.2" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "ava -T 20s --verbose test/*.test.js" }, diff --git a/functions/headless-chrome/package.json b/functions/headless-chrome/package.json index 63173ccb86..e72d240c7c 100644 --- a/functions/headless-chrome/package.json +++ b/functions/headless-chrome/package.json @@ -12,7 +12,7 @@ "node": ">=8" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "e2e-test": "export FUNCTIONS_CMD='gcloud beta functions' && sh test/updateFunctions.sh && BASE_URL=\"https://$GCF_REGION-$GCLOUD_PROJECT.cloudfunctions.net/\" ava -T 20s --verbose test/*.test.js" }, diff --git a/functions/helloworld/package.json b/functions/helloworld/package.json index 29334db8d0..b932337a33 100644 --- a/functions/helloworld/package.json +++ b/functions/helloworld/package.json @@ -12,7 +12,7 @@ "node": ">=4.3.2" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "e2e-test": "export FUNCTIONS_CMD='gcloud functions' && sh test/updateFunctions.sh && BASE_URL=\"https://$GCP_REGION-$GCLOUD_PROJECT.cloudfunctions.net/\" ava -T 20s --verbose test/*.test.js", "test": "export FUNCTIONS_CMD='functions-emulator' && sh test/updateFunctions.sh && export BASE_URL=\"http://localhost:8010/$GCLOUD_PROJECT/$GCF_REGION\" && ava -T 20s --verbose -c 1 test/index.test.js test/*unit*test.js test/*integration*test.js", diff --git a/functions/http/package.json b/functions/http/package.json index a2e5a0432d..79bd4a0b8b 100644 --- a/functions/http/package.json +++ b/functions/http/package.json @@ -12,7 +12,7 @@ "node": ">=4.3.2" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "ava -T 20s --verbose test/*.test.js" }, diff --git a/functions/imagemagick/package.json b/functions/imagemagick/package.json index 80975e0a24..f6427a8368 100644 --- a/functions/imagemagick/package.json +++ b/functions/imagemagick/package.json @@ -12,7 +12,7 @@ "node": ">=4.3.2" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "ava -T 20s --verbose test/*.test.js" }, diff --git a/functions/log/package.json b/functions/log/package.json index ffb4e84540..d8a56db475 100644 --- a/functions/log/package.json +++ b/functions/log/package.json @@ -12,7 +12,7 @@ "node": ">=4.3.2" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "ava -T 20s --verbose test/*.test.js" }, diff --git a/functions/ocr/app/package.json b/functions/ocr/app/package.json index 2e87d24115..7899b1e76d 100644 --- a/functions/ocr/app/package.json +++ b/functions/ocr/app/package.json @@ -12,7 +12,7 @@ "node": ">=4.3.2" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "ava -T 20s --verbose test/*.test.js" }, diff --git a/functions/pubsub/package.json b/functions/pubsub/package.json index f4f8f3d315..e37a6f0c36 100644 --- a/functions/pubsub/package.json +++ b/functions/pubsub/package.json @@ -12,7 +12,7 @@ "node": ">=4.3.2" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "ava -T 20s --verbose test/*.test.js" }, diff --git a/functions/scheduleinstance/package.json b/functions/scheduleinstance/package.json index 3520b565a2..0db66b1de8 100644 --- a/functions/scheduleinstance/package.json +++ b/functions/scheduleinstance/package.json @@ -12,7 +12,7 @@ "node": ">=6.0" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "ava -T 20s --verbose test/*.test.js" }, diff --git a/functions/sendgrid/package.json b/functions/sendgrid/package.json index f5fbf05dc9..ba3baeb618 100644 --- a/functions/sendgrid/package.json +++ b/functions/sendgrid/package.json @@ -12,7 +12,7 @@ "node": ">=4.3.2" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "ava -T 20s --verbose test/*.test.js" }, diff --git a/functions/slack/package.json b/functions/slack/package.json index 04a651cdef..03ab2549cd 100644 --- a/functions/slack/package.json +++ b/functions/slack/package.json @@ -12,7 +12,7 @@ "node": ">=4.3.2" }, "scripts": { - "lint": "samples lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "ava -T 20s --verbose test/*.test.js" }, diff --git a/functions/spanner/package.json b/functions/spanner/package.json index 443255b106..dec6eb8dd9 100644 --- a/functions/spanner/package.json +++ b/functions/spanner/package.json @@ -12,7 +12,7 @@ "node": ">=4.3.2" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "ava -T 20s --verbose test/*.test.js" }, diff --git a/functions/speech-to-speech/package.json b/functions/speech-to-speech/package.json index b63007361f..ddad2092d9 100644 --- a/functions/speech-to-speech/package.json +++ b/functions/speech-to-speech/package.json @@ -24,7 +24,7 @@ "storage" ], "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "local-test": "mocha test/index.test.js", "system-test": "mocha --timeout 20000 test/sample.integration.http.test.js", "pretest": "npm run lint && sh test/updateFunctions.sh", diff --git a/functions/sql/package.json b/functions/sql/package.json index 1f61865a8b..3513f79501 100644 --- a/functions/sql/package.json +++ b/functions/sql/package.json @@ -16,7 +16,7 @@ "start-proxy-pg": "cloud_sql_proxy -instances=$INSTANCE_CONNECTION_NAME-pg=tcp:5432 &", "start-proxy": "! pgrep cloud_sql_proxy > /dev/null && npm run start-proxy-pg && npm run start-proxy-mysql || exit 0", "kill-proxy": "killall cloud_sql_proxy", - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "ava": "ava -T 20s --verbose test/*.test.js", "test": "npm run start-proxy && npm run ava && npm run kill-proxy" diff --git a/functions/tips/package.json b/functions/tips/package.json index b8c74643c1..9c0d41e00c 100644 --- a/functions/tips/package.json +++ b/functions/tips/package.json @@ -12,7 +12,7 @@ "node": ">=6.14.0" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint" }, "dependencies": { diff --git a/functions/uuid/package.json b/functions/uuid/package.json index a6cc1babcf..400892afd1 100644 --- a/functions/uuid/package.json +++ b/functions/uuid/package.json @@ -12,7 +12,7 @@ "node": ">=4.3.2" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "ava -T 20s --verbose test/*.test.js" }, diff --git a/iot/http_example/package.json b/iot/http_example/package.json index 1791d30493..957b689bfa 100644 --- a/iot/http_example/package.json +++ b/iot/http_example/package.json @@ -6,7 +6,7 @@ "author": "Google Inc.", "main": "cloudiot_http_example_nodejs.js", "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "repo-tools test run --cmd ava -- -T 3m --verbose system-test/*.test.js" }, diff --git a/iot/manager/package.json b/iot/manager/package.json index a91c084fa0..9a271978ae 100644 --- a/iot/manager/package.json +++ b/iot/manager/package.json @@ -13,7 +13,7 @@ "node": ">=4.3.2" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "repo-tools test run --cmd ava -- -T 3m --verbose system-test/*.test.js" }, diff --git a/iot/mqtt_example/package.json b/iot/mqtt_example/package.json index e1074e0352..8f3e2f9889 100644 --- a/iot/mqtt_example/package.json +++ b/iot/mqtt_example/package.json @@ -6,7 +6,7 @@ "main": "cloudiot_mqtt_example_nodejs.js", "name": "nodejs-docs-samples-iot-mqtt-example", "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "repo-tools test run --cmd ava -- -T 3m --verbose system-test/*.test.js" }, diff --git a/jobs/cjd_sample/package.json b/jobs/cjd_sample/package.json index 6a88737938..85aa4dfdb0 100644 --- a/jobs/cjd_sample/package.json +++ b/jobs/cjd_sample/package.json @@ -12,7 +12,7 @@ "node": ">=4.3.2" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "repo-tools test run --cmd ava -- -T 20s --verbose system-test/*.test.js" }, diff --git a/kms/package.json b/kms/package.json index 6666750735..ba213eed88 100644 --- a/kms/package.json +++ b/kms/package.json @@ -9,10 +9,10 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=4.3.2" + "node": ">=6" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "repo-tools test run --cmd ava -- -T 20s --verbose system-test/*.test.js" }, diff --git a/language/slackbot/package.json b/language/slackbot/package.json index 90b5290a4f..43e88c7e2a 100644 --- a/language/slackbot/package.json +++ b/language/slackbot/package.json @@ -18,7 +18,7 @@ "node": ">=4.3.2" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "repo-tools test run --cmd ava -- -T 20s --verbose system-test/*.test.js" }, diff --git a/package.json b/package.json index d85352d027..28ca97ed3c 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ }, "scripts": { "check": "yarn check --strict-semver --integrity", - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "generate": "node ./scripts/generate", "pretest": "npm run lint && node ./scripts/clean coverage", "unit-cover": "nyc --cache npm test && nyc report --reporter=html", diff --git a/storage-transfer/package.json b/storage-transfer/package.json index 939c62d998..e22645c4e9 100644 --- a/storage-transfer/package.json +++ b/storage-transfer/package.json @@ -9,10 +9,10 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=4" + "node": ">=6" }, "scripts": { - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "unit-test": "repo-tools test run --cmd ava -- -T 20s --verbose test/*.test.js", "system-test": "repo-tools test run --cmd ava -- -T 20s --verbose system-test/*.test.js", diff --git a/trace/package.json b/trace/package.json index 77655c00bc..0fe0fc55aa 100644 --- a/trace/package.json +++ b/trace/package.json @@ -10,12 +10,12 @@ "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" }, "engines": { - "node": ">=4.3.2" + "node": ">=6" }, "scripts": { "deploy": "gcloud app deploy", "start": "node app.js", - "lint": "repo-tools lint", + "lint": "semistandard '**/*.js'", "pretest": "npm run lint", "test": "repo-tools test app", "e2e-test": "repo-tools test deploy"