pimatic
  • Sign in

Documentation
pimatic

  • Home
  • Getting Started Guide
  • Usage
  • Advanced Configuration
  • GUIs
  • Development
  • Requirements / Readings
  • Development-Environment
  • Load your Plugin
  • Make it Yours
  • Providing Devices
  • Extending the Mobile Frontend
  • Providing Rule Predicates and Actions
  • Publishing your Plugin
  • IoT Temp
  • Mariela_DHT22
  •   Create a new Memo
 
  • Headline 1
  • Headline 2
  • Headline 3
  • Headline 4
  • Text
  • Preformatted / Code

Enter link target

Search for a memo

Search results in Documentation
  • No matching pages found
Remove LinkSet Link
  •  Underline
  •  Strikethrough
  •  Superscript
  •  Subscript
  •  Text-color
  •  Backgroundcolor
  •  Insert table
  •  Insert file
  •  Insert Comment
  •  Insert table of content
  •  Insert custom type element
 
  • Enable spellcheck
  • Language: English (United States)
 
  •  Show Authors
  •  Hide Paragraphs
  PDF 
  • Word Document (.docx)
  • Open Document Format (.odt)
  • HTML Document (.html)
  • Markdown (.md)

Make it Yours

package.json

Your plugin is just a Node.js module. Every Node.js modules needs a package.json file with some meta information about the module.

The plugin-template already included one, but you have to edit it so that it contains the information about your plugin like name, author, version, ...

You can read about it in the npm package.json documentation.

Adding package dependencies

  • You can add other package dependencies by running npm install something --save. With the --save option npm will auto add the installed dependency in your package.json
  • You can always install all dependencies in the package.json with npm install

Last modified 2 years ago by mwittig, sweetpi. 
Authors:
mw
sw
Content © 2021 pimatic | Teamemo Legal notice
Built with Teamemo