Add dedupe to release process

no issue
- This seems to be needed between dedupe & shrinkwrap in certain circumstances
This commit is contained in:
Hannah Wolfe 2016-06-06 13:52:18 +01:00
parent d5323cdc16
commit 3991446df1

View File

@ -296,6 +296,10 @@ var _ = require('lodash'),
command: 'npm shrinkwrap'
},
prune: {
command: 'npm prune'
},
dedupe: {
command: 'npm dedupe'
},
@ -852,7 +856,7 @@ var _ = require('lodash'),
dest: '<%= paths.releaseBuild %>/'
});
grunt.task.run(['init', 'prod', 'clean:release', 'shell:dedupe', 'shell:shrinkwrap', 'copy:release', 'compress:release']);
grunt.task.run(['init', 'prod', 'clean:release', 'shell:dedupe', 'shell:prune', 'shell:shrinkwrap', 'copy:release', 'compress:release']);
}
);
};