Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

Commit

Permalink
change version to 0.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
linkesch committed Aug 4, 2014
1 parent 339a618 commit 8c7e738
Show file tree
Hide file tree
Showing 20 changed files with 40 additions and 2,698 deletions.
68 changes: 12 additions & 56 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,69 +2,27 @@ module.exports = function(grunt) {

grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
banner: '/*! \n * <%= pkg.name %> v<%= pkg.version %> - <%= pkg.description %>\n *\n * <%= pkg.homepage %>\n * \n * Copyright (c) 2014 <%= pkg.author.name %> (<%= pkg.author.url %>)\n * Released under the <%= pkg.license %> license\n */\n\n',

uglify: {
build: {
options: {
banner: '/*! \n * <%= pkg.name %> v<%= pkg.version %> - <%= pkg.description %>\n *\n * <%= pkg.homepage %>\n * \n * Copyright (c) 2014 <%= pkg.author.name %> (<%= pkg.author.url %>)\n * Released under the <%= pkg.license %> license\n */\n\n'
banner: '<%= banner %>'
},
src: ['src/js/medium-editor-insert-plugin.js', 'src/js/medium-editor-insert-images.js', 'src/js/medium-editor-insert-maps.js', 'src/js/medium-editor-insert-embeds.js', 'src/js/medium-editor-insert-tables.js'],
dest: 'dist/js/<%= pkg.name %>.all.min.js'
},
f1: {
build2: {
options: {
preserveComments: 'some'
banner: '<%= banner %>'
},
src: 'src/js/medium-editor-insert-plugin.js',
dest: 'dist/js/addons/medium-editor-insert-plugin.min.js'
},
f2: {
options: {
preserveComments: 'some'
},
src: 'src/js/medium-editor-insert-images.js',
dest: 'dist/js/addons/medium-editor-insert-images.min.js'
},
f3: {
options: {
preserveComments: 'some'
},
src: 'src/js/medium-editor-insert-maps.js',
dest: 'dist/js/addons/medium-editor-insert-maps.min.js'
},
f4: {
options: {
preserveComments: 'some'
},
src: 'src/js/medium-editor-insert-embeds.js',
dest: 'dist/js/addons/medium-editor-insert-embeds.min.js'
},
f5: {
options: {
preserveComments: 'some'
},
src: 'src/js/medium-editor-insert-tables.js',
dest: 'dist/js/addons/medium-editor-insert-tables.min.js'
}
},

copy: {
main: {
files: [
{
expand: true,
cwd: 'src/js/',
src: ['*'],
dest: 'dist/js/addons/'
}
]
}
},

concat: {
dist: {
src: ['src/js/medium-editor-insert-plugin.js', 'src/js/medium-editor-insert-images.js', 'src/js/medium-editor-insert-maps.js', 'src/js/medium-editor-insert-tables.js', 'src/js/medium-editor-insert-embeds.js'],
dest: 'dist/js/<%= pkg.name %>.all.js'
files: [{
expand: true,
cwd: 'src/js',
src: '**/*.js',
dest: 'dist/js/addons',
ext: '.min.js'
}]
}
},

Expand Down Expand Up @@ -130,14 +88,12 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-qunit');
grunt.loadNpmTasks('grunt-contrib-compass');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-autoprefixer');
grunt.loadNpmTasks('grunt-sass');
grunt.loadNpmTasks('grunt-csso');

grunt.registerTask('test', ['jshint', 'qunit']);
grunt.registerTask('js', ['test', 'uglify', 'copy', 'concat']);
grunt.registerTask('js', ['test', 'uglify']);
grunt.registerTask('css', ['sass', 'autoprefixer', 'csso']);
grunt.registerTask('default', ['js', 'css']);

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "medium-editor-insert-plugin",
"version": "0.2.6",
"version": "0.2.7",
"description": "jQuery insert plugin for MediumEditor",
"main": [
"dist/js/medium-editor-insert-plugin.all.js",
Expand Down
133 changes: 0 additions & 133 deletions dist/js/addons/medium-editor-insert-embeds.js

This file was deleted.

11 changes: 5 additions & 6 deletions dist/js/addons/medium-editor-insert-embeds.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8c7e738

Please sign in to comment.