blib/lib/Mojo/Alien/npm.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 1 | 12 | 8.3 |
line | l | !l | condition |
---|---|---|---|
9 | 10 | 0 | ($ENV{'MOJO_NPM_DEBUG'} || $ENV{'MOJO_WEBPACK_DEBUG'}) && 1 |
line | l | !l | condition |
---|---|---|---|
43 | 0 | 0 | $dependencies->{$name}{'version'} //= '' |
67 | 0 | 0 | $info->{'type'} || 'dev' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
75 | 0 | 0 | 0 | $self->{'basename'} ||= path($cmd[0])->basename |
90 | 0 | 0 | 0 | symlink $work_dir->dirname->child('node_modules')->make_path, 'node_modules' or warn "Couldn't set up shared node_modules: $!" |