New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nebula.js/cli-sense

Package Overview
Dependencies
Maintainers
4
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nebula.js/cli-sense

Build a supernova as a Qlik Sense extension

  • 0.6.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
586
increased by19.59%
Maintainers
4
Weekly downloads
 
Created
Source

@nebula.js/cli-sense

Install

npm install @nebula.js/cli

Usage

nebula sense

Build a supernova as a Qlik Sense extension

Options:
  --version    Show version number                                     [boolean]
  --ext        Extension definition                                     [string]
  --meta       Extension meta information                               [string]
  --minify     Minify and uglify code                  [boolean] [default: true]
  --sourcemap  Generate sourcemaps                    [boolean] [default: false]
  -h, --help   Show help                                               [boolean]

Extension

You can provide some additional information as part of the Qlik Sense Extension API by creating a separate file for the extension info and providing it as argument to --ext:

// def.js
export default {
  definition: {
    // Property panel definition
  },
  support: {
    exportData: true,
  },
};
nebula sense --ext def.js

The provided file will be transpiled and placed in the folder /dist-ext. Two additional files will be created which are the entrypoints for the extension in Qlik Sense; If your supernova module is named banana-chart, the files banana-chart.js and banana-chart.qext will be created in the root of your project. If you have a files property in your package.json you should include these files in addition to the already existing ones:

{
  "name": "banana-chart",
  "files": [
    "// other files",
    "dist-ext",
    "banana-chart.js"
    "banana-chart.qext"
  ]
}

Meta

You can add more meta about the extension by providing a .json formatted file with --meta:

{
  "name": "My tasty banana extension",
  "icon": "barchart"
}
nebula sense --meta meta.json

The rest of the required information will be populated automatically.

Keywords

FAQs

Package last updated on 04 May 2020

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