From ca1f58e556c9437385e2fc3b683244f26edb27a9 Mon Sep 17 00:00:00 2001 From: Michael Stegeman Date: Mon, 20 Jul 2020 11:20:12 -0800 Subject: [PATCH] Remove legacy package.json info. --- manifest.json | 2 +- package.json | 94 ++------------------------------------------------- 2 files changed, 3 insertions(+), 93 deletions(-) diff --git a/manifest.json b/manifest.json index fc100e2..3161de6 100644 --- a/manifest.json +++ b/manifest.json @@ -91,5 +91,5 @@ } }, "short_name": "GPIO", - "version": "0.7.3" + "version": "0.7.4" } diff --git a/package.json b/package.json index ff01da6..deae990 100644 --- a/package.json +++ b/package.json @@ -1,19 +1,12 @@ { "name": "gpio-adapter", - "display_name": "GPIO", - "version": "0.7.3", + "version": "0.7.4", "description": "GPIO adapter plugin for Mozilla WebThings Gateway", "author": "Mozilla IoT", "main": "index.js", "scripts": { "lint": "eslint ." }, - "keywords": [ - "mozilla", - "iot", - "adapter", - "gpio" - ], "homepage": "https://github.com/mozilla-iot/gpio-adapter", "license": "MPL-2.0", "repository": { @@ -36,89 +29,6 @@ }, "devDependencies": { "babel-eslint": "^10.1.0", - "eslint": "^7.4.0" - }, - "moziot": { - "api": { - "min": 2, - "max": 2 - }, - "type": "adapter", - "plugin": true, - "exec": "{nodeLoader} {path}", - "config": { - "gpios": [ - { - "pin": 18, - "name": "led", - "direction": "out", - "value": 0, - "activeLow": false, - "momentaryButton": false, - "buttonUnlatchDelay": 500 - } - ] - }, - "schema": { - "type": "object", - "properties": { - "gpios": { - "type": "array", - "items": { - "type": "object", - "required": [ - "pin" - ], - "properties": { - "pin": { - "type": "integer", - "minimum": 0 - }, - "name": { - "type": "string" - }, - "direction": { - "type": "string", - "enum": [ - "in - BinarySensor", - "in - PushButton", - "out" - ] - }, - "value": { - "type": "number", - "enum": [ - 0, - 1 - ] - }, - "edge": { - "type": "string", - "enum": [ - "none", - "rising", - "falling", - "both" - ] - }, - "debounce": { - "type": "number", - "minimum": 0 - }, - "activeLow": { - "type": "boolean" - }, - "momentaryButton": { - "type": "boolean" - }, - "buttonUnlatchDelay": { - "type": "number", - "minimum": 0 - } - } - } - } - } - } + "eslint": "^7.5.0" } }