From 4a493191c76012b6eeba26acbb0cbfa5e9fa111e Mon Sep 17 00:00:00 2001 From: Curtis Loisel <curtis@voceconnect.com> Date: Tue, 22 Jul 2014 12:03:52 -0400 Subject: [PATCH] Adding gruntfile and package json for build --- Gruntfile.js | 20 ++++++++++++++++++++ package.json | 15 +++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 Gruntfile.js create mode 100644 package.json diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000..e705738 --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,20 @@ +/* + * WP CDN Rewrite + * https://github.com/voceconnect/cdn-rewrite + */ + +'use strict'; + +module.exports = function(grunt) { + + // Project configuration. + grunt.initConfig({ + "build": { + "production": ["composer:install:no-dev:optimize-autoloader:prefer-dist"], + } + }); + + //load the tasks + grunt.loadNpmTasks('grunt-voce-plugins'); + +}; \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..dc5bbb8 --- /dev/null +++ b/package.json @@ -0,0 +1,15 @@ +{ + "name": "cdn-rewrite", + "description": "Allows you to rewrite the root url of assets, css, and js files.", + "version": "0.1.2", + "repository": { + "type": "git", + "url": "git@github.com:voceconnect/cdn-rewrite.git" + }, + "bugs": { + "url": "https://github.com/voceconnect/cdn-rewrite/issues" + }, + "devDependencies": { + "grunt-voce-plugins": "latest" + } +} \ No newline at end of file -- GitLab