Skip to content

Commit

Permalink
Remove legacy package.json info.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrstegeman committed Jul 20, 2020
1 parent 851affb commit ca1f58e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 93 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@
}
},
"short_name": "GPIO",
"version": "0.7.3"
"version": "0.7.4"
}
94 changes: 2 additions & 92 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -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"
}
}

0 comments on commit ca1f58e

Please sign in to comment.