storybook-addon-stencil

v0.1.4
A Stencil compiler integration for Storybook.
storybook storybook-addons stencil web-components

test

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

build

concurrently "yarn buildBabel" "yarn buildTsc"

clean

rimraf ./dist

start

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

release

yarn build && auto shipit

buildTsc

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

eject-ts

zx scripts/eject-typescript.mjs

prebuild

yarn clean

storybook

start-storybook -p 6006

buildBabel

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

prerelease

zx scripts/prepublish-checks.mjs

build:watch

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

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"

build-storybook

build-storybook

Metadata

  • MIT
  • Whatever
  • Zanichelli Editore
  • released 4/20/2022

Downloads