mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-03-25 02:32:52 -05:00
14 lines
303 B
JavaScript
Executable file
14 lines
303 B
JavaScript
Executable file
#!/usr/bin/env node
|
|
|
|
var Server = require('./lib/server');
|
|
|
|
process.argv = ['node', 'sinopia', '-c', './config.yaml'];
|
|
require('../bin/sinopia');
|
|
|
|
setTimeout(function() {
|
|
var server = new Server('http://localhost:55550/');
|
|
server.auth('test', 'test', function() {
|
|
console.log('ok');
|
|
});
|
|
}, 1000);
|
|
|