Upgrade to Babel v6

pull/1/head
Joe Biellik 9 years ago
parent e55b9c51d9
commit 5271bd812b

@ -1,4 +1,8 @@
require('babel/register');
require('babel-polyfill');
require('babel-core/register')({
presets: ['es2015']
});
var config = require('config');
var app = require('koa')();
var router = require('./router');

@ -24,7 +24,9 @@
"lint": "./node_modules/.bin/eslint ."
},
"dependencies": {
"babel": "^5.8.23",
"babel-core": "^6.1.2",
"babel-polyfill": "^6.0.16",
"babel-preset-es2015": "^6.1.2",
"config": "^1.16.0",
"jade": "^1.11.0",
"koa": "^1.1.0",

Loading…
Cancel
Save