grunt-yakjs

1.0.0 • Public • Published

GitHub version npm GitHub license Built with Grunt

grunt-yakjs

Installation via npm

npm install grunt-yakjs --save-dev

Configure grunt for example

grunt.initConfig({
    yakjs: {
        all: {
            files: {
                src: ['./stores/*.txt']
            }
        }
    }
});
 
// Load all npm tasks.
grunt.loadTasks('./node_modules/grunt-yakjs');
 
// TASK: default
grunt.registerTask('default', 'yakjs');

Options

grunt.initConfig({
    yakjs: {
        options: {
            host: 'localhost',
            port: 8790,
            startInstances: [
                'instanceId
            ],
            canClearModuleCache: true
        },
        all: {
            files: {
                src: ['./stores/*.txt']
            }
        }
    }
});

host (default: localhost)

The hostname or IP of YAKjs. Per default YAKjs only allows local connections. So use localhost/127.0.0.1 or [::1]

port (default: 8790)

The API port of the YAKjs. The API port is the same port as the YAKjs user interface.

startInstances (default: [])

After uploading all files to YAKjs start this instances.

canClearModuleCache (default: true)

Clears the node plugin module cache before starting instances with startInstances

Dependencies (0)

    Dev Dependencies (12)

    Package Sidebar

    Install

    npm i grunt-yakjs

    Weekly Downloads

    7

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • cschuller