npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

cumulocity-smart-apps-webpack

v3.1.1

Published

A boilerplate for creating Cumulocity Smart Apps instance using webpack-dev-server 3.x

Readme

cumulocity-smart-apps-webpack

version downloads MIT License

A boilerplate to conveniently start creating Cumulocity Smart Apps instance and to improve development experience with webpack 3.x.

Screenshot

~~ATTENTION: Cumulocity Smart Apps Toolkit is currently in legacy mode as it is based on the old release of UI core JS API (6.3.x). That said, you may still use it and it's up to you to decide whether it works and still well-suited for your particular app.~~ cumulocity-clients-javascript a.k.a. Cumulocity Smart Apps Toolkit a.k.a. Cumulocity Web SDK for AngularJS seems to be brought back to life (8.x). It's kinda form of necromancy but I'd still recommend you to develop plugins as it offers more out-of-the-box features and more convenient for newbs.

Why?

I would like to enhance the current boilerplate for creating a Cumulocity Smart Apps instance in order to be able to:

  • have a cleaner development boilerplate which highly respects some awesome style guides (John Papa's Angular 1 Style Guide, Airbnb JavaScript Style Guide).
  • leverage package managing and bundling process by getting rid of Bower* and Grunt in favour of npm and webpack.
  • showcase the usage of ES6+ in my code in conjunction with AngularJS.
  • use npm (scripts) as a build tool.
  • improve developer experience with webpack-dev-server 3.x (Code Splitting, Caching, HMR, Tree Shaking, Scope Hoisting, etc.).
  • stop repeating the hustle of creating a fiddle of CSA instance when I'm doing support for the guys who are still using the toolkit (yes, you! :yum:).

*~~Unfortunately there are some package dependencies which are only available in Bower, including the toolkit itself. So, I cannot migrate 'em all completely to npm. :disappointed:~~

Usage

  • Install Node.js and npm from its website, or even better: use nvm.

  • Install yarn.

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

$ yarn install:clean
  • For development, start webpack development server with hot reloading capability:
$ yarn start

You'll find the CSA instansce running on https://localhost:8080.

  • For production, build frontend static assets:
$ yarn build

Simply drop all files under assets directory to your production server.

Deploying to a Cumulocity tenant

  • Build the assets: yarn build.
  • Zip all files under assets directory (:warning: not the directory itself!) and name the ZIP file as "smartapps" or whatever you want to call the app.
  • Go to Administration → Own applications → Add application → Upload ZIP file, then drop the app ZIP file from the previous step.

Author

Glenn Dwiyatcita (@dwiyatci)

License

MIT.

See LICENSE.txt.