feat: npm release support (#88)

This commit is contained in:
Adam Uhlíř
2021-04-29 13:43:07 +02:00
committed by GitHub
parent d3da895f03
commit 0fb73f85b4
4 changed files with 259 additions and 1304 deletions
Executable
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env node
const path = require('path')
const serve = require('http-serve')
const opener = require('opener')
const server = serve.createServer({
root: path.join(__dirname, 'build')
})
server.listen(8080, '127.0.0.1', function () {
console.log('Starting up Bee Dashboard on address http://localhost:8080')
console.log('Hit CTRL-C to stop the server')
opener('http://localhost:8080')
})