BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
6180102f
Unverified
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
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