Files
discord.js/package.json
Gus Caplan 2440a4a2c8 Add webpack building (#907)
* friggin webpack tho

* probably important

* add all the stuff to the package.json

* add minify builds and a nice package.json script to run it all

* clean up

* use uglify harmony branch so we can actually run minify builds that work

* update build system

* make test better

* clean up

* fix issues with compression

* ‮

* c++ requirements in a node lib? whaaaaat?

* fix travis yml?

* put railings on voice connections

* 🖕🏻

* aaaaaa

* handle arraybuffers in the unlikely event one is sent

* support arraybuffers in resolvebuffer

* this needs to be fixed at some point

* this was fixed

* disable filename versioning if env VERSIONED is set to false

* Update ClientDataResolver.js

* Update ClientVoiceManager.js

* Update WebSocketManager.js

* Update ConvertArrayBuffer.js

* Update webpack.html

* enable compression for browser and fix ws error handler

* Update WebSocketManager.js

* everything will be okay gawdl3y

* compression is slower in browser, so rip the last three hours of my life

* Update Constants.js

* Update .gitignore
2016-11-20 19:38:16 -05:00

55 lines
1.3 KiB
JSON

{
"name": "discord.js",
"version": "10.0.1",
"description": "A powerful library for interacting with the Discord API",
"main": "./src/index",
"scripts": {
"test": "eslint src && node docs/generator test",
"docs": "node docs/generator",
"test-docs": "node docs/generator test",
"lint": "eslint src",
"web-dist": "npm install && ./node_modules/parallel-webpack/bin/run.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hydrabolt/discord.js.git"
},
"keywords": [
"discord",
"api",
"bot",
"client",
"node",
"discordapp"
],
"author": "Amish Shah <amishshah.2k@gmail.com>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/hydrabolt/discord.js/issues"
},
"homepage": "https://github.com/hydrabolt/discord.js#readme",
"dependencies": {
"superagent": "^2.3.0",
"tweetnacl": "^0.14.3",
"ws": "^1.1.1"
},
"peerDependencies": {
"node-opus": "^0.2.0",
"opusscript": "^0.0.1"
},
"devDependencies": {
"bufferutil": "^1.2.1",
"eslint": "^3.10.0",
"jsdoc-to-markdown": "^2.0.0",
"json-loader": "^0.5.4",
"parallel-webpack": "^1.5.0",
"uglify-js": "github:mishoo/UglifyJS2#harmony",
"utf-8-validate": "^1.2.1",
"webpack": "^1.13.3",
"zlibjs": "github:imaya/zlib.js"
},
"engines": {
"node": ">=6.0.0"
}
}