From 594ccf735f116cf4c8274806f480d2cc01252475 Mon Sep 17 00:00:00 2001 From: Matthew Fraser Date: Sun, 19 Apr 2015 23:10:27 -0400 Subject: [PATCH] Added package management tools Added package.json, bower.json. Installed mediaelement, jquery and grunt, added as dependencies Updated .gitignore to include node_modules and bower_components --- .gitignore | 4 +++- Gruntfile.js | 19 +++++++++++++++++++ bower.json | 22 ++++++++++++++++++++++ package.json | 18 ++++++++++++++++++ 4 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 Gruntfile.js create mode 100644 bower.json create mode 100644 package.json diff --git a/.gitignore b/.gitignore index 554a8f3..5d91a1c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,6 @@ .Spotlight-V100 .Trashes ehthumbs.db -Thumbs.db \ No newline at end of file +Thumbs.db +node_modules +bower_components \ No newline at end of file diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000..d09dd71 --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,19 @@ +module.exports = function(grunt) { + + // Project configuration. + grunt.initConfig({ + pkg: grunt.file.readJSON('package.json'), + /*build: { + src: 'src/<%= pkg.name %>.js', + dest: 'build/<%= pkg.name %>.min.js' + }*/ + } + }); + + // Load the plugin that provides the "uglify" task. + //grunt.loadNpmTasks('grunt-contrib-uglify'); + + // Default task(s). + //grunt.registerTask('default', ['uglify']); + +}; \ No newline at end of file diff --git a/bower.json b/bower.json new file mode 100644 index 0000000..0d944b9 --- /dev/null +++ b/bower.json @@ -0,0 +1,22 @@ +{ + "name": "podcast-plugin", + "version": "1.0.3", + "homepage": "https://github.com/cosmicradiotv/podcast-plugin", + "authors": [ + "CosmicRadio.TV " + ], + "description": "A platform for podcast networks using OctoberCMS", + "main": "Plugin.php", + "license": "MIT", + "ignore": [ + "**/.*", + "node_modules", + "bower_components", + "test", + "tests" + ], + "dependencies": { + "mediaelement": "~2.16.4", + "jquery": "~2.1.3" + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..5783c9f --- /dev/null +++ b/package.json @@ -0,0 +1,18 @@ +{ + "name": "podcast-plugin", + "version": "1.0.3", + "description": "A platform for podcast networks using OctoberCMS", + "repository": { + "type": "git", + "url": "git+https://github.com/cosmicradiotv/podcast-plugin.git" + }, + "author": "CosmicRadio.TV ", + "license": "MIT", + "bugs": { + "url": "https://github.com/cosmicradiotv/podcast-plugin/issues" + }, + "homepage": "https://github.com/cosmicradiotv/podcast-plugin#readme", + "devDependencies": { + "grunt": "^0.4.5" + } +}