Permalink
Browse files

moved to node. easier

  • Loading branch information...
1 parent 9c11057 commit 1c42dde53e9987b8b63ef8ad3989c77efb8a07d0 @remy committed Jan 17, 2014
Showing with 27 additions and 12 deletions.
  1. +0 −12 composer.json
  2. 0 composer.lock
  3. +5 −0 index.js
  4. 0 index.php
  5. +22 −0 package.json
View
12 composer.json
@@ -1,12 +0,0 @@
-{
- "require": {
- "php": ">=5.4.0",
- "silex/silex": "~1.0@dev"
- },
- "extra": {
- "heroku": {
- "document-root": "/",
- "index-document": "index.html"
- }
- }
-}
View
0 composer.lock
No changes.
View
5 index.js
@@ -0,0 +1,5 @@
+var connect = require('connect');
+
+var app = connect().use(connect.static('./'));
+
+require('http').createServer(app).listen(process.env.PORT || 3000);
View
0 index.php
No changes.
View
22 package.json
@@ -0,0 +1,22 @@
+{
+ "name": "responsivepx",
+ "version": "1.0.0",
+ "description": "find exact breakpoint widths in pixels",
+ "main": "index.js",
+ "scripts": {
+ "test": "echo \"Error: no test specified\" && exit 1"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/remy/responsivepx.git"
+ },
+ "author": "Remy Sharp",
+ "license": "MIT",
+ "bugs": {
+ "url": "https://github.com/remy/responsivepx/issues"
+ },
+ "homepage": "https://github.com/remy/responsivepx",
+ "dependencies": {
+ "connect": "~2.12.0"
+ }
+}

0 comments on commit 1c42dde

Please sign in to comment.