Introduce yarn test to run Jest and Karma
This commit is contained in:
parent
e13f2ff636
commit
79fd1b7efd
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
||||||
"prettier-all": "node ./scripts/frontend/prettier.js check-all",
|
"prettier-all": "node ./scripts/frontend/prettier.js check-all",
|
||||||
"prettier-all-save": "node ./scripts/frontend/prettier.js save-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",
|
"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": "webpack --config config/webpack.config.js",
|
||||||
"webpack-prod": "NODE_ENV=production webpack --config config/webpack.config.js"
|
"webpack-prod": "NODE_ENV=production webpack --config config/webpack.config.js"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue