From f54df8df82a19b5614be0636da63aa0f8a9dbb07 Mon Sep 17 00:00:00 2001 From: ghaiklor Date: Fri, 5 Feb 2016 16:01:17 +0200 Subject: [PATCH] fix(shape): Fix issue with exporting default class --- .babelrc | 3 ++- .travis.yml | 2 ++ LICENSE | 2 +- README.md | 2 +- package.json | 1 + 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.babelrc b/.babelrc index e7b1998..f3369fd 100644 --- a/.babelrc +++ b/.babelrc @@ -1,3 +1,4 @@ { - "presets": ["es2015-node4"] + "presets": ["es2015-node4"], + "plugins": ["add-module-exports"] } diff --git a/.travis.yml b/.travis.yml index f79c534..6398124 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,8 @@ node_js: - stable - 5 - 4 +before_install: + - npm install -g npm@latest before_script: - npm prune after_success: diff --git a/LICENSE b/LICENSE index 32b2454..35c76f3 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015 Eugene Obrezkov +Copyright (c) 2015-2016 Eugene Obrezkov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 93168f3..38ef5f1 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ export default class Rectangle extends Shape { The MIT License (MIT) -Copyright (c) 2015 Eugene Obrezkov +Copyright (c) 2015-2016 Eugene Obrezkov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/package.json b/package.json index 37accf6..8a02b8e 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "dependencies": {}, "devDependencies": { "babel-cli": "6.4.5", + "babel-plugin-add-module-exports": "0.1.2", "babel-preset-es2015-node4": "2.0.3", "chai": "3.5.0", "coveralls": "2.11.6",