diff --git a/build/grunt.js b/build/grunt.js index ddf86e2199..909e98527f 100644 --- a/build/grunt.js +++ b/build/grunt.js @@ -1,6 +1,6 @@ import {gruntCustomizer, gruntOptionsMaker} from './options-customizer.js'; import chg from 'chg'; -import nodeCli from 'shelljs-nodecli'; +import npmRun from 'npm-run'; module.exports = function(grunt) { require('time-grunt')(grunt); @@ -32,7 +32,10 @@ module.exports = function(grunt) { release: { tag_name: 'v'+ version.full, name: version.full, - body: nodeCli.exec('conventional-changelog', '-p videojs', {silent: true}).output + body: npmRun.execSync('conventional-changelog -p videojs', { + silent: true, + encoding: 'utf8' + }) }, }, files: { diff --git a/package.json b/package.json index 290722fa02..f9680b1c89 100644 --- a/package.json +++ b/package.json @@ -98,9 +98,9 @@ "karma-sinon": "^1.0.5", "load-grunt-tasks": "^3.1.0", "markdown-table": "^1.0.0", + "npm-run": "^4.1.0", "proxyquireify": "^3.0.0", "qunitjs": "^1.23.1", - "shelljs-nodecli": "^0.1.1", "sinon": "^1.16.1", "time-grunt": "^1.1.1", "uglify-js": "~2.7.3",