From 65fe7374f9449ab2fb8ae1ca0e4a12ce87fbfbab Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Fri, 27 Feb 2015 17:15:33 +0000 Subject: [PATCH] Adding npm shrinkwrap during release --- Gruntfile.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index a8226d121c..3f87aa474a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -339,6 +339,10 @@ var _ = require('lodash'), coverage: { command: 'node ' + mochaPath + ' --timeout 15000 --reporter html-cov > coverage.html ' + path.resolve(cwd + '/core/test/blanket_coverage.js') + }, + + shrinkwrap: { + command: 'npm shrinkwrap' } }, @@ -1167,7 +1171,8 @@ var _ = require('lodash'), ' - Copy files to release-folder/#/#{version} directory\n' + ' - Clean out unnecessary files (travis, .git*, etc)\n' + ' - Zip files in release-folder to dist-folder/#{version} directory', - ['init', 'concat:prod', 'copy:prod', 'emberBuildProd', 'uglify:release', 'clean:release', 'copy:release', 'compress:release']); + ['init', 'concat:prod', 'copy:prod', 'emberBuildProd', 'uglify:release', 'clean:release', + 'shell:shrinkwrap', 'copy:release', 'compress:release']); }; // Export the configuration