slush-nodewebkit-indexeddb

Generate a simple scaffolding to build a node-webkit app with IndexedDB integration.

Usage no npm install needed!

<script type="module">
  import slushNodewebkitIndexeddb from 'https://cdn.skypack.dev/slush-nodewebkit-indexeddb';
</script>

README

slush-nodewebkit-indexeddb

A simple scaffolding to build a node-webkit app with IndexedDB integration.

Dependencies

You need install gulp and slush previously to run this generator.

Installation

  1. To install gulp globally, use:
$ sudo npm install -g gulp
  1. To install slush globally, use:
$ sudo npm install -g slush
  1. Finally, install the generator:
$ sudo npm install -g slush-nodewebkit-indexeddb

Usage

To run the generator, use:

$ sudo slush nodewebkit-indexeddb

Extra

This generator have any tasks running with gulp:

To run application in currenty platform, use:

$ sudo gulp run

To zip application, use: (Working in Linux and OSX)

$ sudo gulp zip

To compile application for Windows:

$ sudo gulp win

To compile application for OSX:

$ sudo gulp osx

To compile application for Linux:

$ sudo gulp linux

Observations

If an error occurs with the tasks "gulp osx", "gulp win" or "gulp linux", dont worry, Its just a mismatch in versions of nodewebkit with the compiler, but either way your project will be compiled.