@nebula.js/cli-sense
Build a supernova as a Qlik Sense extension
Last updated a month ago by mm85dk .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @nebula.js/cli-sense 
SYNC missed versions from official npm registry.

@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.

Current Tags

  • 0.6.0                                ...           latest (a month ago)
  • 0.1.0-alpha.32                                ...           next (3 months ago)

32 Versions

  • 0.6.0                                ...           a month ago
  • 0.5.0                                ...           a month ago
  • 0.4.0                                ...           2 months ago
  • 0.3.0                                ...           2 months ago
  • 0.2.1                                ...           2 months ago
  • 0.2.0                                ...           2 months ago
  • 0.1.1                                ...           3 months ago
  • 0.1.0                                ...           3 months ago
  • 0.1.0-alpha.32                                ...           3 months ago
  • 0.1.0-alpha.31                                ...           3 months ago
  • 0.1.0-alpha.30                                ...           4 months ago
  • 0.1.0-alpha.29                                ...           4 months ago
  • 0.1.0-alpha.28                                ...           4 months ago
  • 0.1.0-alpha.27                                ...           4 months ago
  • 0.1.0-alpha.26                                ...           4 months ago
  • 0.1.0-alpha.25                                ...           7 months ago
  • 0.1.0-alpha.24                                ...           7 months ago
  • 0.1.0-alpha.23                                ...           7 months ago
  • 0.1.0-alpha.22                                ...           7 months ago
  • 0.1.0-alpha.21                                ...           8 months ago
  • 0.1.0-alpha.20                                ...           8 months ago
  • 0.1.0-alpha.19                                ...           9 months ago
  • 0.1.0-alpha.18                                ...           9 months ago
  • 0.1.0-alpha.17                                ...           a year ago
  • 0.1.0-alpha.16                                ...           a year ago
  • 0.1.0-alpha.15                                ...           a year ago
  • 0.1.0-alpha.14                                ...           a year ago
  • 0.1.0-alpha.13                                ...           a year ago
  • 0.1.0-alpha.12                                ...           a year ago
  • 0.1.0-alpha.11                                ...           a year ago
  • 0.1.0-alpha.10                                ...           a year ago
  • 0.1.0-alpha.9                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 19
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |