From eab6837f87d0c8c5b3abd695ca4690e1f55b2151 Mon Sep 17 00:00:00 2001 From: hydrabolt Date: Fri, 2 Oct 2015 21:40:45 +0100 Subject: [PATCH] Updated package.json --- gruntfile.js | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/gruntfile.js b/gruntfile.js index a8972256f..298e8c7c9 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -44,5 +44,6 @@ module.exports = function (grunt) { // register at least this one task grunt.registerTask('default', ['babel']); grunt.registerTask('web', ['browserify', "uglify"]); + grunt.registerTask("dist", ["babel", "browserify", "uglify"]) }; \ No newline at end of file diff --git a/package.json b/package.json index 8da8d52dd..e8621e6d2 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "A way to interface with the Discord API", "main": "./lib/index.js", "scripts": { + "prepublish": "grunt dist" "test": "node ./test/bot.js" }, "repository": {