npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

shopify-script-helpers

v0.0.5

Published

Deploy and watch scripts for Shopify

Downloads

2

Readme

Shopify Script Helpers

Scripts for watching and deploying Shopify themes.

This package is meant to provide a development flow for working locally with Shopify using Theme Kit.

Installing

You have to have gulp-cli and theme kit installed.

  1. If you don't have a package.json file you need to create one using npm init.
  2. This package uses a lot of dependencies, you need to run this command:
npx install-peerdeps --dev shopify-script-helpers
  1. Check you package.json to see the gazillion dependencies installed.
  2. Update your package.json to add the two scripts this packages provides:
"scripts": {
    "watch": "shopify-watch",
    "deploy": "shopify-deploy"
},

Using the package

Let's say that your config.yml is like this

production:
  password: 111111212324343sds345asda
  theme_id: "123"
  store: your-store.myshopify.com
  ignore_files:
    - config/settings_data.json
    - locales/es-CL.default.json

dev:
  password: 29834723984sdfjdsfs122
  theme_id: "234"
  store: your-dev-store.myshopify.com
  ignore_files:
    - config/settings_data.json
    - locales/es-CL.default.json

You can run the command like this

npm run deploy production

or

npm run watch dev

Please if you have any errors, report.


Paquete para trabajar localmente con Shopify. Trabaja en conjunto con Gulp-cli y Theme Kit, los cuales deberás instalar

Instalación

Tienes que tener gulp-cli y theme kit instalados.

  1. Si no tienes un archivo package.json lo puedes crear usando npm init.
  2. Este paquete usa muchas dependencias, así que la mejor manera de instalarlo es usando este comando:
npx install-peerdeps --dev shopify-script-helpers
  1. Revisa tu package.json y verás las mil dependencias instaladas.
  2. Actualiza tu package.json Para agregar dos scripts adicionales que provee este paquete:
"scripts": {
    "watch": "shopify-watch",
    "deploy": "shopify-deploy"
},

Usando este paquete

Recuerda que para usar theme kit necesitas un config.yml, supongamos que tiene esta estructura:

production:
  password: 111111212324343sds345asda
  theme_id: "123"
  store: your-store.myshopify.com
  ignore_files:
    - config/settings_data.json
    - locales/es-CL.default.json

dev:
  password: 29834723984sdfjdsfs122
  theme_id: "234"
  store: your-dev-store.myshopify.com
  ignore_files:
    - config/settings_data.json
    - locales/es-CL.default.json

Puedes correr comandos así:

npm run deploy production

or

npm run watch dev

Si ves algún error, por favor, abre un issue.