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

event-theme-maker

v0.3.9

Published

Eventmaker theme developers tools belt

Downloads

1,476

Readme

event-theme-maker

The Eventmaker themes developers tool belt !

Usage

In a repository containing Eventmaker themes run:

npm i event-theme-maker --save-dev

Then run:

  • start help
  • release help
  • release_email help
  • release_document help
  • validate help
  • new_theme help
  • new_repository help

All arguments can be set by a json config file or by an environment variable prefixed by ETM_.

How it works ?

When you run start

  • A webpack dev server start to compile assets (in theme/*/assets/{js|css}/main.{js|css})
  • A local server starts to serve assets
  • A local tunnel starts so your assets are accessible to the outside world
  • Your theme layouts are sent over to Eventmaker to include your local assets URL in it
  • A watcher will start so when you edit a liquid file it's automatically synchronized on Eventmaker

When you run release

  • Your assets are built by webpack
  • Your theme is bundled
  • Development environment variables are replaced by production environment variables
  • Your theme is published to the official Eventmaker theme repository
  • Your theme is available to use on your production event on Eventmaker

When you run release_email

  • Your email template is published to the official Eventmaker theme repository
  • Your email template is available to use on your production event on Eventmaker

When you run release_document

  • Your document template is published to the official Eventmaker theme repository
  • Your document template is available to use on your production event on Eventmaker

When you run validate we perform a bunch of validations to help you build themes that runs nicely on Eventmaker

When you run new_theme we create an empty theme based on the one you chose.

Only a member of Eventmaker's team should run new_repository. It's used to create a new repository for customers wishing to develop their own Eventmaker themes 😊.

For email themes development, you can add your theme in the email_themes folder. For document themes development, you can add your theme in the document_themes folder.

Requirements

  • You will need a theme developer account on Eventmaker ! Contact-us 😊.
  • The port 9999 must be free (the webpack dev server will run on this port)
  • tar must be installed (for the release command)
  • The release command can only be used in a git repository (it will run git rev to version assets)
  • This should be used in a repository that follows the structure for Eventmaker themes:
/
  shared/
  themes/
    my-theme-1/
      assets/
        js/
          main.js
        css/
          main.css
      config/
        translations.json
      layouts/
        embed.liquid
        theme.liquid
      sections/
      snippets/
      templates/
      specs.yml
    my-other-themes/
      ...
  email_themes/
    my-theme-1/
      config/
        *.json
      layouts/
        theme.liquid
      sections/
      snippets/
      specs.yml
    my-other-themes/
      ...
      specs.yml
  document_themes/
    my-theme-1/
      config/
        *.json
      layouts/
        theme.liquid
      sections/
      snippets/
      specs.yml
    my-other-theme/
      ...
      specs.yml
  package.json
  • all commands (start, release and validate) must be run from the root of the repository

For developers working on event-theme-maker

To work on this package, clone the repository and run npm install. Then you can use your local version in a repositoy containging Eventmaker themes by modifying in the package.json:

"event-theme-maker": "^x.y.z"

by

"event-theme-maker": "file:/path/to/the/root/of/this/repository"