mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-17 07:45:52 +01:00
8f43bf17df
* refactor: improve node-api * chore: add test for run server
9 lines
166 B
JavaScript
9 lines
166 B
JavaScript
const { runServer } = require('../build');
|
|
|
|
(async () => {
|
|
const app = await runServer();
|
|
app.listen(4000, () => {
|
|
console.log('server started');
|
|
});
|
|
})();
|