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

polymer-bootlicker

v0.0.13

Published

> Configurable build tasks for Polymer applications.

Downloads

2

Readme

Polymer BootLicker

Configurable build tasks for Polymer applications.

Build Status Coverage Status

Bootlicker is a collection of gulp tasks which helps organize and build your Polymer applications. It aims to abstract many of the annoyances around tooling and provides a simplier, configurable alternative.

Table of Contents

Usage

When using the Bootlicker registry, it will add default tasks to your gulp instance.

import gulp from 'gulp';
import Bootlicker from 'polymer-bootlicker';

// register bootlicker
gulp.registry(new Bootlicker(config));

Now exposes the default tasks.

gulp --tasks

Configuration

Default path configuration

{
  paths: {
    app: './app',
    bower: './bower_components',
    components: './app/components/**/*',
    dist: './dist',
    fragments: './app/components/elements.html',
    fonts: './app/fonts/**/*',
    images: './app/**/*.{png,jpg,jpeg,gif}',
    local: './dist/local',
    locales: './locales',
    scripts: './app/**/*.js',
    styles: './app/**/*.css',
    tests: './test'
  }
}

You may define a custom configuration which will extend the base configuration.

// custom configuration
let config = {
  paths: {
    dist: './build',
    local: './build/local'
  }
};

gulp.registry(new Bootlicker(config));

Tasks

Build

Build the local version of the application.

gulp build

Copy all build resources and html assets into build directory.

gulp build:copy

Build the distributable version of the application. This includes optimization and minification of assets.

gulp build:dist

Serve

Serve the local version of the application.

gulp serve

Serve the distributable version of the application.

gulp serve:dist

Test

Run wct locally.

gulp test:local

Run wct on saucelabs.

gulp test:sauce

Registry Tasks

Additional tasks are available

Fonts

gulp font:copy

HTML

Copy bower assets to distribution folder.

gulp html:bower:copy

Copy components to distribution folder.

gulp html:components:copy

Polybuild html assets. polybuild

gulp html:polybuild

Copy views to distribution folder.

gulp html:views:copy

Process html view assets. sourcemap useref htmlmin

gulp html:views:process

i18n

Translate asset files. gulp-i18n-localize

gulp i18n:translate

Images

Copy and process images. imagemin.

gulp image:copy

Scripts

Copy and process scripts. eslint sourcemap babel uglify minify

gulp script:copy

Server

Start a server instance.

gulp server:serve

Reload server instance.

gulp server:reload

Styles

Copy and process stylesheets. autoprefix sourcemaps minify

gulp style:copy

Tests

Copy test assets into temporary test folder.

gulp test:copy

Run tests locally. wct

gulp test:local

Run test on remote. wct

gulp test:remote

Tidy

Clean temporary folders.

gulp tidy

Clean distribution folder.

gulp tidy:dist

Clean temporary test folders.

gulp tidy:tests