grunt-webvsc

0.4.0 • Public • Published

grunt-webvsc

npm npm Travis David David

Grunt task to convert Winamp AVS presets into Webvs JSON.

Installation

# npm 
$ npm install grunt-webvsc
 
# Yarn 
$ yarn add grunt-webvsc

Usage

Example:

module.exports = function(grunt) {
 
  // Project configuration.
  grunt.initConfig({
    webvsc: {
      options: {
        minify: true,
      },
      build: {
        src: ['**/*.avs'],
        dest: './output/'
      }
    }
  });
 
  // Load the plugin that provides the "uglify" task.
  grunt.loadNpmTasks('grunt-webvsc');
  
  // Default task(s).
  grunt.registerTask('default', ['webvsc']);
};

The output file-extension will automatically be set to .webvs, unless specified explicitly otherwise in your Gruntfile.js.

Options

hidden

Type: boolean
Default: true

Don't extract hidden strings from fixed-size strings

minify

Type: boolean
Default: false

Minify generated JSON

verbose

Type: number
Default: 0

Control the amount of output displayed:

  • 0 Hide output
  • 1 List detected components
  • 2 List component details

Related Projects

License

This work is licensed under The MIT License

Donate

You are welcome support this project using Flattr or Bitcoin 17CXJuPsmhuTzFV2k4RKYwpEHVjskJktRd

Dependencies (3)

Dev Dependencies (4)

Package Sidebar

Install

npm i grunt-webvsc

Weekly Downloads

11

Version

0.4.0

License

MIT

Unpacked Size

70 kB

Total Files

7

Last publish

Collaborators

  • idleberg