summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-04-19 16:14:24 -0500
committerMike Greiling <mike@pixelcog.com>2018-04-23 00:54:21 -0500
commit6180102fb0aede36d139c52c84691757ceec85f3 (patch)
tree879235234361ea5903df4938f7176f745d06eac8 /package.json
parent8fa0aeb880ab00174f0d7edf8945bb55066925f8 (diff)
downloadgitlab-ce-6180102fb0aede36d139c52c84691757ceec85f3.tar.gz
only apply rewire plugin when running karma tests
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index 9b5aa29ab53..7808728465f 100644
--- a/package.json
+++ b/package.json
@@ -5,9 +5,9 @@
"eslint": "eslint --max-warnings 0 --ext .js,.vue .",
"eslint-fix": "eslint --max-warnings 0 --ext .js,.vue --fix .",
"eslint-report": "eslint --max-warnings 0 --ext .js,.vue --format html --output-file ./eslint-report.html .",
- "karma": "karma start --single-run true config/karma.config.js",
+ "karma": "BABEL_ENV=karma karma start --single-run true config/karma.config.js",
"karma-coverage": "BABEL_ENV=coverage karma start --single-run true config/karma.config.js",
- "karma-start": "karma start config/karma.config.js",
+ "karma-start": "BABEL_ENV=karma karma start config/karma.config.js",
"prettier-staged": "node ./scripts/frontend/prettier.js",
"prettier-staged-save": "node ./scripts/frontend/prettier.js save",
"prettier-all": "node ./scripts/frontend/prettier.js check-all",