0.4.0 • Published 8 years ago
grunt-webvsc v0.4.0
grunt-webvsc
Grunt task to convert Winamp AVS presets into Webvs JSON.
Installation
# npm
$ npm install grunt-webvsc
# Yarn
$ yarn add grunt-webvscUsage
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:
0Hide output1List detected components2List 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