@coffee-shope/cs-scripts

A set of scripts for scaffolding and building coffee-shope components

Usage no npm install needed!

<script type="module">
  import coffeeShopeCsScripts from 'https://cdn.skypack.dev/@coffee-shope/cs-scripts';
</script>

README

:coffee::house::scroll:

Scripts for scaffolding components and utils for coffee-shope

  • create a component: shope create component <component-name>

  • create a util: shope create util <util-name>

  • add a --no-typescript flag to either for es6 javascript


.shoperc.json

you can configure shope by placing a .shoperc.json wherever you're calling it from

  • storybook: defaults to true
  • typescript: defaults to true
  • organisation_name: defaults to empty string
  • packages_dir: defaults to .

command line flags

these will overwrite your .shoperc.json config

  • --no-typescript
  • --no-storybook
  • organisation-name
  • packages-dir