[ReactNative][Website] Fix tests
This commit is contained in:
parent
5ebe0ed717
commit
4daca092d2
|
@ -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"
|
||||||
|
|
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue