Skip to content
This repository has been archived by the owner on Feb 15, 2019. It is now read-only.

Commit

Permalink
remove 6to5 for babel
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelly Selden committed Jan 16, 2016
1 parent 9cb340b commit 8a07bc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/to-csv.js
Expand Up @@ -3,7 +3,7 @@ import path from 'path';
import csvStringify from 'csv-stringify';
import eol from 'eol';
import denodeify from 'denodeify';
require('6to5/register');
require('babel-register');

const readdir = denodeify(fs.readdir);
const writeFile = denodeify(fs.writeFile);
Expand Down Expand Up @@ -51,7 +51,7 @@ export default function(localesPath, csvPath) {
for (let columnIndex in locales) {
let locale = locales[columnIndex];
let filePath = path.resolve(localesPath, locale, 'translations.js');
let json = require(filePath);
let json = require(filePath).default;
recurse(json, columnIndex, 0, '');
}

Expand Down
3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -27,7 +27,7 @@
},
"homepage": "https://github.com/kellyselden/ember-i18n-csv#readme",
"dependencies": {
"6to5": "^3.5.3",
"babel-register": "^6.0.0",
"csv-parse": "0.0.6",
"csv-stringify": "0.0.6",
"denodeify": "^1.0.0",
Expand All @@ -39,7 +39,6 @@
"babel-cli": "^6.0.0",
"babel-preset-es2015": "^6.0.0",
"babel-preset-stage-2": "^6.0.0",
"babel-register": "^6.0.0",
"chai": "^3.0.0",
"coveralls": "^2.0.0",
"eslint-mocha": "0.0.5",
Expand Down

0 comments on commit 8a07bc7

Please sign in to comment.