radar_client
Advanced tools
Comparing version 0.9.1 to 0.9.3
@@ -0,1 +1,4 @@ | ||
### 0.9.3 | ||
* Perform a prepublish check for outdated dependencies and dirty working tree | ||
### 0.9.1 | ||
@@ -2,0 +5,0 @@ * server version bump |
(function(){function require(e,t){for(var n=[],r=e.split("/"),i,s,o=0;s=r[o++];)".."==s?n.pop():"."!=s&&n.push(s);n=n.join("/"),o=require,s=o.m[t||0],i=s[n+".js"]||s[n+"/index.js"]||s[n];if(s=i.c)i=o.m[t=s][e=i.m];return i.exports||i(i,i.exports={},function(n){return o("."!=n.charAt(0)?n:e+"/../"+n,t)}),i.exports}; | ||
require.m = []; | ||
require.m[0] = { "engine.io-client": { exports: window.eio }, | ||
require.m[0] = { "engine.io-client": { exports: eio }, | ||
"lib/backoff.js": function(module, exports, require){function Backoff() { | ||
@@ -613,3 +613,3 @@ this.failures = 0; | ||
"microee": {"c":1,"m":"/index.js"}, | ||
"minilog": { exports: window.Minilog }, | ||
"minilog": { exports: Minilog }, | ||
"sfsm": {"c":2,"m":"/state-machine.js"}}; | ||
@@ -616,0 +616,0 @@ require.m[1] = { "/index.js": function(module, exports, require){function M() { this._events = {}; } |
{ | ||
"name": "radar_client", | ||
"description": "Realtime apps with a high level API based on engine.io", | ||
"version": "0.9.1", | ||
"version": "0.9.3", | ||
"author": "Mikito Takada <mikito.takada@gmail.com>", | ||
@@ -43,10 +43,18 @@ "contributors": [ | ||
"scripts": { | ||
"check-modules": "if [ -z \"$SKIP_PACAKGE_CHECK\" ] && [ ./package.json -nt ./node_modules ]; then echo 'Your node_modules are out of date. Please run \"npm update\".' && exit 1; else rm -rf ./node_modules/sfsm/demo; fi", | ||
"check-clean": "if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != \"\" ]]; then npm run warn-dirty-tree && exit 1; fi", | ||
"check-modules": "if [ -z \"$SKIP_PACKAGE_CHECK\" ] && [ ./package.json -nt ./node_modules ]; then npm run warn-outdated && exit 1; else rm -rf ./node_modules/sfsm/demo; fi", | ||
"warn-outdated": "echo 'Your node_modules are out of date. Please run \"rm -rf node_modules && npm install\" in order to ensure you have the latest dependencies.'", | ||
"warn-dirty-tree": "echo 'Your repo tree is dirty.'", | ||
"pretest": "npm run build", | ||
"test": "ls ./tests/*.test.js | xargs -n 1 -t -I {} sh -c 'TEST=\"{}\" npm run test-one'", | ||
"pretest-one": "[ -z \"$radar_log\" ] && export radar_log=-*", | ||
"test-one": "./node_modules/.bin/mocha --ui exports --reporter spec --slow 2000ms --bail \"$TEST\"", | ||
"prebuild": "npm run check-modules", | ||
"build": "./node_modules/gluejs/bin/gluejs --include ./lib --npm microee,sfsm --replace engine.io-client=window.eio,minilog=window.Minilog --global RadarClient --main lib/index.js --out dist/radar_client.js" | ||
"build": "./node_modules/gluejs/bin/gluejs --include ./lib --npm microee,sfsm --replace engine.io-client=eio,minilog=Minilog --global RadarClient --main lib/index.js --out dist/radar_client.js", | ||
"prepublish": "npm run build && npm run check-clean || echo 'You cannot publish with outdated dependecies or uncommitted build changes.'" | ||
} | ||
} |
# Radar Client | ||
High level API and backend for writing web apps that use push messaging. | ||
High level API and backend for writing web apps that use real-time information. | ||
@@ -14,2 +14,7 @@ The radar server code is here: https://github.com/zendesk/radar | ||
## How to contribute | ||
- Fork http://github.com/zendesk/radar_client, clone, make changes (including a Changelog update), commit, push, PR | ||
- Then fork http://github.com/zendesk/radar, clone, update and test with radar_client changes (including a Changelog update), commit, push, PR | ||
## Copyright and License | ||
@@ -16,0 +21,0 @@ |
100575
23