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

grunt-steal

v2.1.0

Published

Run steal-tools through Grunt

Downloads

608

Readme

grunt-steal

Build Status

Grunt tasks for StealJS.

Install

npm install grunt-steal --save-dev

API

{Object}

grunt-steal is a collection of Grunt tasks for building out projects that use StealJS.

Object

  • build {steal-build}:

    A task for building an application for production. Equivalent to using [steal-tools.build].

  • export {steal-export}:

    A task for exporting a project to another module format, for sharing with others who will use your project outside of StealJS.

  • live-reload {steal-live-reload}:

    A task for starting a [live-reload] server.

steal-build {Object}

The steal-build options object's values.

Object

  • steal {Object}: Specifies the config argument in [steal-tools.build]. The [config.main main] option must be specified. Typically, [config.configPath configPath] is also specified, as that is used to set [config.baseURL baseURL]. Any Steal [config.config configuration] can be specified; however, most other build configuration values are specified by [config.buildConfig], in the config file.

  • buildOptions {Object}: Specifies the options argument to [steal-tools.build stealTools.build].

steal-export {Object}

A Grunt multi task that loads modules, and writes them out in different formats.

Object

  • tasks {Object<String,steal-tools.export.object>}: An object with task names as keys, and exportObjects as values.

    grunt.initConfig({
      "steal-export": {
        taskName1: { ExportObject1 },
        taskName2: { ExportObject2 }
      }
    });

    Each [steal-tools.export.object] specifies:

    • A steal object that specifies the modules to be loaded.
    • An options object that specifies any special loading behavior, like turning logging.
    • An outputs object that specifies how the modules should be written out.
    grunt.initConfig({
      "steal-export": {
        taskName: {
          steal : { .. },
          options: { .. },
          outputs: { .. }
        }
      }
    });

steal-live-reload {Object}

The steal-live-reload options object's values.

Object

  • steal {Object}: Specifies the config argument in [steal-tools.build]. The [config.main main] option must be specified. Typically, [config.configPath configPath] is also specified, as that is used to set [config.baseURL baseURL]. Any Steal [config.config configuration] can be specified; however, most other build configuration values are specified by [config.buildConfig], in the config file.

  • liveReloadOptions {Object}: Specifies the options argument to [steal-tools.cmd.live-reload steal-tools live-reload].

License

MIT