diff --git a/gulp/tasks/update.js b/gulp/tasks/update.js new file mode 100644 index 0000000..b342bb3 --- /dev/null +++ b/gulp/tasks/update.js @@ -0,0 +1,8 @@ +'use strict'; + +const gulp = require('gulp'); +const sequence = require('run-sequence'); + +gulp.task('update', cb => { + sequence('build', 'install', cb); +}); diff --git a/package.json b/package.json index d580077..1909d5e 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,7 @@ "configure:cron": "NODE_PATH=. ./node_modules/.bin/gulp configure:cron", "configure:sandbox": "NODE_PATH=. ./node_modules/.bin/gulp configure:sandbox", "configure:webtasks": "NODE_PATH=. ./node_modules/.bin/gulp configure:webtasks", - "install": "NODE_PATH=. ./node_modules/.bin/gulp install", - "install:cron": "NODE_PATH=. ./node_modules/.bin/gulp install:cron" + "update": "NODE_PATH=. ./node_modules/.bin/gulp update" }, "keywords": [ "auth0",