make sure to analyze web components before building storybook

This commit is contained in:
Jacob Overgaard
2022-09-30 15:03:11 +02:00
parent e13ef9ec45
commit 83a94e9bb0

View File

@@ -28,8 +28,8 @@
"format": "prettier 'src/**/*.ts'",
"format:fix": "npm run format -- --write",
"generate:api": "npx openapi-typescript schemas/**/*.yml --output schemas/generated-schema.ts",
"storybook": "start-storybook -p 6006",
"build-storybook": "wc-analyze && build-storybook",
"storybook": "npm run wc-analyze && start-storybook -p 6006",
"build-storybook": "npm run wc-analyze && build-storybook",
"wc-analyze": "wca **/*.element.ts --outFile custom-elements.json"
},
"engines": {