Grunt task to convert Winamp AVS presets into Webvs JSON.
# npm
$ npm install grunt-webvsc
# Yarn
$ yarn add grunt-webvscExample:
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.
hidden
Type: boolean
Default: true
Don't extract hidden strings from fixed-size strings
Type: boolean
Default: false
Minify generated JSON
Type: number
Default: 0
Control the amount of output displayed:
0Hide output1List detected components2List component details
This work is licensed under The MIT License
You are welcome support this project using Flattr or Bitcoin 17CXJuPsmhuTzFV2k4RKYwpEHVjskJktRd