Merge pull request #4961 from ErisDS/release-update

Adding npm shrinkwrap during release
This commit is contained in:
Sebastian Gierlinger 2015-02-27 22:21:00 +01:00
commit 00ec9e569f

View File

@ -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