added new npmextra version

This commit is contained in:
2016-09-24 16:57:30 +02:00
parent e6284cdde3
commit b31994f163
3 changed files with 11 additions and 13 deletions

View File

@ -18,12 +18,9 @@ exports.run = function (argvArg) {
watch: false
};
// mix with configfile
npmts_promisechain_1.npmtsOra.text('looking for npmextra.json');
let config = plugins.npmextra.dataFor({
toolName: 'npmts',
defaultSettings: defaultConfig,
cwd: paths.cwd
});
npmts_promisechain_1.npmtsOra.text('running npmextra');
let localNpmextra = new plugins.npmextra.Npmextra(paths.cwd);
let config = localNpmextra.dataFor('npmts', defaultConfig);
// add argv
config.argv = argvArg;
// check mode