This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
inside/snapporder/Gruntfile.js
T

46 lines
1.2 KiB
JavaScript

module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
autoprefixer: {
dist: {
files: {
'css/style.css': 'css/style.css',
}
},
},
sass: {
options: {
includePaths: ['bower_components/foundation/scss']
},
dist: {
options: {
outputStyle: 'compressed'
//outputStyle: 'compact'
},
files: {
'css/style.css': 'scss/style.scss'
}
}
},
watch: {
sass: {
files: ['scss/**/*.scss'],
tasks: ['sass', 'autoprefixer'],
},
livereload: {
files: ['**/*.php', 'css/style.css', '**/*.js'],
options: {
livereload: true
}
}
}
});
// load all grunt tasks
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
grunt.registerTask('build', ['sass']);
grunt.registerTask('default', ['build','watch']);
};