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

@sitecore/sxa-celt

v10.4.0

Published

Creative Exchange Live for SXA themes

Downloads

651

Readme

Boilerplate for creating new theme for you Sitecore site.

For using Autosynchronizer, you need to complete next steps:

  1. Download theme boilerplate;

  2. Open PathToInstance/Website/App_Config/Include/z.Feature.Overrides (in previous version of Sitecore it can be PathToInstance/Website/App_Config/Include/Feature) folder and remove .disabled from z.SPE.Sync.Enabler.Gulp.config.disabled file;

  3. Switch to downloaded theme boilerplate folder

  4. Update config file for Gulp tasks. ThemeRoot/gulp/config.js file:

    1. serverOptions.server - path to sitecore instance. Example server: 'http://sxa';
  5. If you use Creative exchange skip this step. Open ThemeRoot/gulp/serverConfig.json

    1. serverOptions.projectPath - path to project, where theme placed. Example projectPath: '/themes';
    2. serverOptions.themePath - path to basic theme folder from project root. Example themePath: '/Basic2';
  6. Open Theme root folder with command line.

  7. Run npm install (node.js and npm should be already installed);

  8. If gulp is not yet installed - Install gulp using following command: npm install --global gulp-cli

  9. Run gulp task which you need: Global tasks:

    1. gulp default or just gulp - starts gulp all-watch.
    2. gulp all-watch - run a list of tasks: sass-watch js-watch es-watch css-watch img-watch watch-source-sass html-watch watch-scriban

    For SASS

    1. gulp sass-watch - run a list of tasks: watch-component watch-base watch-styles watch-dependency
    2. gulp sassComponents - to compile sass styles just for components;
    3. gulp sassStyles - to compile sass additional styles for component;
    4. gulp watch-styles - watch changes under sass/styles/common , sass/styles/content-alignment , sass/styles/layout folders and compile all of them to styles/styles.css;
    5. gulp watch-base - watch on changes under sass/abstracts/, sass/base/ , sass/components folders and run compiling of components and styles;
    6. gulp watch-component - watch changes of component styles under sass folder and compile them to styles folder;
    7. gulp watch-dependency - watch changes under sass/styles/ (exluded sass/styles/common , sass/styles/content-alignment , sass/styles/layout) and compile appropriate component;

    For CSS

    1. gulp css-watch - watch on changes of css files under stytles folder and upload them to server;

    For JavaScript:

    1. gulp eslint - run eslint for all js in scripts folder;
    2. gulp js-watch - watch on changes of js files under scripts folder and upload them to server;
    3. gulp es-watch - watch on changes of ES6+ js files under sources folder and upload them to server;

    For HTML (if you work with creative exchange)

    1. gulp html-watch - watch changes of html files and upload them to the server;

    For Gulp files

    1. gulp watch-gulp - watch on changes of js and json files under gulp folder and upload them to server;

    For Images

    1. gulp img-watch - watch on changes under images folder and upload files to server;

    For Sprite

    1. gulp spriteFlag - to create sprite for flags;

    For Scriban files

    1. gulp watch-scriban - watch changes of scriban files and upload them to the server.
  10. When watcher starts you need to enter you login and password for sitecore, for uploading reason.