grunt-livingdocs-design
v1.0.0
Published
Grunt plugin for compiling Livingdocs designs
Downloads
9
Readme
grunt-livingdocs-design
This project contains the official designs processor for the project Livingdocs found under the following url: https://github.com/livingdocsIO/livingdocs-engine It defines a grunt task for easily creating a design template.
Technical Setup
- Install node.js and npm (http://nodejs.org/)
- Install grunt using
npm install -g grunt-cli
- Install this grunt module in your design project
npm install --save grunt-livingdocs-design
- Complement your Gruntfile with the configuration for this module.
Configuration Options
grunt.initConfig
lddesign:
development:
options:
templatesDirectory: 'components'
configurationElement: 'script[type=ld-conf]'
minify:
collapseWhitespace: true
removeComments: true
removeCommentsFromCDATA: true
removeCDATASectionsFromCDATA: true
files: [
expand: true
cwd: './'
src: ['source']
dest: '.tmp/'
]