Skip to content

Commit

Permalink
Change: devDependencies version and node version for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mugifly committed Sep 17, 2015
1 parent 5b860a0 commit f8b3f42
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,6 +1,6 @@
language: node_js
node_js:
- "0.10"
- "0.12"
before_install:
- "npm install -g grunt-cli"
install:
Expand Down
28 changes: 15 additions & 13 deletions Gruntfile.js
@@ -1,10 +1,11 @@
module.exports = function(grunt) {
// Configuration for testing with using the qunit.
grunt.initConfig({
pkg: '<json:package.json>',
// Test with using QUnit
qunit: {
files: ['t/test.html']
},
// Syntax check with using JSHint
jshint: {
default: {
src: ['jquery.simple-dtpicker.js'],
Expand All @@ -17,24 +18,25 @@ module.exports = function(grunt) {
]
}
},
jquerymanifest: {
options: {
source: grunt.file.readJSON('package.json'),
overrides: {
name: "simple-dtpicker",
docs: "https://github.com/mugifly/jquery-simple-datetimepicker/blob/master/README.md",
demo: "http://mugifly.github.com/jquery-simple-datetimepicker/jquery.simple-dtpicker.html",
keywords: ["date","time","picker","input","form","datepicker","timepicker"]
// Sync manifest for bower.json
manifestSync: {
dist: {
options: {
primaryManifest: "package.json",
manifests: {
bower: "bower.json"
}
}
}
}
});
});

// Load a module
// Load a module
grunt.loadNpmTasks('grunt-contrib-qunit');
grunt.loadNpmTasks('grunt-jquerymanifest');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-manifest-sync');

// Register a tasks
grunt.registerTask('test', ['qunit', 'jshint']);
grunt.registerTask('default', ['jquerymanifest', 'test']);
grunt.registerTask('default', ['manifestSync', 'test']);
}
14 changes: 9 additions & 5 deletions bower.json
@@ -1,8 +1,12 @@
{
"name": "jquery-simple-datetimepicker",
"version": "1.12.0",
"main": ["jquery.simple-dtpicker.js","jquery.simple-dtpicker.css"],
"version": "1.13.0",
"main": [
"jquery.simple-dtpicker.js",
"jquery.simple-dtpicker.css"
],
"dependencies": {
"jquery" : ">=1.7.2"
}
}
"jquery": ">=1.7.2"
},
"description": "Date and time picker, it's simple & clean. (jQuery plugin)"
}
15 changes: 7 additions & 8 deletions package.json
Expand Up @@ -11,8 +11,8 @@
"test": "grunt test --verbose --force"
},
"keywords": [
"jquery-plugin",
"ecosystem:jquery"
"jquery-plugin",
"ecosystem:jquery"
],
"repository": {
"type": "git",
Expand All @@ -31,11 +31,10 @@
"jquery": ">=1.7.2"
},
"devDependencies": {
"grunt": "^0.4.4",
"grunt-contrib-qunit": "^0.4.0",
"grunt-jquerymanifest": "^0.1.4",
"qunitjs": "^1.14.0",
"jquery": "^2.1.0",
"grunt-contrib-jshint": "^0.10.0"
"grunt": "^0.4.5",
"grunt-contrib-jshint": "^0.11.3",
"grunt-contrib-qunit": "^0.7.0",
"grunt-manifest-sync": "^1.2.1",
"qunitjs": "^1.14.0"
}
}

0 comments on commit f8b3f42

Please sign in to comment.