mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-25 02:31:59 -05:00
Merge pull request #5862 from sebgie/npm-dedupe
Optimize release dependencies
This commit is contained in:
commit
c89459a7d8
1 changed files with 5 additions and 1 deletions
|
@ -351,6 +351,10 @@ var _ = require('lodash'),
|
|||
command: 'npm shrinkwrap'
|
||||
},
|
||||
|
||||
dedupe: {
|
||||
command: 'npm dedupe'
|
||||
},
|
||||
|
||||
csscombfix: {
|
||||
command: path.resolve(cwd + '/node_modules/.bin/csscomb -c core/client/app/styles/csscomb.json -v core/client/app/styles')
|
||||
},
|
||||
|
@ -926,7 +930,7 @@ 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', 'shell:ember:prod', 'clean:release', 'shell:shrinkwrap', 'copy:release', 'compress:release']);
|
||||
['init', 'shell:ember:prod', 'clean:release', 'shell:dedupe', 'shell:shrinkwrap', 'copy:release', 'compress:release']);
|
||||
};
|
||||
|
||||
module.exports = configureGrunt;
|
||||
|
|
Loading…
Add table
Reference in a new issue