mirror of
https://github.com/milligram/milligram.git
synced 2024-11-13 16:54:22 +00:00
Add build before the visual regression testing
This commit is contained in:
parent
d2d478a0b5
commit
a18bb5029b
@ -57,9 +57,9 @@
|
||||
"serve": "browser-sync start --no-notify -s test --ss dist -f dist",
|
||||
"start": "run-p build watch serve",
|
||||
"test": "npm run build && nyc ava",
|
||||
"visual-regression": "run-s build && run-p serve visual-regression:compare",
|
||||
"visual-regression:compare": "backstop test --config backstop.config.js",
|
||||
"visual-regression:reference": "backstop reference --config backstop.config.js",
|
||||
"visual-regression": "run-p serve visual-regression:compare",
|
||||
"visual-regression:compare": "run-s build && backstop test --config backstop.config.js",
|
||||
"visual-regression:reference": "run-s build && backstop reference --config backstop.config.js",
|
||||
"watch": "onchange src -- run-p build"
|
||||
},
|
||||
"engines": {
|
||||
|
Loading…
Reference in New Issue
Block a user