Permalink
Browse files

add package.json and rename static dirs

  • Loading branch information...
1 parent f0b3fd2 commit bfc6a79396bd93f98c3ad250fc16ae9da287f43a @anthonyettinger anthonyettinger committed Sep 26, 2012
Showing with 17 additions and 3 deletions.
  1. +2 −0 .gitignore
  2. +3 −3 index.htm
  3. +12 −0 package.json
  4. 0 {a/c → static}/base.css
  5. 0 {a/j → static}/main.js
View
2 .gitignore
@@ -0,0 +1,2 @@
+node_modules
+config.js
View
6 index.htm
@@ -3,8 +3,8 @@
<head>
<title>NodeJS Stream using Server Sent Event Stream</title>
<meta charset="utf-8" />
- <link rel="shortcut icon" href="/a/i/favicon.png" type="image/png" />
- <link href="/a/c/base.css" rel="stylesheet" type="text/css" media="screen" />
+ <link rel="shortcut icon" href="/static/favicon.png" type="image/png" />
+ <link href="/static/base.css" rel="stylesheet" type="text/css" media="screen" />
<style>
</style>
</head>
@@ -24,7 +24,7 @@
<small>Copyright &copy; 2011 AP Web Design</small>
</footer>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
- <script src="/a/j/main.js"></script>
+ <script src="/static/main.js"></script>
</body>
</html>
View
12 package.json
@@ -0,0 +1,12 @@
+{
+ "name": "nodejs-stream",
+ "description": "Example event stream using node.js",
+ "version": "0.0.1",
+ "private": true,
+ "scripts": {
+ "start": "node app"
+ },
+ "dependencies": {
+ "json-line-protocol": "*"
+ }
+}
View
0 a/c/base.css → static/base.css
File renamed without changes.
View
0 a/j/main.js → static/main.js
File renamed without changes.

0 comments on commit bfc6a79

Please sign in to comment.