mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-21 07:29:37 +01:00

* 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
10 lines
229 B
TypeScript
10 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');
|
|
});
|
|
})();
|