summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2019-03-20 15:49:12 +0000
committerClement Ho <clemmakesapps@gmail.com>2019-03-20 15:49:12 +0000
commitc238ba7f73e5905b9a216e6bbbfc230392a24958 (patch)
treeef5f79706e88a6e333207671d77ff0f7fe8b2f51 /package.json
parent75e24b8f506444bfdac57fd0d8d691e49fb77dc1 (diff)
parent4fca4b79f5a9fa536bb0148e915dd918b42022f1 (diff)
downloadgitlab-ce-c238ba7f73e5905b9a216e6bbbfc230392a24958.tar.gz
Merge branch 'winh-yarn-test-command' into 'master'
Introduce yarn test to run Jest and Karma See merge request gitlab-org/gitlab-ce!26320
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index fa980fa173e..d830d83b963 100644
--- a/package.json
+++ b/package.json
@@ -17,6 +17,7 @@
"prettier-all": "node ./scripts/frontend/prettier.js check-all",
"prettier-all-save": "node ./scripts/frontend/prettier.js save-all",
"stylelint": "node node_modules/stylelint/bin/stylelint.js app/assets/stylesheets/**/*.* --custom-formatter node_modules/stylelint-error-string-formatter",
+ "test": "yarn jest && yarn karma",
"webpack": "webpack --config config/webpack.config.js",
"webpack-prod": "NODE_ENV=production webpack --config config/webpack.config.js"
},