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

Commit

Permalink
Version 2.0.1, prepare NPM publish
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed May 22, 2016
1 parent 69a0e91 commit e9c99ba
Show file tree
Hide file tree
Showing 9 changed files with 363 additions and 338 deletions.
190 changes: 95 additions & 95 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,96 +1,96 @@
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),

banner:
'/*!\n'+
' * jQCloud <%= pkg.version %>\n'+
' * Copyright 2011 Luca Ongaro (http://www.lucaongaro.eu)\n'+
' * Copyright 2013 Daniel White (http://www.developerdan.com)\n'+
' * Copyright <%= grunt.template.today("yyyy") %> Damien "Mistic" Sorel (http://www.strangeplanet.fr)\n'+
' * Licensed under MIT (http://opensource.org/licenses/MIT)\n'+
' */',

// copy src
concat: {
options: {
banner: '<%= banner %>\n',
stripBanners: {
block: true
}
},
src: {
files: {
'dist/jqcloud.css': [
'src/jqcloud.css'
],
'dist/jqcloud.js': [
'src/jqcloud.js'
]
}
}
},

// compress js
uglify: {
options: {
banner: '<%= banner %>\n'
},
dist: {
files: {
'dist/jqcloud.min.js': [
'dist/jqcloud.js'
]
}
}
},

// compress css
cssmin: {
options: {
banner: '<%= banner %>',
keepSpecialComments: 0
},
dist: {
files: {
'dist/jqcloud.min.css': [
'dist/jqcloud.css'
]
}
}
},

// jshint tests
jshint: {
lib: {
files: {
src: [
'src/jqcloud.js'
]
}
}
},

// qunit test suite
qunit: {
all: ['test/*.html']
}
});

grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-qunit');
grunt.loadNpmTasks('grunt-contrib-jshint');

grunt.registerTask('default', [
'concat',
'uglify',
'cssmin'
]);

grunt.registerTask('test', [
'qunit',
'jshint'
]);
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),

banner:
'/*!\n'+
' * jQCloud <%= pkg.version %>\n'+
' * Copyright 2011 Luca Ongaro (http://www.lucaongaro.eu)\n'+
' * Copyright 2013 Daniel White (http://www.developerdan.com)\n'+
' * Copyright 2014<%= grunt.template.today("yyyy") %> Damien "Mistic" Sorel (http://www.strangeplanet.fr)\n'+
' * Licensed under MIT (http://opensource.org/licenses/MIT)\n'+
' */',

// copy src
concat: {
options: {
banner: '<%= banner %>\n',
stripBanners: {
block: true
}
},
src: {
files: {
'dist/jqcloud.css': [
'src/jqcloud.css'
],
'dist/jqcloud.js': [
'src/jqcloud.js'
]
}
}
},

// compress js
uglify: {
options: {
banner: '<%= banner %>\n'
},
dist: {
files: {
'dist/jqcloud.min.js': [
'dist/jqcloud.js'
]
}
}
},

// compress css
cssmin: {
options: {
banner: '<%= banner %>',
keepSpecialComments: 0
},
dist: {
files: {
'dist/jqcloud.min.css': [
'dist/jqcloud.css'
]
}
}
},

// jshint tests
jshint: {
lib: {
files: {
src: [
'src/jqcloud.js'
]
}
}
},

// qunit test suite
qunit: {
all: ['test/*.html']
}
});

grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-qunit');
grunt.loadNpmTasks('grunt-contrib-jshint');

grunt.registerTask('default', [
'concat',
'uglify',
'cssmin'
]);

grunt.registerTask('test', [
'qunit',
'jshint'
]);
};
82 changes: 41 additions & 41 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
{
"name": "jqcloud2",
"version": "2.0.1",
"homepage": "https://github.com/mistic100/jQCloud",
"authors": [{
"name": "Luca Ongaro",
"homepage": "http://www.lucaongaro.eu"
}, {
"name": "Daniel White",
"homepage": "http://www.developerdan.com"
}, {
"name": "Damien \"Mistic\" Sorel",
"homepage": "http://www.strangeplanet.fr"
}],
"description": "jQuery plugin for drawing neat word clouds that actually look like clouds",
"main": [
"dist/jqcloud.js",
"dist/jqcloud.css"
],
"dependencies" : {
"jquery": ">= 1.9.0"
},
"keywords": [
"cloud",
"jquery",
"keyword",
"tag"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/mistic100/jQCloud.git"
},
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}
{
"name": "jqcloud2",
"version": "2.0.2",
"homepage": "https://github.com/mistic100/jQCloud",
"description": "jQuery plugin for drawing neat word clouds that actually look like clouds",
"authors": [{
"name": "Luca Ongaro",
"homepage": "http://www.lucaongaro.eu"
}, {
"name": "Daniel White",
"homepage": "http://www.developerdan.com"
}, {
"name": "Damien \"Mistic\" Sorel",
"homepage": "http://www.strangeplanet.fr"
}],
"main": [
"dist/jqcloud.js",
"dist/jqcloud.css"
],
"dependencies" : {
"jquery": ">= 1.9.0"
},
"keywords": [
"cloud",
"jquery",
"keyword",
"tag"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/mistic100/jQCloud.git"
},
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}
110 changes: 55 additions & 55 deletions dist/jqcloud.css
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
/*!
* jQCloud 2.0.1
* Copyright 2011 Luca Ongaro (http://www.lucaongaro.eu)
* Copyright 2013 Daniel White (http://www.developerdan.com)
* Copyright 2014 Damien "Mistic" Sorel (http://www.strangeplanet.fr)
* Licensed under MIT (http://opensource.org/licenses/MIT)
*/
/* layout */
div.jqcloud {
overflow: hidden;
position: relative;
}

