qlikview-extensions-starter

Lightweight QlikView Extensions Starter with TypeScript, esbuild, Tree-Shaking

MIT License

Stars
3

Introduction

QlikView Extensions Developer Starter provides fast, reliable and extensible starter for the development of QlikView Document/Object extensions.

Version

4.0.2

How to start

In order to start the qlikview-extensions-starter use:

$ git clone --depth 1 https://github.com/vyakymenko/qlikview-extensions-starter.git
$ cd qlikview-extensions-starter

# install dependencies
$ npm install

# develop and watches all your files
$ npm run start

# production build with installers
$ npm run build

Table of Content

Configuration

Default gulp extensions development configuration file:

You can feel free to change and updated them as you want.

/**
 * Configuration
 */
export const Config: any = {
  src: {
    main: 'src/',
    extensions: {
      document: 'src/Document',
      objects: 'src/Objects',
    },
    ts: [
      'src/**/*.ts',
      'src/*.ts'
    ],
    scss: [
      'src/**/*.scss',
      'src/*.scss'
    ],
    assets: [
      'src/*.gif',
      'src/**/*.gif',
      'src/*.png',
      'src/**/*.png',
      'src/*.jpg',
      'src/**/*.jpg',
      'src/**/*.svg',
      'src/**/*.wbl',
      'src/*.wbl',
      'src/**/*.xml',
      'src/*.xml',
      'src/**/*.qext',
      'src/*.qext',
      'src/**/*.txt',
      'src/*.txt',
      'src/**/*.json',
      'src/*.json',
      'src/lib/*.js',
      'src/**/lib/*.js',
      'src/**/lib/**/*.js',
      'src/**/libs/*.js',
      'src/**/libs/**/*.js',
      'src/**/*.css',
      'src/*.css'
    ]
  },
  dist: {
    dev: 'dist/dev/',
    prod: 'dist/prod/',
    installers: 'dist/prod/installers'
  }
};

In build mode, you will generate QAR installers for distributing easily your extensions.

Examples

Directory Structure

.
├── LICENSE
├── README.md
├── appveyor.yml
├── gulpfile.ts
├── package-lock.json
├── package.json
├── src
│   ├── API
│   │   └── Lambda.ts
│   ├── Document
│   │   └── DocExtension
│   │       ├── Definition.xml
│   │       └── Script.ts
│   └── Objects
│       └── TestExtension
│           ├── Definition.xml
│           ├── Script.ts
│           ├── extensions.scss
│           ├── icon.png
│           ├── libs
│           │   ├── Definition.xml
│           │   └── Qvet.min.js
│           └── services
│               └── Loader.ts
├── tools
│   ├── config.ts
│   ├── manual_types
│   │   └── qlikview.d.ts
│   ├── tasks
│   │   ├── assets.copy.dev.ts
│   │   ├── assets.copy.prod.ts
│   │   ├── clean.dev.ts
│   │   ├── clean.prod.ts
│   │   ├── noop.ts
│   │   ├── scss.dev.ts
│   │   ├── scss.prod.ts
│   │   ├── ts.build.dev.ts
│   │   ├── ts.build.prod.ts
│   │   ├── tslint.ts
│   │   └── watch.dev.ts
│   ├── tasks.json
│   └── utils
│       ├── code_change_tools.ts
│       ├── task.ts
│       └── tasks_tools.ts
├── tsconfig.json
└── tslint.json

License

MIT

Badges
Extracted from project README
Greenkeeper badge MIT license
Related Projects