UNPKG

ws-streamify

Version:

Pipe Node.js streams over WebSockets (with back-pressure!).

61 lines (60 loc) 1.75 kB
{ "name": "ws-streamify", "version": "0.1.4", "description": "Pipe Node.js streams over WebSockets (with back-pressure!).", "main": "lib/index.js", "scripts": { "prepublish": "npm run test && npm run lint && npm run release", "postpublish": "npm run clean", "test": "npm run build && DEBUG=ws-streamify mocha", "start": "npm run build && npm run bundle && DEBUG=ws-streamify babel-node example/server.js", "bundle": "browserify example/script.js -o example/bundle.js -t [ babelify ]", "build": "babel src/ -d lib --source-maps --copy-files", "watch": "npm run build -- --watch", "clean": "rm -rf lib", "lint": "standard --verbose {src,test,example}/**/*.js *.js | snazzy", "release": "export NODE_ENV=production && npm run build" }, "keywords": [ "ws", "websocket", "backpressure", "back-pressure", "stream" ], "repository": { "type": "git", "url": "git+https://github.com/baygeldin/ws-streamify.git" }, "bugs": { "url": "https://github.com/baygeldin/ws-streamify/issues" }, "homepage": "https://github.com/baygeldin/ws-streamify#readme", "author": "Alexander Baygeldin", "license": "MPL-2.0", "engines": { "node": ">=0.12.13" }, "devDependencies": { "babel-cli": "^6.8.0", "babel-core": "^6.8.0", "babel-eslint": "^6.0.4", "babel-polyfill": "^6.9.0", "babel-preset-es2015": "^6.6.0", "babelify": "^7.3.0", "browserify": "^13.0.1", "chai": "^3.5.0", "mocha": "^2.5.1", "snazzy": "^4.0.0", "source-map-support": "^0.4.0", "standard": "^7.1.0", "ws": "^1.1.0" }, "standard": { "parser": "babel-eslint" }, "dependencies": { "debug": "^2.2.0", "semver": "^5.1.0" } }