1.0.0 • Published 8 years ago

grunt-yakjs v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

GitHub version npm GitHub license Built with Grunt(https://img.shields.io/badge/built with-grunt-yellow.svg?style=flat-square)

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

1.0.0

8 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.4

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.0

9 years ago

0.2.0-SNAPSHOT

9 years ago