Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
6180102f
Commit
6180102f
authored
Apr 19, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
only apply rewire plugin when running karma tests
parent
8fa0aeb8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
.babelrc
.babelrc
+1
-1
package.json
package.json
+2
-2
No files found.
.babelrc
View file @
6180102f
{
{
"presets": [["latest", { "es2015": { "modules": false } }], "stage-2"],
"presets": [["latest", { "es2015": { "modules": false } }], "stage-2"],
"env": {
"env": {
"
development
": {
"
karma
": {
"plugins": ["rewire"]
"plugins": ["rewire"]
},
},
"coverage": {
"coverage": {
...
...
package.json
View file @
6180102f
...
@@ -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=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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment