UNPKG

@mk2001/iobroker.go-echarger

Version:

go-e ist die Aufforderung, sich elektrisch zu bewegen. e-Mobilität ist unser Antrieb, wobei unsere Kernkompetenz die Ladetechnik für Elektroautos ist. Von der einzelnen Ladestation für e-Autos über Photovoltaik-Anbindung bis hin zum Lastmanagement von gan

28 lines (23 loc) 1.66 kB
### Scripts in `package.json` Several npm scripts are predefined for your convenience. You can run them using `npm run <scriptname>` | Script name | Description | |-------------|----------------------------------------------------------| | `test:js` | Executes the tests you defined in `*.test.js` files. | | `test:package` | Ensures your `package.json` and `io-package.json` are valid. | | `test` | Performs a minimal test run on package files and your tests. | | `lint` | Runs `ESLint` to check your code for formatting errors and potential bugs. | ### Writing tests When done right, testing code is invaluable, because it gives you the confidence to change your code while knowing exactly if and when something breaks. A good read on the topic of test-driven development is https://hackernoon.com/introduction-to-test-driven-development-tdd-61a13bc92d92. Although writing tests before the code might seem strange at first, but it has very clear upsides. The template provides you with basic tests for the adapter startup and package files. It is recommended that you add your own tests into the mix. ### Publishing the adapter To get your adapter released in ioBroker, please refer to the documentation of [ioBroker.repositories](https://github.com/ioBroker/ioBroker.repositories#requirements-for-adapter-to-get-added-to-the-latest-repository). ### Configuratio nsietes which helped my dev https://github.com/ioBroker/ioBroker/wiki/Adapter-Development-Documentation#structure-of-mainjs https://herwig.de/anleitungen/smarthome/iobroker/adapter-entwicklung.html#adapter-in-iobroker-importieren