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:
commit
8df0dc035d
1 changed files with 5 additions and 1 deletions
|
@ -296,6 +296,10 @@ var _ = require('lodash'),
|
||||||
command: 'npm shrinkwrap'
|
command: 'npm shrinkwrap'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
prune: {
|
||||||
|
command: 'npm prune'
|
||||||
|
},
|
||||||
|
|
||||||
dedupe: {
|
dedupe: {
|
||||||
command: 'npm dedupe'
|
command: 'npm dedupe'
|
||||||
},
|
},
|
||||||
|
@ -852,7 +856,7 @@ var _ = require('lodash'),
|
||||||
dest: '<%= paths.releaseBuild %>/'
|
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…
Add table
Reference in a new issue