Comparing version 0.1.9 to 0.3.1
'use strict' | ||
const config = require('../config.json') | ||
var spacebro = require('../index.js') | ||
const config = require('./config.example.json') | ||
var spacebro = require('../') | ||
spacebro.init(config) |
{ | ||
"name": "spacebro", | ||
"version": "0.1.9", | ||
"version": "0.3.1", | ||
"description": "Spacebro use Zeroconf and socket.io to bind apps together!", | ||
@@ -11,20 +11,31 @@ "keywords": [ | ||
], | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"start": "node dev/example.js", | ||
"start": "npm run bin", | ||
"client": "node dev/send-events.js", | ||
"example": "node dev/example.js", | ||
"bin": "./bin/spacebro", | ||
"test": "snazzy" | ||
"bin-verbose": "./bin/spacebro --config ./config/config.json", | ||
"test": "standard src/**/*.js", | ||
"build": "./node_modules/.bin/babel src -d dist" | ||
}, | ||
"dependencies": { | ||
"babel-runtime": "6.11.6", | ||
"blessed": "^0.1.81", | ||
"cli-table": "0.3.1", | ||
"colors": "1.1.2", | ||
"commander": "2.3.0", | ||
"lodash": "3.6.0", | ||
"mdns": "2.2.11", | ||
"socket.io": "1.3.5", | ||
"commander": "2.3.0" | ||
"socketio-wildcard": "^0.3.0" | ||
}, | ||
"devDependencies": { | ||
"standard": "^5.4.1", | ||
"spacebro-client": "0.0.11" | ||
"babel-cli": "^6.14.0", | ||
"babel-plugin-transform-runtime": "^6.12.0", | ||
"babel-preset-es2015": "^6.13.2", | ||
"gulp": "^3.9.1", | ||
"gulp-babel": "^6.1.2", | ||
"spacebro-client": "0.0.11", | ||
"standard": "^5.4.1" | ||
}, | ||
@@ -39,2 +50,5 @@ "engines": { | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"repository": { | ||
@@ -47,4 +61,12 @@ "type": "git", | ||
}, | ||
"babel": { | ||
"presets": [ | ||
"es2015" | ||
], | ||
"plugins": [ | ||
"transform-runtime" | ||
] | ||
}, | ||
"author": "Soixante circuits", | ||
"license": "MIT" | ||
} |
@@ -1,2 +0,2 @@ | ||
# Spacebro | ||
# 🚀 Spacebro | ||
> In reference to [Spacebrew](http://docs.spacebrew.cc/) by Rockwell Lab (http://www.rockwellgroup.com/search/LAB) | ||
@@ -24,3 +24,3 @@ | ||
``` | ||
```bash | ||
$ sudo apt-get install avahi-daemon avahi-discover libnss-mdns libavahi-compat-libdnssd-dev curl build-essential | ||
@@ -31,3 +31,3 @@ ``` | ||
``` | ||
```bash | ||
$ npm i --save spacebro | ||
@@ -38,3 +38,3 @@ ``` | ||
``` | ||
```bash | ||
$ npm i -g --save spacebro | ||
@@ -48,3 +48,3 @@ ``` | ||
``` | ||
```js | ||
{ | ||
@@ -68,3 +68,3 @@ "server": { | ||
``` | ||
```js | ||
const config = require('../config.json') | ||
@@ -90,2 +90,4 @@ var spacebro = require('spacebro') | ||
For openFramework you can also use [ofxSpaceBro](https://github.com/soixantecircuits/ofxSpacebroClient). | ||
## Develop | ||
@@ -92,0 +94,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
15787
11
350
92
9
7
1
+ Addedbabel-runtime@6.11.6
+ Addedblessed@^0.1.81
+ Addedsocketio-wildcard@^0.3.0
+ Addedbabel-runtime@6.11.6(transitive)
+ Addedblessed@0.1.81(transitive)
+ Addedcore-js@2.6.12(transitive)
+ Addedregenerator-runtime@0.9.6(transitive)
+ Addedsocketio-wildcard@0.3.0(transitive)