@storybook/addon-coverage

v0.0.1-canary.1.25fcbc8.0
Tools to support code coverage in Storybook
storybook-addons coverage test testing test-runner storybook-addons

clean

rimraf ./dist

buildBabel

concurrently "yarn buildBabel:cjs" "yarn buildBabel:esm"

buildBabel:cjs

babel ./src -d ./dist/cjs --extensions ".js,.jsx,.ts,.tsx"

buildBabel:esm

babel ./src -d ./dist/esm --env-name esm --extensions ".js,.jsx,.ts,.tsx"

buildTsc

tsc --declaration --emitDeclarationOnly --outDir ./dist/ts

prebuild

yarn clean

build

concurrently "yarn buildBabel" "yarn buildTsc"

build:watch

concurrently "yarn buildBabel:cjs -- --watch" "yarn buildTsc -- --watch"

test

echo "Error: no test specified" && exit 1

storybook

start-storybook -p 6006

start

concurrently "yarn build:watch" "yarn storybook -- --no-manager-cache --quiet"

build-storybook

build-storybook

release

yarn build && auto shipit
npm i @storybook/[email protected]

Metadata

  • MIT
  • Whatever
  • Yann Braga
  • released 6/15/2022

Downloads