mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-13 22:48:31 -05:00
1755840cd3
* chore: add config utility * improve verdaccio bin location * add new npm cli e2e tests * add tests * rename files
12 lines
298 B
TypeScript
12 lines
298 B
TypeScript
import { join } from 'path';
|
|
|
|
import { exec } from '@verdaccio/test-cli-commons';
|
|
|
|
export function getCommand() {
|
|
return join(__dirname, './node_modules/.bin/npm');
|
|
}
|
|
|
|
export function npm(...args: string[]) {
|
|
console.log('-getCommand()', getCommand());
|
|
return exec({}, getCommand(), args);
|
|
}
|