Introduce yarn test to run Jest and Karma

This commit is contained in:
Winnie Hellmann 2019-03-19 11:18:06 +01:00
parent e13f2ff636
commit 79fd1b7efd
1 changed files with 1 additions and 0 deletions

View File

@ -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"
},