Merge branch '30998-add-babel-rewire-plugin' into 'master'
Resolve "Add some way to mock and spy on default ES modules" Closes #30998 See merge request gitlab-org/gitlab-ce!18116
Showing
... | @@ -5,9 +5,9 @@ | ... | @@ -5,9 +5,9 @@ |
"eslint": "eslint --max-warnings 0 --ext .js,.vue .", | "eslint": "eslint --max-warnings 0 --ext .js,.vue .", | ||
"eslint-fix": "eslint --max-warnings 0 --ext .js,.vue --fix .", | "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 .", | "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=${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-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": "node ./scripts/frontend/prettier.js", | ||
"prettier-staged-save": "node ./scripts/frontend/prettier.js save", | "prettier-staged-save": "node ./scripts/frontend/prettier.js save", | ||
"prettier-all": "node ./scripts/frontend/prettier.js check-all", | "prettier-all": "node ./scripts/frontend/prettier.js check-all", | ||
... | @@ -99,6 +99,9 @@ | ... | @@ -99,6 +99,9 @@ |
"axios-mock-adapter": "^1.10.0", | "axios-mock-adapter": "^1.10.0", | ||
"babel-eslint": "^8.0.2", | "babel-eslint": "^8.0.2", | ||
"babel-plugin-istanbul": "^4.1.5", | "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", | "commander": "^2.15.1", | ||
"eslint": "^3.18.0", | "eslint": "^3.18.0", | ||
"eslint-config-airbnb-base": "^10.0.1", | "eslint-config-airbnb-base": "^10.0.1", | ||
... | ... |
Please register or sign in to comment