0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/debug/run-server.ts
Juan Picado 42194c7302
feat: run server init as promise (#3210)
* 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
2022-06-02 17:39:49 +02:00

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');
});
})();