Skip to content

Commit d14ce8f

Browse files
author
Nick Balestra
committed
registry init
1 parent 07ced1d commit d14ce8f

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
.vscode
3+
.DS_Store

registry/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const http = require('http')
2+
const bunny = require('sign-bunny')
3+
http.createServer((req, res) => {
4+
console.log(process.env)
5+
res.setHeader('Content-Type', 'text/plain; charset=utf-8')
6+
res.end(bunny('Foo'))
7+
}).listen(process.env.PORT || 3000)

registry/package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "opencomponents-site-registry",
3+
"version": "1.0.0",
4+
"description": "",
5+
"scripts": {
6+
"start": "node index"
7+
},
8+
"author": {
9+
"name": "Nick Balestra",
10+
"email": "[email protected]"
11+
},
12+
"license": "MIT",
13+
"dependencies": {
14+
"sign-bunny": "^1.0.0"
15+
}
16+
}

0 commit comments

Comments
 (0)