0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Merge pull request #6931 from ErisDS/release-dedupe

Add dedupe to release process
This commit is contained in:
Kevin Ansfield 2016-06-06 14:25:07 +01:00
commit 8df0dc035d

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']);
}
);
};