Skip to content
This repository was archived by the owner on Dec 11, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,33 @@ module.exports = function(grunt) {
watch: {
files: ['<%= jshint.files %>'],
tasks: ['jshint', 'qunit']
}
},
'npm-contributors': {
options: {
commitMessage: 'chore: update contributors'
}
},
bump: {
options: {
commitMessage: 'chore: release v%VERSION%',
pushTo: 'origin'
}
}
});

grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-qunit');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-npm');
grunt.loadNpmTasks('grunt-bump');

grunt.registerTask('test', ['jshint', 'qunit']);

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

grunt.registerTask('release', 'Bump the version and publish to NPM.', function(type) {
grunt.task.run(['npm-contributors', "bump:#{type||'patch'}", 'npm-publish']);
});
};
8 changes: 8 additions & 0 deletions package.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Package.describe({
summary: "Live Query utilizes the power of jQuery selectors by firing callbacks for matched elements auto-magically, even after the page has been loaded and the DOM updated."
});

Package.on_use(function(api, where) {
api.use('jquery', ['client']);
api.add_files('./dist/jquery.livequery.js', ['client']);
});
20 changes: 17 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery.livequery",
"version": "1.3.6",
"version": "1.3.7",
"description": "Live Query utilizes the power of jQuery selectors by firing callbacks for matched elements auto-magically, even after the page has been loaded and the DOM updated.",
"main": "Gruntfile.js",
"directories": {
Expand All @@ -11,7 +11,10 @@
"grunt-contrib-uglify": "~0.2.2",
"grunt-contrib-jshint": "~0.6.3",
"grunt-contrib-qunit": "~0.2.2",
"grunt-contrib-watch": "~0.4.4"
"grunt-contrib-watch": "~0.4.4",
"grunt-npm": "0.0.2",
"grunt-bump": "0.0.13",
"grunt-contrib-concat": "~0.3.0"
},
"scripts": {
"test": "grunt test"
Expand Down Expand Up @@ -54,5 +57,16 @@
],
"bugs": {
"url": "https://github.com/hazzik/livequery/issues"
}
},
"contributors": [
"Alexander I. Zaytsev <hazzik@gmail.com>",
"Brandon Aaron <brandon.aaron@gmail.com>",
"Alexander I. Zaytsev <hazzik@users.noreply.github.com>",
"brandonaaron <brandon.aaron@gmail.com>",
"sergeyt <stodyshev@gmail.com>",
"Alexander Zaytsev <alexander.zaytsev@doneright.ru>",
"Alexander Zaytsev <hazzik@gmail.com>",
"Tianon Gravi <admwiggin@gmail.com>",
"Whoahbot <whoahbot@gmail.com>"
]
}
8 changes: 8 additions & 0 deletions smart.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "livequery",
"description": "Live Query utilizes the power of jQuery selectors by firing callbacks for matched elements auto-magically, even after the page has been loaded and the DOM updated.",
"homepage": "https://github.com/sergeyt/livequery",
"author": "Brandon Aaron, Alexander Zaytsev",
"version": "1.3.7",
"git": "https://github.com/sergeyt/livequery.git"
}