Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"plugins": [ ["transform-decorators"],
["transform-object-rest-spread", {"useBuiltIns": true}]

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: indentation

],
"presets": [
"babel-preset-env"
]
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/node_modules
/public/js/bundle.js
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@ Head on over to the [game](https://robhitt.github.io/evolution/).

[Rob Hitt](http://www.dontfeartherepo.com) &
[Andrew Nease](http://www.aplacetoputcode.com)

`npm start` to build the front end and run the localhost server
4 changes: 0 additions & 4 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,3 @@ app.use(express.static(path.join(__dirname, 'public'))); // this middleware serv
var server = app.listen(port, function () {
console.log('Listening on port %d', server.address().port);
});

// app.get('/', function (req, res) {
// res.render('index.html');
// });
7 changes: 3 additions & 4 deletions config/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
var config = {};
module.exports = {

// set port
config.port = 8000;
port: 8000

module.exports = config;
};
Loading