Skip to content

Commit

Permalink
fix: create empty vidos-config.json file when postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
wazolab committed Jan 16, 2024
1 parent efbc65a commit 152fcb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"test:histoire:report": "yarn build:histoire && npx --yes -- reg-cli __screenshots__/current __screenshots__/actual __screenshots__/diff -R __screenshots__/diff/index.html -J __screenshots__/diff/index.json --thresholdPixel 5 --matchingThreshold 0.3 --extendedErrors || exit 0",
"test:histoire:check-report": "cat __screenshots__/diff/index.json | jq --exit-status '.failedItems + .newItems + .deletedItems | length == 0'",
"test:histoire": "yarn test:histoire:report && yarn test:histoire:check-report",
"postinstall": "nuxt prepare"
"postinstall": "echo '{}' > vidos-config.json && nuxt prepare"
},
"dependencies": {
"@fortawesome/vue-fontawesome": "^3.0.3",
Expand Down

0 comments on commit 152fcb3

Please sign in to comment.