mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 05:50:35 +03:00
Add dedupe to release process
no issue - This seems to be needed between dedupe & shrinkwrap in certain circumstances
This commit is contained in:
parent
d5323cdc16
commit
3991446df1
@ -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']);
|
||||
}
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user