UNPKG

metro4

Version:

The front-end framework for Build responsive, mobile-first projects on the web with the first front-end component library in Metro Style

50 lines (44 loc) 1.25 kB
module.exports = function(grunt) { "use strict"; require('load-grunt-tasks')(grunt); grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), ftp_push: { keycdn: { options: { authKey: "keycdn", host: "ftp.keycdn.com", dest: "v4/", port: 21, incrementalUpdates: false }, files: [ { expand: true, cwd: "build", src: ['**/*'] } ] }, keycdn_v: { options: { authKey: "keycdn", host: "ftp.keycdn.com", dest: "v<%= pkg.version %>/", port: 21, incrementalUpdates: false }, files: [ { expand: true, cwd: "build", src: ['**/*'] } ] } } }); grunt.registerTask('default', [ 'ftp_push' ]); };