redux-websocket-bridge
Advanced tools
Comparing version 0.1.0-0 to 0.1.0-1
{ | ||
"name": "redux-websocket-bridge", | ||
"version": "0.1.0-0", | ||
"version": "0.1.0-1", | ||
"description": "WebSocket messages to Redux action bridge", | ||
@@ -10,7 +10,2 @@ "main": "lib/index.js", | ||
], | ||
"scripts": { | ||
"build": "babel ./src --out-dir ./lib --source-maps --ignore *.spec.js,*.test.js", | ||
"prepare": "rimraf lib && npm run build", | ||
"test": "jest" | ||
}, | ||
"author": { | ||
@@ -21,2 +16,14 @@ "email": "compulim@hotmail.com", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/compulim/redux-websocket-bridge.git" | ||
}, | ||
"keywords": [ | ||
"bridge", | ||
"redux", | ||
"websocket" | ||
], | ||
"bugs": { | ||
"url": "https://github.com/compulim/redux-websocket-bridge/issues" | ||
}, | ||
"devDependencies": { | ||
@@ -30,3 +37,8 @@ "babel-cli": "^6.26.0", | ||
"rimraf": "^2.6.2" | ||
}, | ||
"scripts": { | ||
"build": "babel ./src --out-dir ./lib --source-maps --ignore *.spec.js,*.test.js", | ||
"prepare": "rimraf lib && npm run build", | ||
"test": "jest" | ||
} | ||
} |
# Bridge WebSocket messages and Redux actions | ||
[![npm version](https://badge.fury.io/js/redux-websocket-bridge.svg)](https://badge.fury.io/js/redux-websocket-bridge) [![Build Status](https://travis-ci.org/compulim/redux-websocket-bridge.svg?branch=master)](https://travis-ci.org/compulim/redux-websocket-bridge) | ||
Inspired by [redux-websocket](https://github.com/giantmachines/redux-websocket). | ||
@@ -8,3 +10,3 @@ | ||
* Dispatch WebSocket messages into Redux store | ||
* Lift Redux action to WebSocket | ||
* Lift Redux actions to WebSocket | ||
@@ -131,4 +133,2 @@ ## Introduction | ||
> Using this feature will make your action not complies with FSA. | ||
You can also opt-in to send any action dispatched to your store thru WebSocket. On the action object, set `meta.send` to `true` (or your namespace). When you dispatch the action, the bridge will also `JSON.stringify` and send a copy of the action to WebSocket. | ||
@@ -164,3 +164,3 @@ | ||
* [Unfolding actions from multiple bridges](#unfolding-actions-from-multiple-bridges) | ||
* [Delayed connectoin setup](#delayed-connection-setup) | ||
* [Delayed connection setup](#delayed-connection-setup) | ||
@@ -167,0 +167,0 @@ ### Use SockJS or other implementations |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
24335
1
1
0