Run tests before build

This commit is contained in:
Daniël van Noord
2021-05-06 20:19:09 +02:00
parent e44e39bc2c
commit cc2a754425

View File

@@ -12,7 +12,7 @@
], ],
"scripts": { "scripts": {
"eslint-src": "eslint src test", "eslint-src": "eslint src test",
"build": "run-s eslint-src pack-prod test", "build": "run-s eslint-src test pack-prod",
"build-test": "run-s pack-dev", "build-test": "run-s pack-dev",
"pack-prod": "webpack --env production", "pack-prod": "webpack --env production",
"pack-dev": "webpack", "pack-dev": "webpack",