UNPKG

skeleton-stylus

Version:

The (un)official stylus Version of Skeleton (2.0.4): A Dead Simple, Responsive Boilerplate for Mobile-Friendly Development

34 lines (31 loc) 869 B
module.exports = function(grunt) { grunt.initConfig({ stylus: { all: { options: { style: 'expanded' }, files: { "css/skeleton.css": "stylus/skeleton.styl" } } }, watch: { options: { livereload: false, tasks: ['stylus:compile'] }, styles: { files: ['stylus/**/*.styl'], // which files to watch tasks: ['stylus'], options: { nospawn: true } } } }); grunt.loadNpmTasks('grunt-contrib-stylus'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('stylus'); grunt.registerTask('default', ['stylus', 'watch']); };