forked from Apollon77/ioBroker.zoneminder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·52 lines (52 loc) · 5.52 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"name": "iobroker.zoneminder",
"version": "0.5.3",
"description": "ioBroker ZoneMinder Adapter",
"author": {
"name": "DeadBoolean",
"email": "deadboolean@wedler-online.de"
},
"contributors": [
{
"name": "DeadBoolean",
"email": "deadboolean@wedler-online.de"
},
{
"name": "ATL",
"email": "git@atlnet.de"
}
],
"homepage": "https://github.com/atl285/ioBroker.zoneminder",
"license": "MIT",
"keywords": [
"ioBroker",
"ZoneMinder",
"Smart Home",
"home automation"
],
"repository": {
"type": "git",
"url": "git+https://github.com/atl285/ioBroker.zoneminder.git"
},
"dependencies": {
"@iobroker/adapter-core": "^1.0.3"
},
"devDependencies": {
"gulp": "^3.9.1",
"mocha": "^4.1.0",
"chai": "^4.1.2"
},
"main": "main.js",
"scripts": {
"test": "node node_modules/mocha/bin/mocha --exit"
},
"bugs": {
"url": "https://github.com/atl285/ioBroker.zoneminder/issues"
},
"readmeFilename": "README.md",
"readme": "![Logo](admin/zoneminder.png)\n# ioBroker.template\n=================\n\nThis adapter is a template for the creation of an ioBroker adapter. You do not need it at least that you plan developing your own adapter.\n\nIt includes both code running within iobroker and as vis widget. If you only plan to create a vis widget then you should use the [iobroker.vis-template](https://github.com/ioBroker/ioBroker.vis-template) instead.\n\n##Steps \n1. download and unpack this packet from github ```https://github.com/ioBroker/ioBroker.template/archive/master.zip```\n or clone git repository ```git clone https://github.com/ioBroker/ioBroker.template.git```\n\n2. download required npm packets. Write in ioBroker.template directory:\n\n ```npm install```\n \n3. set name of this template. Call\n \n ```grunt rename --name=mynewname --email=email@mail.com --author=\"Author Name\"```\n \n *mynewname* must be **lower** case and with no spaces.\n\n If grunt is not available, install grunt globally:\n \n ```npm install -g grunt-cli```\n \n4. rename directory from *ioBroker.template* (can be *ioBroker.template-master*) to *iobroker.mynewname*\n\n5. to use this template you should copy it into *.../iobroker/node_modules* directory and then create an instance for it with iobroker.admin\n\n6. create your adapter:\n\n * you might want to start with main.js (code running within iobroker) and admin/index.html (the adapter settings page).\n\n * [Adapter-Development-Documentation](https://github.com/ioBroker/ioBroker/wiki/Adapter-Development-Documentation),\n \n * [Installation, setup and first steps with an ioBroker Development Environment](https://github.com/ioBroker/ioBroker/wiki/Installation,-setup-and-first-steps-with-an-ioBroker-Development-Environment)\n \n * [Write and debug vis widgets](https://github.com/ioBroker/ioBroker/wiki/How-to-debug-vis-and-to-write-own-widget-set)\n \n * files under the www folders are made available under http://<iobrokerIP>:8082/<adapter-name>/\n * for this to work the iobroker.vis adapter has to be installed\n * delete this folder if you do not plan to export any files this way\n * call ```iobroker upload <adapter-name>``` after you change files in the www folder to get the new files uploaded to vis\n * the widget folder contains an example of a vis widget\n * you might want to start with *widget/<adapter-name>.html* and *widget/js/<adapter-name>.js*\n * call ```iobroker visdebug <adapter-name>``` to enable debugging and upload widget to \"vis\". (This works only from V0.7.15 of js-controller)\n * If you do not plan to export any widget then delete the whole widget folder and remove the ```\"restartAdapters\": [\"vis\"]``` statement from *io-package.json*\n * After admin/index.html is changed you must execute ```iobroker upload mynewname``` to see changes in admin console. The same is valid for any files in *admin* and *www* directory \n\n7. change version: edit package.json and then call ```grunt p``` in your adapter directory.\n \n8. share it with the community\n\n## Changelog\n\n### 0.5.0\n (vegetto) include vis widget\n\n#### 0.4.0\n* (bluefox) fix errors with grunt\n\n#### 0.2.0\n* (bluefox) initial release\n\n## License\nThe MIT License (MIT)\n\nCopyright (c) 2017 @@Author@@ <@@email@@>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n",
"_id": "iobroker.zoneminder@0.5.3",
"_shasum": "1603168f10c6cee7495049db4174bb9e3474aa4b",
"_resolved": "https://github.com/atl285/ioBroker.zoneminder/tarball/master",
"_from": "https://github.com/atl285/ioBroker.zoneminder/tarball/master"
}