[ReactNative][Website] Fix tests

This commit is contained in:
Tadeu Zagallo 2015-08-13 13:31:50 +01:00
parent 5ebe0ed717
commit 4daca092d2
2 changed files with 7 additions and 7 deletions

View File

@ -4,16 +4,16 @@
}, },
"dependencies": { "dependencies": {
"connect": "2.8.3", "connect": "2.8.3",
"esprima-fb": "*", "esprima-fb": "latest",
"fs.extra": "*", "fs.extra": "latest",
"glob": "*", "glob": "latest",
"jstransform": "*", "jstransform": "latest",
"mkdirp": "*", "mkdirp": "latest",
"optimist": "0.6.0", "optimist": "0.6.0",
"react": "~0.12.0", "react": "~0.12.0",
"react-docgen": "^1.1.0", "react-docgen": "^1.1.0",
"react-page-middleware": "git://github.com/facebook/react-page-middleware.git", "react-page-middleware": "git://github.com/facebook/react-page-middleware.git",
"request": "*" "request": "latest"
}, },
"devDependencies": { "devDependencies": {
"bluebird": "^2.9.21" "bluebird": "^2.9.21"

View File

@ -57,7 +57,7 @@ var app = connect()
.use(connect.compress()) .use(connect.compress())
.use(connect.errorHandler()); .use(connect.errorHandler());
var portToUse = port || 8080; var portToUse = port || 8079;
var server = http.createServer(app); var server = http.createServer(app);
server.listen(portToUse, function(){ server.listen(portToUse, function(){
console.log('Open http://localhost:' + portToUse + '/react-native/index.html'); console.log('Open http://localhost:' + portToUse + '/react-native/index.html');