Added the loose plugin for better support

This commit is contained in:
Amish Shah
2015-11-22 15:20:30 +00:00
parent b22995f254
commit 7af5445b93
2 changed files with 48 additions and 45 deletions

View File

@@ -1,5 +1,6 @@
{ {
"presets": [ "presets": [
"es2015" "es2015",
"es2015-loose"
] ]
} }

View File

@@ -1,44 +1,46 @@
{ {
"name": "discord.js", "name": "discord.js",
"version": "5.0.1", "version": "5.0.1",
"description": "A way to interface with the Discord API", "description": "A way to interface with the Discord API",
"main": "./entrypoint.js", "main": "./entrypoint.js",
"scripts": { "scripts": {
"test": "node ./test/bot.js" "test": "node ./test/bot.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/hydrabolt/discord.js.git" "url": "git+https://github.com/hydrabolt/discord.js.git"
}, },
"keywords": [ "keywords": [
"discord", "discord",
"api", "api",
"bot", "bot",
"client", "client",
"node", "node",
"discordapp" "discordapp"
], ],
"author": "Amish Shah <amishshah.2k@gmail.com>", "author": "Amish Shah <amishshah.2k@gmail.com>",
"license": "Apache-2.0", "license": "Apache-2.0",
"bugs": { "bugs": {
"url": "https://github.com/hydrabolt/discord.js/issues" "url": "https://github.com/hydrabolt/discord.js/issues"
}, },
"homepage": "https://github.com/hydrabolt/discord.js#readme", "homepage": "https://github.com/hydrabolt/discord.js#readme",
"dependencies": { "dependencies": {
"superagent": "^1.3.0", "superagent": "^1.3.0",
"ws": "^0.7.2" "ws": "^0.7.2"
}, },
"devDependencies": { "devDependencies": {
"grunt": "~0.4.5", "babel-preset-es2015": "^6.1.18",
"grunt-babel": "^5.0.1", "babel-preset-es2015-loose": "^6.1.2",
"grunt-browserify": "^4.0.0", "grunt": "~0.4.5",
"grunt-contrib-uglify": "^0.9.2", "grunt-babel": "^5.0.1",
"load-grunt-tasks": "^3.2.0" "grunt-browserify": "^4.0.0",
}, "grunt-contrib-uglify": "^0.9.2",
"optionalDependencies": { "load-grunt-tasks": "^3.2.0"
"node-opus": "^0.1.11" },
}, "optionalDependencies": {
"engines": { "node-opus": "^0.1.11"
"node": ">=0.12.7" },
} "engines": {
} "node": ">=0.12.7"
}
}