That”s ALL!
The package.json is like this:
{
"name": "ip-tag",
"types": ["module"],
"version": "1.4.1",
"homepage": "http://github.com/shinken-monitoring/mod-ip-tag",
"author": "Jean Gabès",
"description": "Tag host by their IP ranges",
"contributors": [
{
"name": "Jean Gabès",
"email": "naparuba@gmail.com"
}
],
"repository": "https://github.com/shinken-monitoring/mod-ip-tag",
"keywords": [
"module",
"arbiter",
"ip"
],
"dependencies": {
"shinken": ">=1.4"
},
"license": "AGPL"
}
Before publishing, you must register an account on shinken.io. Then on your account page on shinken.io/~ you will got your api_key. Put it on your ~/.shinken.ini.
Then you can :
cd my-package
shinken publish
That’s all :)