Sha256: fcd438afa2ce349fc4f4dd8d4eadb45b551ad005a2e5348c947a75b84ac2cd5b
Contents?: true
Size: 793 Bytes
Versions: 5
Compression:
Stored size: 793 Bytes
Contents
/** * Heroku-Patterns - v0.2.0 - 2017 * * , and the web community. * Licensed under the license. * * Many thanks to Brad Frost and Dave Olsen for inspiration, encouragement, and advice. * **/var patternlab_engine = require('./patternlab.js'); module.exports = function(grunt) { grunt.registerTask('patternlab', 'create design systems with atomic design', function(arg) { var patternlab = patternlab_engine(); if(arguments.length === 0){ patternlab.build(true); } if(arg && arg === 'v'){ patternlab.version(); } if(arg && arg === "only_patterns"){ patternlab.build_patterns_only(true); } if(arg && arg === "help"){ patternlab.help(); } if(arg && (arg !== "v" && arg !=="only_patterns" && arg !=="help")){ patternlab.help(); } }); };
Version data entries
5 entries across 5 versions & 1 rubygems