diff --git a/.editorconfig b/.editorconfig index 8f9d77e..98a761d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,6 +10,3 @@ insert_final_newline = true [{package.json,*.yml}] indent_style = space indent_size = 2 - -[*.md] -trim_trailing_whitespace = false diff --git a/.travis.yml b/.travis.yml index 54fe09c..a78e23d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ sudo: false language: node_js node_js: + - '5' - '4' - '0.12' - '0.10' diff --git a/Gruntfile.js b/gruntfile.js similarity index 88% rename from Gruntfile.js rename to gruntfile.js index 3e67500..a754150 100644 --- a/Gruntfile.js +++ b/gruntfile.js @@ -8,7 +8,7 @@ module.exports = function (grunt) { presets: ['es2015'] }, files: { - 'test/tmp/fixture-compiled.js': 'test/fixture.js' + 'test/tmp/fixture-compiled.js': 'test/fixtures/fixture.js' } } }, diff --git a/package.json b/package.json index 11084c8..cda957d 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "compiler" ], "dependencies": { - "babel-core": "^6.0.12" + "babel-core": "^6.7.4" }, "devDependencies": { "babel-preset-es2015": "^6.0.11", @@ -44,9 +44,7 @@ "grunt-contrib-nodeunit": "^1.0.0", "xo": "*" }, - "xo": { - "ignores": [ - "test/fixture.js" - ] + "peerDependencies": { + "grunt": ">=0.4.0" } } diff --git a/readme.md b/readme.md index 6d2abb4..945f53c 100644 --- a/readme.md +++ b/readme.md @@ -2,7 +2,7 @@ > Use next generation JavaScript, today, with [Babel](https://babeljs.io) -*Issues with the output should be reported on the Babel [issue tracker](https://github.com/babel/babel/issues).* +*Issues with the output should be reported on the Babel [issue tracker](https://phabricator.babeljs.io).* ## Install @@ -42,4 +42,4 @@ See the Babel [options](https://babeljs.io/docs/usage/options), except for `file ## License -MIT © [Sindre Sorhus](http://sindresorhus.com) +MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/test/fixture.js b/test/fixtures/fixture.js similarity index 100% rename from test/fixture.js rename to test/fixtures/fixture.js diff --git a/test/test.js b/test/test.js index 22965e6..e8215b6 100755 --- a/test/test.js +++ b/test/test.js @@ -9,7 +9,7 @@ exports.babel = { var map = fs.readFileSync('test/tmp/fixture-compiled.js.map', 'utf8'); var json = JSON.parse(map); - test.deepEqual(json.sources, ['../fixture.js']); + test.deepEqual(json.sources, ['../fixtures/fixture.js']); test.deepEqual(json.file, 'fixture-compiled.js'); test.ok(/\/\/# sourceMappingURL=fixture-compiled.js.map\n$/.test(code)); test.done();