Skip to content

Commit

Permalink
Merge pull request #58 from mindsers/renovate/rollup-plugin-babel-4.x
Browse files Browse the repository at this point in the history
Update dependency rollup-plugin-babel to v4
  • Loading branch information
mindsers committed Apr 14, 2019
2 parents 08d7dc8 + dd1fb2c commit cccf504
Show file tree
Hide file tree
Showing 5 changed files with 717 additions and 610 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"presets": [
"es2015"
"@babel/preset-env"
],
"env": {
"test": {
Expand Down
2 changes: 2 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
> 0.25%
not dead
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"build:prod": "NODE_ENV=production npm run build:clean && npm run build:js && npm run build:types",
"build": "npm run build:prod",
"test:coveralls": "npm run test:coverage && nyc report --reporter=text-lcov | coveralls",
"test:coverage": "NODE_ENV=test nyc mocha",
"test:unit": "mocha -r babel-core/register",
"test:coverage": "NODE_ENV=test nyc --require @babel/register mocha",
"test:unit": "mocha -r @babel/register",
"test:lint": "eslint ./src",
"test:clean": "rm -rf coverage",
"test": "npm run test:clean && npm run test:coveralls"
Expand All @@ -26,9 +26,10 @@
"author": "Nathanael CHERRIER <https://github.com/Mindsers>",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@babel/register": "^7.4.0",
"babel-plugin-istanbul": "5.1.1",
"babel-preset-es2015": "6.24.1",
"babel-register": "6.26.0",
"chai": "4.2.0",
"chai-spies": "1.0.0",
"coveralls": "3.0.3",
Expand All @@ -42,7 +43,7 @@
"mocha-lcov-reporter": "1.3.0",
"nyc": "13.3.0",
"rollup": "1.10.0",
"rollup-plugin-babel": "2.7.1",
"rollup-plugin-babel": "4.3.2",
"rollup-plugin-uglify": "6.0.2",
"rollup-watch": "4.3.1"
},
Expand Down
6 changes: 4 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ export default {
babel({
presets: [
[
'es2015',
'@babel/preset-env',
{
modules: false
targets: {
esmodules: false
}
}
]
],
Expand Down
Loading

0 comments on commit cccf504

Please sign in to comment.