mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-13 14:39:52 +03:00
Merge pull request #5862 from sebgie/npm-dedupe
Optimize release dependencies
This commit is contained in:
commit
c89459a7d8
@ -351,6 +351,10 @@ var _ = require('lodash'),
|
|||||||
command: 'npm shrinkwrap'
|
command: 'npm shrinkwrap'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
dedupe: {
|
||||||
|
command: 'npm dedupe'
|
||||||
|
},
|
||||||
|
|
||||||
csscombfix: {
|
csscombfix: {
|
||||||
command: path.resolve(cwd + '/node_modules/.bin/csscomb -c core/client/app/styles/csscomb.json -v core/client/app/styles')
|
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' +
|
' - Copy files to release-folder/#/#{version} directory\n' +
|
||||||
' - Clean out unnecessary files (travis, .git*, etc)\n' +
|
' - Clean out unnecessary files (travis, .git*, etc)\n' +
|
||||||
' - Zip files in release-folder to dist-folder/#{version} directory',
|
' - 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;
|
module.exports = configureGrunt;
|
||||||
|
Loading…
Reference in New Issue
Block a user