diff --git a/bin/updateFrameworkDependencies.js b/bin/updateFrameworkDependencies.js index 514f58c..191c495 100755 --- a/bin/updateFrameworkDependencies.js +++ b/bin/updateFrameworkDependencies.js @@ -1,11 +1,11 @@ #!/usr/bin/env node var rimraf = require('rimraf'); -var execSync = require('child_process').execSync; +var execSync = require('child_process').exec; rimraf.sync('bower_components/content-editor*'); -rimraf.sync('bower_components/renderer*'); -rimraf.sync('node_modules/eslint-config-ekstep-content-plugin'); +rimraf.sync('bower_components/content-player*'); + execSync('node node_modules/bower/bin/bower cache clean', { stdio: 'inherit' }); execSync('node node_modules/bower/bin/bower install', { stdio: 'inherit' }); execSync('npm install', { stdio: 'inherit' }); diff --git a/package.json b/package.json index 3eb4364..6c04d1d 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,8 @@ "author": "ekstep", "license": "MIT", "devDependencies": { + "bower-installer": "^1.3.6", "gulp-jasmine-node": "^1.0.7", "jasmine-node": "^1.14.5" } -} \ No newline at end of file +}