div.jqcloud span {
padding: 0;
}

/* fonts */
div.jqcloud {
font-family: "Helvetica", "Arial", sans-serif;
font-size: 10px;
line-height: normal;
}

div.jqcloud a {
font-size: inherit;
text-decoration: none;
}

div.jqcloud span.w10 { font-size: 550%; }
div.jqcloud span.w9 { font-size: 500%; }
div.jqcloud span.w8 { font-size: 450%; }
div.jqcloud span.w7 { font-size: 400%; }
div.jqcloud span.w6 { font-size: 350%; }
div.jqcloud span.w5 { font-size: 300%; }
div.jqcloud span.w4 { font-size: 250%; }
div.jqcloud span.w3 { font-size: 200%; }
div.jqcloud span.w2 { font-size: 150%; }
div.jqcloud span.w1 { font-size: 100%; }

/* colors */
div.jqcloud { color: #09f; }
div.jqcloud a { color: inherit; }
div.jqcloud a:hover { color: #0df; }
div.jqcloud a:hover { color: #0cf; }
div.jqcloud span.w10 { color: #0cf; }
div.jqcloud span.w9 { color: #0cf; }
div.jqcloud span.w8 { color: #0cf; }
div.jqcloud span.w7 { color: #39d; }
div.jqcloud span.w6 { color: #90c5f0; }
div.jqcloud span.w5 { color: #90a0dd; }
div.jqcloud span.w4 { color: #90c5f0; }
div.jqcloud span.w3 { color: #a0ddff; }
div.jqcloud span.w2 { color: #99ccee; }
div.jqcloud span.w1 { color: #aab5f0; }
/*!
* jQCloud 2.0.2
* Copyright 2011 Luca Ongaro (http://www.lucaongaro.eu)
* Copyright 2013 Daniel White (http://www.developerdan.com)
* Copyright 20142016 Damien "Mistic" Sorel (http://www.strangeplanet.fr)
* Licensed under MIT (http://opensource.org/licenses/MIT)
*/
/* layout */
div.jqcloud {
overflow: hidden;
position: relative;
}

div.jqcloud span {
padding: 0;
}

/* fonts */
div.jqcloud {
font-family: "Helvetica", "Arial", sans-serif;
font-size: 10px;
line-height: normal;
}

div.jqcloud a {
font-size: inherit;
text-decoration: none;
}

div.jqcloud span.w10 { font-size: 550%; }
div.jqcloud span.w9 { font-size: 500%; }
div.jqcloud span.w8 { font-size: 450%; }
div.jqcloud span.w7 { font-size: 400%; }
div.jqcloud span.w6 { font-size: 350%; }
div.jqcloud span.w5 { font-size: 300%; }
div.jqcloud span.w4 { font-size: 250%; }
div.jqcloud span.w3 { font-size: 200%; }
div.jqcloud span.w2 { font-size: 150%; }
div.jqcloud span.w1 { font-size: 100%; }

/* colors */
div.jqcloud { color: #09f; }
div.jqcloud a { color: inherit; }
div.jqcloud a:hover { color: #0df; }
div.jqcloud a:hover { color: #0cf; }
div.jqcloud span.w10 { color: #0cf; }
div.jqcloud span.w9 { color: #0cf; }
div.jqcloud span.w8 { color: #0cf; }
div.jqcloud span.w7 { color: #39d; }
div.jqcloud span.w6 { color: #90c5f0; }
div.jqcloud span.w5 { color: #90a0dd; }
div.jqcloud span.w4 { color: #90c5f0; }
div.jqcloud span.w3 { color: #a0ddff; }
div.jqcloud span.w2 { color: #99ccee; }
div.jqcloud span.w1 { color: #aab5f0; }
Loading

0 comments on commit e9c99ba

Please sign in to comment.