Merge pull request #28 from hydrabolt/permission

rebuild and prepublish
This commit is contained in:
Amish Shah
2015-10-02 21:38:28 +01:00
16 changed files with 3895 additions and 12 deletions

View File

@@ -44,5 +44,6 @@ module.exports = function (grunt) {
// register at least this one task // register at least this one task
grunt.registerTask('default', ['babel']); grunt.registerTask('default', ['babel']);
grunt.registerTask('web', ['browserify', "uglify"]); grunt.registerTask('web', ['browserify', "uglify"]);
grunt.registerTask('dist', ["babel", "browserify", "uglify"])
}; };

View File

@@ -4,6 +4,7 @@
"description": "A way to interface with the Discord API", "description": "A way to interface with the Discord API",
"main": "./lib/index.js", "main": "./lib/index.js",
"scripts": { "scripts": {
"prepublish" : "grunt dist",
"test": "node ./test/bot.js" "test": "node ./test/bot.js"
}, },
"repository": { "repository": {

3879
web-dist/discord.3.6.3.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long