{"repo":"bigcommerce/stencil-cli","free":true,"listed":false,"github":"https://github.com/bigcommerce/stencil-cli","clone":"git clone https://github.com/bigcommerce/stencil-cli.git","description":"BigCommerce Stencil emulator for local theme development","language":"JavaScript","stars":109,"topics":["bigcommerce","cli","nodejs","webpack"],"license":"BSD-4-Clause","category":"cli-tools","readme_excerpt":"Stencil CLI The BigCommerce server emulator for local theme development. Install Note: Stencil requires the Node.js runtime environment, versions 20.x, 22.x are supported. Run npm install -g @bigcommerce/stencil-cli . Visit the installation guide for more details. Usage Run stencil init at the top level of your Stencil Theme. It will ask you a few questions to get your started. Run stencil start to run a local server so you can start developing your theme. Run with -o or --open to automatically open up a browser. - While stencil is running, you can type \"rs\" and then hit enter to auto-reload all browsers. This is similar to Nodemon's rs option. Run stencil bundle to validate your code and create a zip bundle file that can be uploaded to BigCommerce. Run stencil release to tag a new version of your theme, create a GitHub release in your theme repository, and upload the zip bundle file to the release assets. This is useful for tracking your changes in your Theme, and is the tool we use to create new releases in BigCommerce Cornerstone theme. Run stencil push to bundle the local theme and upload it to your store, so it will be available in My Themes. To push the theme and also activate it, use stencil push -a . To automatically delete the oldest theme if you are at your theme limit, use stencil push -d . These can be used together, as stencil push -a -d . You can apply the theme to multiple storefronts, just specify ids of desired storefronts/channels after -c option stencil pus","default_branch":null,"files":null,"tree":[],"storefront":"/r/bigcommerce","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bigcommerce/stencil-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}