Update Koneko integration
This commit is contained in:
89
resources/public/vendor/twentytwenty/Gruntfile.js
vendored
Normal file
89
resources/public/vendor/twentytwenty/Gruntfile.js
vendored
Normal file
@ -0,0 +1,89 @@
|
||||
module.exports = function (grunt) {
|
||||
// load all grunt tasks matching the `grunt-*` pattern
|
||||
require('load-grunt-tasks')(grunt);
|
||||
|
||||
grunt.initConfig({
|
||||
//clean main compiled css file and minified version.
|
||||
clean: {
|
||||
css: ['css'],
|
||||
js: ['js'],
|
||||
},
|
||||
|
||||
//Compile TwentyTwenty SCSS file (without Compass) into CSS
|
||||
sass: {
|
||||
dist: {
|
||||
files: {
|
||||
'css/twentytwenty-no-compass.css': 'scss/twentytwenty-no-compass.scss',
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
//watch for changes to SCSS files.
|
||||
watch: {
|
||||
sass: {
|
||||
files: ['scss/**/*.scss'],
|
||||
tasks: ['sass', 'notify:sass'],
|
||||
|
||||
options: {
|
||||
livereload: 35729
|
||||
}
|
||||
},
|
||||
|
||||
html: {
|
||||
files: ['*.html'],
|
||||
tasks: ['notify:html'],
|
||||
options: {
|
||||
livereload: 35729
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// open local test page on port 8888 with LiveReload
|
||||
connect: {
|
||||
dev: {
|
||||
options: {
|
||||
port: 8888,
|
||||
cwd: 'zurb-twentytwenty',
|
||||
livereload: 35729,
|
||||
open: {
|
||||
target: 'http://localhost:8888/twentytwenty-no-compass.html'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
//configurations for OS X notifications, for each task.
|
||||
notify: {
|
||||
clean: {
|
||||
options: {
|
||||
title: "Clean",
|
||||
message: "Files cleaned",
|
||||
success: true,
|
||||
duration: 5
|
||||
}
|
||||
},
|
||||
|
||||
sass: {
|
||||
options: {
|
||||
title: "SCSS Compilation",
|
||||
message: "SCSS compilation complete",
|
||||
success: true,
|
||||
duration: 5
|
||||
}
|
||||
},
|
||||
|
||||
html: {
|
||||
options: {
|
||||
title: "HTML file",
|
||||
message: "HTML file update",
|
||||
success: true,
|
||||
duration: 5
|
||||
}
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
grunt.registerTask('cleanit', ['clean','notify:clean']);
|
||||
grunt.registerTask('develop', ['sass','notify:sass','connect:dev','watch','notify:watch']);
|
||||
grunt.registerTask('watchit', ['watch']);
|
||||
};
|
Reference in New Issue
Block a user