mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
42194c7302
* feat: run server init as promise * chore: format * fix: format * fix: format * fix: restore files * fix: restore files * fix: disable steps * fix: init log on cli * fix: init log on cli * fix: init log on cli * fix: init log on cli * fix: init log on cli * fix: init log on cli * fix: init log on cli * fix: init log on cli * fix: init log on cli * fix: init log on cli * fix: init log on cli
9 lines
229 B
TypeScript
9 lines
229 B
TypeScript
/* eslint-disable no-console */
|
|
const { runServer } = require('../src');
|
|
|
|
(async () => {
|
|
const app = await runServer(); // default configuration
|
|
app.listen(4000, () => {
|
|
console.log('listening on port 4000');
|
|
});
|
|
})();
|