Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.
/ grunt-webvsc Public archive

Grunt task to convert Winamp AVS presets into Webvs JSON

License

Notifications You must be signed in to change notification settings

idleberg/grunt-webvsc

Repository files navigation

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