UNPKG

@testcafe/publish-please

Version:

Safe and highly functional replacement for `npm publish`.

19 lines (18 loc) 358 B
'use strict'; module.exports.arg = function (input) { return { is: predicate => { return predicate(input); } }; }; module.exports.npmCommand = function (args) { return { hasCommand: command => { return args['npm_command'] === command; }, hasArg: arg => { return args[`npm_config_${arg}`] === 'true'; } }; };