From 27abcda456b24f6891ad9b752722b31af4fc942e Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Wed, 9 Sep 2015 14:10:54 +0200 Subject: [PATCH] fix: Upgrade dependencies --- gruntfile.js | 29 ++++++++++++++++++++++++++++- package.json | 27 ++++++++++++++------------- tasks/grunt-karma.js | 1 - 3 files changed, 42 insertions(+), 15 deletions(-) diff --git a/gruntfile.js b/gruntfile.js index c089a51..4232200 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -36,6 +36,32 @@ module.exports = function (grunt) { } }, + conventionalChangelog: { + release: { + options: { + changelogOpts: { + preset: 'angular' + } + }, + src: 'CHANGELOG.md' + } + }, + + conventionalGithubReleaser: { + release: { + options: { + auth: { + type: 'oauth', + token: process.env.GH_TOKEN + }, + changelogOpts: { + preset: 'angular', + releaseCount: 0 + } + } + } + }, + bump: { options: { updateConfigs: ['pkg'], @@ -104,8 +130,9 @@ module.exports = function (grunt) { grunt.task.run([ 'npm-contributors', 'bump:' + (type || 'patch') + ':bump-only', - 'changelog', + 'conventionalChangelog', 'bump-commit', + 'conventionalGithubReleaser', 'npm-publish' ]) }) diff --git a/package.json b/package.json index b0a95f3..ba44be5 100644 --- a/package.json +++ b/package.json @@ -23,23 +23,24 @@ "license": "MIT", "readmeFilename": "README.md", "dependencies": { - "lodash": "~3.9.3" + "lodash": "^3.10.1" }, "devDependencies": { - "eslint": "^0.21.2", - "eslint-config-standard": "^1.1.1", - "eslint-plugin-react": "^2.3.0", + "eslint": "^1.3.1", + "eslint-config-standard": "^4.3.1", + "eslint-plugin-react": "^3.3.1", "expect.js": "^0.3.1", - "grunt": "~0.4.3", - "grunt-bump": "0.3.1", - "grunt-contrib-watch": "~0.6.1", - "grunt-conventional-changelog": "~1.2.2", - "grunt-eslint": "^13.0.0", + "grunt": "^0.4.3", + "grunt-bump": "0.5.0", + "grunt-contrib-watch": "^0.6.1", + "grunt-conventional-changelog": "^3.0.0", + "grunt-conventional-github-releaser": "^0.2.0", + "grunt-eslint": "^17.1.0", "grunt-npm": "0.0.2", - "karma": "~0.13.0", - "karma-chrome-launcher": "~0.1.2", - "karma-firefox-launcher": "~0.1.3", - "karma-mocha": "~0.1.3", + "karma": "^0.13.0", + "karma-chrome-launcher": "^0.2.0", + "karma-firefox-launcher": "^0.1.3", + "karma-mocha": "^0.2.0", "load-grunt-tasks": "^3.2.0" }, "peerDependencies": { diff --git a/tasks/grunt-karma.js b/tasks/grunt-karma.js index 1a9349f..1a94a1e 100644 --- a/tasks/grunt-karma.js +++ b/tasks/grunt-karma.js @@ -111,7 +111,6 @@ module.exports = function (grunt) { // allow karma to be run in the background so it doesn't block grunt if (data.background) { - var backgroundProcess = require('child_process').fork( path.join(__dirname, '..', 'lib', 'background.js'), { silent: true }