Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cumulocity-hellowidget-plugin

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cumulocity-hellowidget-plugin

A demo app for showcasing creation of a custom Cumulocity UI widget plugin

  • 1.3.3
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

cumulocity-hellowidget-plugin

version downloads MIT License

A demo app for showcasing creation of a custom Cumulocity UI widget plugin.

Why?

Currently there is this snore-inducing JSDoc for the API to allow adding components (widgets), but it is inadequately practical to show "how-to" in details. So, let's slay the Jabberwocky! :hocho: :dragon_face:

Installation

  • Make sure you have Node.js ≥ v6.9.0 installed and npm from its website, or better even, use nvm.

  • Clone the repo, cd to your project directory, and setup dependencies:

$ npm run install:clean

Usage

Check out the introduction to plugin development docs.

Quicky up and running

Oh well, I know that you guys are a bunch of lazy people. How to get this app deployed and see it running on my tenant, you ask? Be my guest:

$ npm run deploy

After a few more steps in interactive command line user interfaces, you should then be able to access the app on https://<your-tenant-url>/apps/hellowidgetapp.

Unit testing

$ npm t

Note that you may need to supply different app context path other than hellowidgetapp in npm scripts for test (in package.json) if you want to reuse this boilerplate.

Linting

$ npm run lint <targetFileOrDir>

Example:

$ npm run lint plugins

Or better yet, make your IDE automatically integrate the linting process based on the .rc file (.eslintrc.yaml).

The rules quite strictly follow the Airbnb JavaScript Style Guide (ES5).

Author

Glenn Dwiyatcita (@dwiyatci)

License

MIT.

See LICENSE.txt.

Keywords

FAQs

Package last updated on 17 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc