Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-03-29 00:42:17 +0300
committerMike Greiling <mike@pixelcog.com>2018-04-23 08:54:19 +0300
commitbc30eb379fac9aadcd1b017af231776587c38356 (patch)
treed0b6f476f41ebf3a9f5965944a64428ff520654f
parentc212908aad9b32352653dfe9ca966f148c8dfc1a (diff)
add babel-plugin-rewire to karma build
-rw-r--r--.babelrc3
-rw-r--r--package.json3
-rw-r--r--yarn.lock4
3 files changed, 9 insertions, 1 deletions
diff --git a/.babelrc b/.babelrc
index 8cf07b73420..108e8676698 100644
--- a/.babelrc
+++ b/.babelrc
@@ -14,7 +14,8 @@
{
"process.env.BABEL_ENV": "coverage"
}
- ]
+ ],
+ "rewire"
]
}
}
diff --git a/package.json b/package.json
index 45bea12fd9b..9b5aa29ab53 100644
--- a/package.json
+++ b/package.json
@@ -98,6 +98,9 @@
"axios-mock-adapter": "^1.10.0",
"babel-eslint": "^8.0.2",
"babel-plugin-istanbul": "^4.1.5",
+ "babel-plugin-rewire": "^1.1.0",
+ "babel-template": "^6.26.0",
+ "babel-types": "^6.26.0",
"commander": "^2.15.1",
"eslint": "^3.18.0",
"eslint-config-airbnb-base": "^10.0.1",
diff --git a/yarn.lock b/yarn.lock
index f05278cfde5..8862ef4d582 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -670,6 +670,10 @@ babel-plugin-istanbul@^4.1.5:
istanbul-lib-instrument "^1.7.5"
test-exclude "^4.1.1"
+babel-plugin-rewire@^1.1.0:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/babel-plugin-rewire/-/babel-plugin-rewire-1.1.0.tgz#a6b966d9d8c06c03d95dcda2eec4e2521519549b"
+
babel-plugin-syntax-async-functions@^6.8.0:
version "6.13.0"
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95"