MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / Storybook

Method Storybook

tools/mage/js.go:336–346  ·  view source on GitHub ↗

Storybook runs a local server with storybook.

()

Source from the content-addressed store, hash-verified

334
335// Storybook runs a local server with storybook.
336func (js Js) Storybook() error {
337 mg.Deps(js.Deps)
338 if mg.Verbose() {
339 fmt.Println("Serving storybook")
340 }
341 return js.runYarnCommandV(
342 "sb", "dev",
343 "--config-dir", "./config/storybook",
344 "-p", "9001",
345 )
346}
347
348// Vulnerabilities runs yarn audit to check for vulnerable node packages.
349func (js Js) Vulnerabilities() error {

Callers

nothing calls this directly

Calls 2

runYarnCommandVMethod · 0.95
DepsMethod · 0.45

Tested by

no test coverage detected