josx / johnny-five-led-sockets

A simple project using johnny five and websockets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project

This is a very small project for demo purposes using sockets and johnny five.

Install

# Using npm
npm install
# Using yarn
yarn install

Scripts

Starts a local server for this project.

npm run dev

Build the project to the /dist folder (html/css/js).

npm run build

Starts a local server for this project and runs the arduino.js file

npm run arduino:dev

Runs the arduino.js file without starting a local server, instead, the script connects to the production server.

npm run arduino

LICENSE

Copyright 2020 geradrum

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A simple project using johnny five and websockets.


Languages

Language:CSS 54.6%Language:JavaScript 40.4%Language:HTML 5.0%